SupportedAlgorithmsContainer

@Serializable
data class SupportedAlgorithmsContainer(val supportedAlgorithmsStrings: Set<String>? = null, val supportedEncryptionAlgorithmsStrings: Set<String>? = null, val encryptionRequired: Boolean? = null, val jsonWebKeySet: JsonWebKeySet? = null)(source)

Constructors

Link copied to clipboard
constructor(supportedAlgorithmsStrings: Set<String>? = null, supportedEncryptionAlgorithmsStrings: Set<String>? = null, encryptionRequired: Boolean? = null, jsonWebKeySet: JsonWebKeySet? = 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 = "jwks")
val jsonWebKeySet: JsonWebKeySet? = null

OID4VCI: REQUIRED for IssuerMetadata.credentialRequestEncryption. A JSON Web Key Set, as defined in RFC7591, that contains one or more public keys, to be used by the Wallet as an input to a key agreement for encryption of the Credential Request. Each JWK in the set MUST have a kid (Key ID) parameter that uniquely identifies the key.

Link copied to clipboard
@Transient
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 = "alg_values_supported")
val supportedAlgorithmsStrings: Set<String>? = null

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
@Transient
val supportedEncryptionAlgorithms: Set<JweEncryption>?

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).

Link copied to clipboard
@SerialName(value = "enc_values_supported")
val supportedEncryptionAlgorithmsStrings: Set<String>? = 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).