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
Eredita: Resource < RefCounted < Object
Un certificato X509 (ad esempio per TLS).
Descrizione
La classe X509Certificate rappresenta un certificato X509. È possibile caricare e salvare i certificati come qualsiasi altra Resource.
Possono essere utilizzati come certificato per i server in StreamPeerTLS.accept_stream() (insieme al CryptoKey adeguato), e per specificare l'unico certificato che dovrebbe essere accettato quando ci si collega a un server TLS tramite StreamPeerTLS.connect_to_stream().
Tutorial
Metodi
load_from_string(string: String) |
|
Descrizioni dei metodi
Carica un certificato dal percorso path (file "*.crt").
Error load_from_string(string: String) 🔗
Carica un certificato dalla stringa string.
Salva un certificato al percorso path (dovrebbe essere un file "*.crt").
Restituisce un stringa che rappresenta il certificato, o una stringa vuota se il certificato è invalido.