CredentialInfoRequest

@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)(source)

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

Constructors

Link copied to clipboard
constructor(credentialID: String, certificates: CertificateOptions? = CertificateOptions.SINGLE, certInfo: Boolean? = false, authInfo: Boolean? = false, lang: String? = null, clientData: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "authInfo")
val authInfo: Boolean? = false

CSC OPTIONAL. Request to return various parameters containing information on the authorization mechanisms supported by the corresponding credential (auth group). The default value is Boolean.false

Link copied to clipboard
@SerialName(value = "certificates")
val certificates: CertificateOptions?

CSC OPTIONAL-CONDITIONAL. Specifies which certificates from the certificate chain SHALL be returned The default value is CertificateOptions.SINGLE

Link copied to clipboard
@SerialName(value = "certInfo")
val certInfo: Boolean? = false

CSC OPTIONAL. Request to return various parameters containing information from the end entity certificate(s). The default value is Boolean.false

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

CSC OPTIONAL. Arbitrary data from the signature application. It can be used to handle a transaction identifier or other application-specific data that may be useful for debugging purposes

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

CSC REQUIRED. The unique identifier associated to the credential.

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

CSC OPTIONAL. Request a preferred language of the response to the remote service