HpkeKdf enum

RFC 9180 KDF identifier. nh is the hash output length.

Inheritance
Available extensions

Values

hkdfSha256 → const HpkeKdf

HKDF-SHA256, 0x0001.

const HpkeKdf(0x0001, 32)
hkdfSha384 → const HpkeKdf

HKDF-SHA384, 0x0002.

const HpkeKdf(0x0002, 48)
hkdfSha512 → const HpkeKdf

HKDF-SHA512, 0x0003.

const HpkeKdf(0x0003, 64)

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → int
The two-byte KDF id.
final
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
nh → int
Hash length in bytes (Nh).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromId(int id) → HpkeKdf
Looks up a KDF by its wire id.

Constants

values → const List<HpkeKdf>
A constant List of the values in this enum, in order of their declaration.