CertificateParameters

@Serializable
data class CertificateParameters(    val status: CertificateParameters.CertStatus? = null,     val certificates: List<@Serializable(with = Base64X509CertificateSerializer::class) X509Certificate>? = null,     val issuerDN: String? = null,     val serialNumber: String? = null,     val subjectDN: String? = null,     val validFrom: String? = null,     val validTo: String? = null)(source)

CSC-API v2.0.0.2 JsonObject which is part of CredentialInfo

Constructors

Link copied to clipboard
constructor(    status: CertificateParameters.CertStatus? = null,     certificates: List<@Serializable(with = Base64X509CertificateSerializer::class) X509Certificate>? = null,     issuerDN: String? = null,     serialNumber: String? = null,     subjectDN: String? = null,     validFrom: String? = null,     validTo: String? = null)

Types

Link copied to clipboard

Valid certificate statuses as defined in CSC v2.0.0.2

Properties

Link copied to clipboard
@SerialName(value = "certificates")
val certificates: List<@Serializable(with = Base64X509CertificateSerializer::class) X509Certificate>? = null

REQUIRED-CONDITIONAL. One or more Base64-encoded X.509v3 certificates from the certificate chain. If CredentialInfoRequest.certificates is CertificateOptions.CHAIN, the entire certificate chain SHALL be returned with the end entity certificate at the beginning of the array. If CredentialInfoRequest.certificates is CertificateOptions.SINGLE, only the end entity certificate SHALL be returned. If CredentialInfoRequest.certificates is CertificateOptions.NONE, this value SHALL NOT be returned.

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

REQUIRED-CONDITIONAL. The Issuer Distinguished Name from the X.509v3 end entity certificate as UTF-8-encoded character string according to RFC 4514. This value SHALL be returned when CredentialInfoRequest.certInfo is Boolean.true.

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

REQUIRED-CONDITIONAL. The Serial Number from the X.509v3 end entity certificate represented as hex-encoded string format. This value SHALL be returned when CredentialInfoRequest.certInfo is Boolean.true.

Link copied to clipboard
@SerialName(value = "status")
val status: CertificateParameters.CertStatus? = null

OPTIONAL. The status of validity of the end entity certificate.

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

REQUIRED-CONDITIONAL. The Subject Distinguished Name from the X.509v3 end entity certificate as UTF-8-encoded character string, according to RFC 4514 4. This value SHALL be returned when CredentialInfoRequest.certInfo is Boolean.true..

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

REQUIRED-CONDITIONAL. The validity start date from the X.509v3 end entity certificate as character string, encoded as GeneralizedTime (RFC 5280 8) (e.g. “YYYYMMDDHHMMSSZ”). This value SHALL be returned when CredentialInfoRequest.certInfo is Boolean.true..

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

REQUIRED-CONDITIONAL. The validity end date from the X.509v3 end entity certificate as character string, encoded as GeneralizedTime (RFC 5280 8) (e.g. “YYYYMMDDHHMMSSZ”). This value SHALL be returned when CredentialInfoRequest.certInfo is Boolean.true..