SupportedAlgorithmsContainer

@Serializable
data class SupportedAlgorithmsContainer(val supportedAlgorithms: Set<JsonWebAlgorithm>, val supportedEncryptionAlgorithms: Set<JweAlgorithm>? = null, val encryptionRequired: Boolean? = null)(source)

Constructors

Link copied to clipboard
constructor(supportedAlgorithms: Set<JsonWebAlgorithm>, supportedEncryptionAlgorithms: Set<JweAlgorithm>? = null, encryptionRequired: Boolean? = null)

Properties

Link copied to clipboard
@SerialName(value = "encryption_required")
val encryptionRequired: Boolean? = null

OID4VCI: REQUIRED. Boolean value specifying whether the Credential Issuer requires the additional encryption on top of TLS for the Credential Response. If the value is true, the Credential Issuer requires encryption for every Credential Response and therefore the Wallet MUST provide encryption keys in the Credential Request. If the value is false, the Wallet MAY choose whether it provides encryption keys or not.

Link copied to clipboard
@SerialName(value = "alg_values_supported")
val supportedAlgorithms: Set<JsonWebAlgorithm>

OID4VP: An object where the value is an array of case sensitive strings that identify the cryptographic suites that are supported. Parties will need to agree upon the meanings of the values used, which may be context-specific, e.g. EdDSA and ES256.

Link copied to clipboard
@SerialName(value = "enc_values_supported")
val supportedEncryptionAlgorithms: Set<JweAlgorithm>? = null

OID4VCI: REQUIRED. Array containing a list of the JWE (RFC7516) encryption algorithms (enc values) (RFC7518) supported by the Credential and Batch Credential Endpoint to encode the Credential or Batch Credential Response in a JWT (RFC7519).