Struct CryptoKey
A cryptographic key (RSA).
struct CryptoKey
;
The CryptoKey class represents a cryptographic key. Keys can be loaded and saved like any other Resource
.
They can be used to generate a self-signed X509Certificate
via Crypto
and as private key in StreamPeerSSL
along with the appropriate certificate.
Note: Not available in HTML5 exports.
Methods
Name | Description |
---|---|
load
|
Loads a key from path ("*.key" file).
|
save
|
Saves a key to the given path (should be a "*.key" file).
|