RqesDocumentDigestEntry

@Serializable
data class RqesDocumentDigestEntry(source)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
@Serializable
@SerialName(value = "documentLocation_method")
data class DocumentLocationMethod(    val documentAccessMode: RqesDocumentDigestEntry.DocumentLocationMethod.DocumentAccessMode,     val oneTimePassword: String? = null)

D3.1: UC Specification WP3: OPTIONAL. An object with information how to access documentLocationUri.

Properties

Link copied to clipboard
@SerialName(value = "DTBS/R")
@Serializable(with = ByteArrayBase64Serializer::class)
val dataToBeSignedRepresentation: ByteArray? = null

D3.1: UC Specification WP3: OPTIONAL. String containing data to be signed representation as defined in CEN EN 419241-1 and ETSI/TR 119 001:2016 (as base64-encoded octet). If this property is present, the dtbsrHashAlgorithmOid MUST be present. One of the parameters hash and dataToBeSignedRepresentation MUST be present. Both parameters hash and dataToBeSignedRepresentation MAY be present.

Link copied to clipboard
@SerialName(value = "documentLocation_method")
val documentLocationMethod: RqesDocumentDigestEntry.DocumentLocationMethod? = null

D3.1: UC Specification WP3: OPTIONAL. An object with information how to access documentLocationUri. If the documentLocationUri property is not present, this property MUST NOT be present

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

D3.1: UC Specification WP3: OPTIONAL. URL to the document to be signed (SD); the parameter hash MUST be the hash value of the designated document. If this parameter is present, the parameter documentLocationMethod MUST be present.

Link copied to clipboard
@SerialName(value = "DTBS/RHashAlgorithmOID")
@Serializable(with = ObjectIdSerializer::class)
val dtbsrHashAlgorithmOid: ObjectIdentifier? = null

D3.1: UC Specification WP3: OPTIONAL. String containing the OID of the hash algorithm used to generate the hash listed in dataToBeSignedRepresentation If dataToBeSignedRepresentation property is not present, this parameter MUST NOT be present. NOTE: Usually this request does not contain enough information to recreate the dataToBeSignedRepresentation. It should be considered opaque for the Wallet.

Link copied to clipboard
@SerialName(value = "hash")
@Serializable(with = ByteArrayBase64Serializer::class)
val hash: ByteArray? = null

D3.1: UC Specification WP3: OPTIONAL. String containing the base64-encoded octet-representation of applying the algorithm from hashAlgorithmOid to the octet- representation of the document to be signed (SD).

Link copied to clipboard
@SerialName(value = "hashAlgorithmOID")
@Serializable(with = ObjectIdSerializer::class)
val hashAlgorithmOid: ObjectIdentifier? = null

D3.1: UC Specification WP3: OPTIONAL. String containing the OID of the hash algorithm used to generate the hash listed in the hash. If the hash property is not present this parameter MUST NOT be present.

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

D3.1: UC Specification WP3: REQUIRED. String containing a human-readable description of the document to be signed (SD). The Wallet MUST show the label element in the user interaction. It MUST be UTF-8 encoded.

Functions

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