Encapsulates a key for use with asymmetric encryption.

Class Methods

Instance Methods

There are no instance methods defined directly on SharedKey.

Inherited From Key

Class Properties

There are no class properties.

Instance Properties

There are no instance properties.


SharedKey encapsulates a key for use with asymmetric encryption. A shared key is derived algorithmically from one PublicKey (suitable for encryption) and one PrivateKey (suitable for encryption). That allows two entities to, independently, generate the same shared secret key and conduct authenticated encryption/decryption.

Warning A shared key is a secret, like a private key or password.