Kem

enum Kem : Enum<Hpke.Kem>

Key encapsulation mechanisms to use for HPKE.

Reference: RFC 9180 Table 2.

Entries

Link copied to clipboard

Key encapsulation mechanism using P-256 EC key agreement and SHA-2 hashing with a 256-bit digest.

Link copied to clipboard

Key encapsulation mechanism using P-384 EC key agreement and SHA-2 hashing with a 384-bit digest.

Link copied to clipboard

Key encapsulation mechanism using P-521 EC key agreement and SHA-2 hashing with a 512-bit digest.

Link copied to clipboard

Key encapsulation mechanism using X25519 EC key agreement and SHA-2 hashing with a 256-bit digest.

Link copied to clipboard

Key encapsulation mechanism using X448 EC key agreement and SHA-2 hashing with a 512-bit digest.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): Hpke.Kem

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.