deviceAuthAlgorithms

@Transient
val deviceAuthAlgorithms: Set<CoseAlgorithm>?(source)

OID4VP: OPTIONAL. A non-empty array containing cryptographic algorithm identifiers. The Credential MUST be considered to fulfill the requirement(s) expressed in this parameter if one of the following is true:

  1. The value in the array matches the alg value in the DeviceSignature or DeviceMac COSE header.

  2. The value in the array is a fully-specified algorithm according to I-D.ietf-jose-fully-specified-algorithms and the combination of the alg value in the DeviceSignature COSE header and the curve used by the signing key of the COSE structure matches the combination of the algorithm and curve identified by the fully-specified algorithm.

  3. The alg of the DeviceMac COSE header is HMAC 256/256 (as described in Section 9.1.3.5 of ISO.18013-5) and the curve of the device key (from Table 22 of ISO.18013-5) matches a value in the array using the identifiers defined in table 2 .