CredentialResponseParameters

@Serializable
data class CredentialResponseParameters(val credentials: Set<CredentialResponseSingleCredential>? = null, val acceptanceToken: String? = null, val clientNonce: String? = null, val clientNonceExpiresIn: Duration? = null)(source)

Constructors

Link copied to clipboard
constructor(credentials: Set<CredentialResponseSingleCredential>? = null, acceptanceToken: String? = null, clientNonce: String? = null, clientNonceExpiresIn: Duration? = null)

Properties

Link copied to clipboard
@SerialName(value = "acceptance_token")
val acceptanceToken: String? = null

OID4CI: OPTIONAL. A JSON string containing a security token subsequently used to obtain a Credential. MUST be present when credential is not returned.

Link copied to clipboard
@SerialName(value = "c_nonce")
val clientNonce: String? = null

OID4VCI: OPTIONAL. JSON string containing a nonce to be used to create a proof of possession of key material when requesting a Credential. When received, the Wallet MUST use this nonce value for its subsequent credential requests until the Credential Issuer provides a fresh nonce.

Link copied to clipboard
@SerialName(value = "c_nonce_expires_in")
val clientNonceExpiresIn: Duration? = null

OID4VCI: OPTIONAL. JSON integer denoting the lifetime in seconds of the c_nonce.

Link copied to clipboard
@SerialName(value = "credentials")
val credentials: Set<CredentialResponseSingleCredential>? = null

OID4VCI: Contains an array of one or more issued Credentials. It MUST NOT be used if the transaction_id parameter is present. The elements of the array MUST be objects.

Functions

Link copied to clipboard