Creates a new instance of a key chain.
where the key are.
Gets an object that can encrypt/decrypt protected data using the Cryptographic Message Syntax (CMS).
CMS describes an encapsulation syntax for data protection. It is used to digitally sign, digest, authenticate, or encrypt arbitrary message content.
Gets an object that can encrypt/decrypt protected data. The default options for a keychain.
Gets the private key as PEM encoded PKCS #8 string.
Create a new key.
The local key name; cannot already exist.
One of the key types; 'rsa'.
Export an existing key as a PEM encrypted PKCS #8 string
The local key name; must already exist.
The password
Find a key by it's id.
The universally unique key identifier.
Find a key by it's name.
The local key name.
Import a new key from a PEM encoded PKCS #8 string
The local key name; must not already exist.
The PEM encoded PKCS #8 string
The password.
List all the keys.
Remove an existing key.
The local key name; must already exist.
Rename a key
The old local key name; must already exist.
The new local key name; must not already exist.
Generates the options for a keychain. A random salt is produced.
Manages the lifecycle of a key. Keys are encrypted at rest using PKCS #8.
A key in the store has two entries