EdhocMethod

The EDHOC authentication methods, RFC 9528 §3.2 Table 2. The name reads Initiator, then Responder.

Methods 1–3 need a Diffie-Hellman key exchange; they cannot run on a KEM cipher suite (draft-ietf-lake-pqsuites §6.3, "Requires DH/NIKE").

Entries

Link copied to clipboard

Method 0: both parties sign.

Link copied to clipboard

Method 1: the Initiator signs, the Responder uses a static DH key.

Link copied to clipboard

Method 2: the Initiator uses a static DH key, the Responder signs.

Link copied to clipboard

Method 3: both parties use static DH keys.

Types

Link copied to clipboard
object Companion

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

How the Initiator authenticates (Signature_or_MAC_3).

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int
Link copied to clipboard

Whether either party authenticates with static Diffie-Hellman.

Link copied to clipboard

How the Responder authenticates (Signature_or_MAC_2).

Link copied to clipboard
val value: Int

METHOD in message_1.

Functions

Link copied to clipboard

The authentication kind of role.

Link copied to clipboard

Whether this method can run on suite: static-DH methods need a Diffie-Hellman key exchange.

Link copied to clipboard

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.