Package-level declarations

Types

Link copied to clipboard
typealias Hashes = List<@Serializable(with = ByteArrayBase64Serializer::class) ByteArray>
Link copied to clipboard
@Serializable
@SerialName(value = "method")
sealed class Method

After D3.1: UC Specification WP3. However, this class is potentially a mistake in the draft spec vs test vector, currently we need it to be a sealed class with polymorphic serialization to get the structure method: {type: NAME} sealed class would instead serialize to method: NAME which might be the corrected implementation in the next draft.

Link copied to clipboard
@Serializable
data class QesInputDescriptor(val id: String, val group: String? = null, val name: String? = null, val purpose: String? = null, val format: FormatHolder? = null, val constraints: Constraint? = null, val transactionData: List<@Serializable(with = Base64URLTransactionDataSerializer::class) TransactionData>) : InputDescriptor
Link copied to clipboard
Link copied to clipboard
@Serializable
data class SignatureRequestParameters(val responseType: String, val clientId: String, val clientIdScheme: OpenIdConstants.ClientIdScheme? = null, val responseMode: OpenIdConstants.ResponseMode? = null, val responseUrl: String? = null, val nonce: String, val state: String? = null, val signatureQualifier: SignatureQualifier = SignatureQualifier.EU_EIDAS_QES, val documentDigests: List<OAuthDocumentDigest>, val documentLocations: List<DocumentLocation>, val hashAlgorithmOid: ObjectIdentifier = Digest.SHA256.oid, val clientData: String?) : RequestParameters

In the Wallet centric model this is the request coming from the Driving application to the wallet which starts the process

Link copied to clipboard
sealed class SignatureResponse
Link copied to clipboard
@Serializable
data class SignDocParameters(val credentialId: String? = null, val sad: String? = null, val operationMode: OperationMode = OperationMode.SYNCHRONOUS, val validityPeriod: Int? = null, val responseUri: String? = null, val clientData: String? = null, val signatureQualifier: SignatureQualifier? = null, val documentDigests: Collection<CscDocumentDigest>? = null, val documents: Collection<Document>? = null, val returnValidationInformation: Boolean = false) : CscSignatureRequestParameters
Link copied to clipboard
@Serializable
data class SignHashParameters(val credentialId: String, val sad: String? = null, val operationMode: OperationMode = OperationMode.SYNCHRONOUS, val validityPeriod: Int? = null, val responseUri: String? = null, val clientData: String? = null, val hashes: Hashes, val hashAlgorithmOid: ObjectIdentifier? = null, val signAlgoOid: ObjectIdentifier, val signAlgoParams: Asn1Element? = null) : CscSignatureRequestParameters

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard