rustls::crypto

Module hpke

Source
Expand description

Hybrid public key encryption (RFC 9180).

Structs§

  • An encapsulated secret returned from setting up a sender or receiver context.
  • An HPKE key pair, made of a matching public and private key.
  • An HPKE private key.
  • An HPKE public key.
  • An HPKE suite, specifying a key encapsulation mechanism and a symmetric cipher suite.

Traits§

  • An HPKE instance that can be used for base-mode single-shot encryption and decryption.
  • An HPKE opener context.
  • An HPKE sealer context.