CSCCredential

@Serializable
@SerialName(value = "credential")
data class CSCCredential(val credentialID: String? = null, val signatureQualifier: String? = null, val documentDigestsCSC: Collection<DocumentDigestCSCEntry>, val hashAlgorithmOID: ObjectIdentifier, val locations: Collection<String>? = null, val documentLocations: Collection<DocumentLocationEntry>) : AuthorizationDetails(source)

CSC: The authorization details type credential allows applications to pass the details of a certain credential authorization in a single JSON object

Constructors

Link copied to clipboard
constructor(credentialID: String? = null, signatureQualifier: String? = null, documentDigestsCSC: Collection<DocumentDigestCSCEntry>, hashAlgorithmOID: ObjectIdentifier, locations: Collection<String>? = null, documentLocations: Collection<DocumentLocationEntry>)

Properties

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

CSC: The identifier associated to the credential to authorize

Link copied to clipboard
@SerialName(value = "documentDigests")
val documentDigestsCSC: Collection<DocumentDigestCSCEntry>

CSC: An array composed of entries for every document to be signed. This applies for array both cases, where are document is signed or a digest is signed

Link copied to clipboard
@SerialName(value = "documentLocations")
val documentLocations: Collection<DocumentLocationEntry>

QES: This parameter is used to convey the signer document. This parameter SHALL not be used when the signer document is not required for the creation of the signature (for example, in the Wallet-centric model)

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

CSC: String containing the OID of the hash algorithm used to generate the hashes listed in documentDigests.

Link copied to clipboard
@SerialName(value = "locations")
val locations: Collection<String>? = null

CSC: An array of strings designating the locations of array the API where the access token issued in a certain OAuth transaction shall be used.

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

CSC: This parameter contains the symbolic identifier determining the kind of signature to be created