PublicKeyKey

The public key in a KeyPair, used to perform public-key cryptography.

Class Methods

Instance Methods

There are no instance methods defined directly on PublicKey.

Inherited From Key

Class Properties

There are no class properties.

Instance Properties

There are no instance properties.

Description

PublicKey encapsulates the public key in a KeyPair, used to perform public-key cryptography.

You cannot create a PublicKey directly. Use EncryptionKeyPair or SignatureKeyPair instead.

Warning Encryption and signing keys are not interchangeable.