ProximityDeviceAuth

How an in-person response authenticates the mdoc (ISO/IEC 18013-5 §9.1.3).

Entries

Link copied to clipboard
@SerialName(value = "signature")
SIGNATURE

The holder key signs the session transcript (deviceSignature). The default.

Link copied to clipboard
@SerialName(value = "mac_preferred")
MAC_PREFERRED

The holder key agrees a key with the reader's ephemeral key and the response carries a MAC (deviceMac). The reader can check it but can't prove to anyone else that this device took part; the issuer-signed elements stay provable. A holder key that can't agree keys signs instead.

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

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.