QesAuthorization

@Serializable
@SerialName(value = "qes_authorization")
data class QesAuthorization : TransactionData(source)

D3.1: UC Specification WP3: Transaction data entry used to authorize a qualified electronic signature

Types

Link copied to clipboard
object Companion

Properties

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

CSC: OPTIONAL. The unique identifier associated with the credential. D3.1: UC Specification WP3: MUST be present when signatureQualifier parameter is not present. Both signatureQualifier and credentialID values MAY be present.

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 = "documentDigests")
val documentDigests: List<RqesDocumentDigestEntry>

D3.1: UC Specification WP3: REQUIRED. An array composed of entries for every document to be signed (SD). This applies for both cases, where a document is signed, or a digest is signed.

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

D3.1: UC Specification WP3: OPTIONAL. An opaque value used by the QTSP to internally link the transaction to this request. The parameter is not supposed to contain a human-readable value.

Link copied to clipboard
@SerialName(value = "signatureQualifier")
val signatureQualifier: SignatureQualifier? = null

CSC: OPTIONAL. Identifier of the signature type to be created. A set of such identifiers is defined in (CSC-API) section 11.11. D3.1: UC Specification WP3: MUST be present when credentialID is not present. Both signatureQualifier and credentialID values MAY be present.

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.