PrivateKeyKey
The private key in a KeyPair
, used to perform public-key cryptography.
Class Methods
Instance Methods
There are no instance methods defined directly on
PrivateKey
.
Inherited From
Key
Class Properties
There are no class properties.
Instance Properties
There are no instance properties.
Description
The private key in a KeyPair
, used to perform public-key cryptography.
You cannot create a PrivateKey
directly. Use EncryptionKeyPair
or SignatureKeyPair
instead.
Warning Encryption and signing keys are not interchangeable.
Warning A private key is a secret, like a password.