QCertCreationAcceptance

@Serializable
@SerialName(value = "qcert_creation_acceptance")
data class QCertCreationAcceptance(    val qcTermsConditionsUri: String,     val qcHash: ByteArray,     val qcHashAlgorithmOid: ObjectIdentifier,     val credentialIds: Set<String>? = null,     val transactionDataHashAlgorithms: Set<String>? = null) : TransactionData(source)

D3.1: UC Specification WP3: Transaction data entry used to gather the user’s consent to the terms of service of the Verifier (e.g. the QTSP)

Constructors

Link copied to clipboard
constructor(qcTermsConditionsUri: String, qcHash: ByteArray, qcHashAlgorithmOid: ObjectIdentifier, credentialIds: Set<String>? = null, transactionDataHashAlgorithms: Set<String>? = null)

Properties

Link copied to clipboard
@SerialName(value = "credential_ids")
open override val credentialIds: Set<String>? = null

OID4VP: REQUIRED. Array of strings each referencing a Credential requested by the Verifier that can be used to authorize this transaction. In Presentation Exchange, the string matches the id field in the Input Descriptor. In the Digital Credentials Query Language, the string matches the id field in the Credential Query. If there is more than one element in the array, the Wallet MUST use only one of the referenced Credentials for transaction authorization.

Link copied to clipboard
@SerialName(value = "QC_hash")
@Serializable(with = ByteArrayBase64Serializer::class)
val qcHash: ByteArray

D3.1: UC Specification WP3: REQUIRED. String containing the base64-encoded octet-representation of applying the algorithm from qcHashAlgorithmOid to the octet- representation of the document referenced by qcTermsConditionsUri

Link copied to clipboard
@SerialName(value = "QC_hashAlgorithmOID")
@Serializable(with = ObjectIdSerializer::class)
val qcHashAlgorithmOid: ObjectIdentifier

D3.1: UC Specification WP3: REQUIRED. String containing the OID of the hash algorithm used to generate the hash listed in qcHash

Link copied to clipboard
@SerialName(value = "QC_terms_conditions_uri")
val qcTermsConditionsUri: String

D3.1: UC Specification WP3: REQUIRED. URL that points to a human-readable terms of service document for the end user that describes a contractual relationship between the end-user and the Qualified Trust Service Provider The value of this field MUST point to a document which is accessible and displayable by the Wallet.

Link copied to clipboard
@SerialName(value = "transaction_data_hashes_alg")
open override val transactionDataHashAlgorithms: Set<String>? = null

OID4VP: OPTIONAL. Array of strings each representing a hash algorithm identifier, one of which MUST be used to calculate hashes in transaction_data_hashes response parameter. The value of the identifier MUST be a hash algorithm value from the "Hash Name String" column in the IANA "Named Information Hash Algorithm" registry or a value defined in another specification and/or profile of this specification. If this parameter is not present, a default value of sha-256 MUST be used. To promote interoperability, implementations MUST support the sha-256 hash algorithm.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int