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
Hérite de : Resource < RefCounted < Object
Un certificat X509 (par ex. pour TLS).
Description
La classe X509Certificate représente un certificat X509. Les certificats peuvent être chargés et sauvegardés comme tout autre Resource.
Ils peuvent être utilisés comme certificat de serveur dans StreamPeerTLS.accept_stream() (avec la clé CryptoKey correcte), et pour spécifier le seul certificat qui devrait être accepté lors de la connexion à un serveur TLS via StreamPeerTLS.connect_to_stream().
Tutoriels
Méthodes
load_from_string(string: String) |
|
Descriptions des méthodes
Charge un certificat depuis path (fichier "*.crt").
Error load_from_string(string: String) 🔗
Charge un certificat depuis la chaîne string donnée.
Sauvegarde un certificat au chemin path donné (devrait être un fichier "*.crt").
Renvoie une représentation en chaîne du certificat, ou une chaîne vide si le certificat est invalide.