Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.23 KB

File metadata and controls

37 lines (23 loc) · 1.23 KB

Interface: KeyPair

Represents a cryptographic key pair consisting of a public key and private key.

These keys are used throughout HPKE for key encapsulation mechanisms (KEM). Key pairs are randomly generated using CipherSuite.GenerateKeyPair or deterministically derived from a seed using CipherSuite.DeriveKeyPair.

Key Usage:

Contents

Properties

privateKey

readonly privateKey: Readonly<Key>

The private key, used for decryption operations.


publicKey

readonly publicKey: Readonly<Key>

The public key, used for encryption operations.