Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
X509Certificate
Hereda: Resource < RefCounted < Object
Un certificado X509 (por ejemplo, para TLS).
Descripción
La clase X509Certificate representa un certificado X509. Los certificados se pueden cargar y guardar como cualquier otro Resource.
Se pueden usar como certificado de servidor en StreamPeerTLS.accept_stream() (junto con la CryptoKey correspondiente) y para especificar el único certificado que se aceptará al conectarse a un servidor TLS mediante StreamPeerTLS.connect_to_stream().
Tutoriales
Métodos
load_from_string(string: String) |
|
Descripciones de Métodos
Carga un certificado desde path (archivo "*.crt").
Error load_from_string(string: String) 🔗
Carga un certificado de la string dada.
Guarda un certificado en la path indicada (debe ser un archivo "*.crt").
Devuelve una representación de string del certificado o una string vacía si el certificado no es válido.