CredentialResponseParameters

@Serializable
data class CredentialResponseParameters(val credentials: Set<CredentialResponseSingleCredential>? = null, val transactionId: String? = null, val interval: Duration? = null, val notificationId: String? = null)(source)

Constructors

Link copied to clipboard
constructor(credentials: Set<CredentialResponseSingleCredential>? = null, transactionId: String? = null, interval: Duration? = null, notificationId: String? = null)

Properties

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 transactionId parameter is present. The elements of the array MUST be objects.

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

OID4VCI: REQUIRED if transactionId is present. Contains a positive number that represents the minimum amount of time in seconds that the Wallet SHOULD wait after receiving the response before sending a new request to the Deferred Credential Endpoint. It MUST NOT be used if the credentials parameter is present.

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

OID4VCI: OPTIONAL. String identifying one or more Credentials issued in one Credential Response. It MUST be included in the Notification Request as defined in Section 10.1. It MUST not be used if the credentials parameter is not present.

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

OID4VCI: OPTIONAL. String identifying a Deferred Issuance transaction. This parameter is contained in the response if the Credential Issuer cannot immediately issue the Credential. The value is subsequently used to obtain the respective Credential with the Deferred Credential Endpoint (see Section 9). It MUST not be used if the credentials parameter is present. It MUST be invalidated after the Credential for which it was meant has been obtained by the Wallet.

Functions

Link copied to clipboard