Package-level declarations

Types

Link copied to clipboard
@Serializable
data class CredentialInfo(val credentialID: String? = null, val description: String? = null, val signatureQualifier: SignatureQualifier? = null, val keyParameters: KeyParameters, val certParameters: CertificateParameters? = null, val authParameters: AuthParameters? = null, val scal: CredentialInfo.ScalOptions? = ScalOptions.SCAL1, val multisign: UInt, val lang: String? = null)

Data class that implements credentialInfo class defined in CSC-API v2.0.0.2 Ch. 11.4 "credentials/list" and Ch. 11.5 "credentials/info"

Link copied to clipboard
@Serializable
data class CredentialInfoRequest(val credentialID: String, val certificates: CertificateOptions? = CertificateOptions.SINGLE, val certInfo: Boolean? = false, val authInfo: Boolean? = false, val lang: String? = null, val clientData: String? = null)

Data class that implements request data class defined in CSC-API v2.0.0.2 Ch. 11.5 "credentials/info"

Link copied to clipboard
@Serializable
data class CredentialListRequest(val userID: String? = null, val credentialInfo: Boolean? = false, val certificates: CertificateOptions? = CertificateOptions.SINGLE, val certInfo: Boolean? = false, val authInfo: Boolean? = false, val onlyValid: Boolean? = false, val lang: String? = null, val clientData: String? = null)

Data class that implements credentialInfo defined in CSC-API v2.0.0.2 Ch. 11.4 "credentials/list" and Ch. 11.5 "credentials/info"

Link copied to clipboard
@Serializable
data class CredentialListResponse(val credentialIDs: List<String>, val credentialInfos: List<CredentialInfo>? = null, val onlyValid: Boolean? = null)
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 groups: Collection<String>? = null, val name: String? = null, val purpose: String? = null, val format: FormatHolder? = null, val constraints: Constraint? = null, val transactionData: List<TransactionDataBase64Url>? = null) : InputDescriptor
Link copied to clipboard
sealed interface QtspSignatureRequest
Link copied to clipboard
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? = null, 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? = null, val transactionData: List<TransactionDataBase64Url>? = null) : 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
@Serializable
data class SignDocRequestParameters(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<DocumentDigest>? = null, val documents: Collection<Document>? = null, val returnValidationInformation: Boolean? = false) : QtspSignatureRequest

CSC API v2.0.0.2 Data class defined in Ch. 11.11 Used to request the creation of one or more AdES signature(s).

Link copied to clipboard
@Serializable
data class SignDocResponseParameters(val documentWithSignature: List<String>? = null, val signatureObject: List<String>? = null, val responseId: String? = null, val validationInfo: JsonObject? = null) : QtspSignatureResponse

CSC API v2.0.0.2 Data class defined in Ch. 11.11 Response to SignDocRequestParameters.

Link copied to clipboard
Link copied to clipboard
@Serializable
data class SignHashRequestParameters(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) : QtspSignatureRequest

CSC API v2.0.0.2 Data class defined in Ch. 11.10 Used to request the calculation of remote digital signature(s) of one or multiple hash values.

Link copied to clipboard
@Serializable
data class SignHashResponseParameters(val signatures: List<String>? = null, val responseId: String? = null) : QtspSignatureResponse

CSC API v2.0.0.2 Data class defined in Ch. 11.10 Holds response to SignHashRequestParameters.

Properties

Link copied to clipboard