DocumentDigestEntry

@Serializable
data class DocumentDigestEntry(source)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
@Serializable
@SerialName(value = "documentLocation_method")
data class DocumentLocationMethod

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

Properties

Link copied to clipboard
@SerialName(value = "dtbsr")
@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).

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

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

Link copied to clipboard
@SerialName(value = "documentLocation_uri")
val documentLocationUri: Url? = 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.

Link copied to clipboard
@SerialName(value = "dtbsrHashAlgorithmOID")
@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

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.

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