Struct X509Certificate
An X509 certificate (e.g. for SSL).
struct X509Certificate
;
The X509Certificate class represents an X509 certificate. Certificates can be loaded and saved like any other Resource
.
They can be used as the server certificate in StreamPeerSSL
(along with the proper CryptoKey
), and to specify the only certificate that should be accepted when connecting to an SSL server via StreamPeerSSL
.
Note: Not available in HTML5 exports.
Methods
Name | Description |
---|---|
load
|
Loads a certificate from path ("*.crt" file).
|
save
|
Saves a certificate to the given path (should be a "*.crt" file).
|