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.generateSelfSignedCertificate and as private key in StreamPeerSSL.acceptStream along with the appropriate certificate. Note: Not available in HTML5 exports.

Methods

NameDescription
load Loads a key from path ("*.key" file).
save Saves a key to the given path (should be a "*.key" file).