RicalCertificateInfo
data class RicalCertificateInfo(val certificate: X509Cert, val serialNumber: ByteString = certificate.serialNumber.toUnsignedByteString(), val ski: ByteString = ByteString(certificate.subjectKeyIdentifier!!), val type: String? = null, val trustConstraints: List<RicalTrustConstraint> = emptyList(), val name: String? = null, val issuingCountry: String? = certificate.subject.countryName, val stateOrProvinceName: String? = certificate.subject.stateOrProvinceName, val issuer: ByteString? = certificate.encodedIssuer, val subject: ByteString? = certificate.encodedSubject, val notBefore: Instant? = certificate.validityNotBefore, val notAfter: Instant? = certificate.validityNotAfter, val extensions: Map<String, DataItem> = emptyMap())
An entry in a RICAL according to ISO/IEC 18013-5 Second Edition Annex F.
Constructors
Link copied to clipboard
constructor(certificate: X509Cert, serialNumber: ByteString = certificate.serialNumber.toUnsignedByteString(), ski: ByteString = ByteString(certificate.subjectKeyIdentifier!!), type: String? = null, trustConstraints: List<RicalTrustConstraint> = emptyList(), name: String? = null, issuingCountry: String? = certificate.subject.countryName, stateOrProvinceName: String? = certificate.subject.stateOrProvinceName, issuer: ByteString? = certificate.encodedIssuer, subject: ByteString? = certificate.encodedSubject, notBefore: Instant? = certificate.validityNotBefore, notAfter: Instant? = certificate.validityNotAfter, extensions: Map<String, DataItem> = emptyMap())
Properties
Link copied to clipboard
the X.509 CA certificate.
Link copied to clipboard
proprietary extensions, if available.
Link copied to clipboard
ISO3166-1 or ISO3166-2 country of the CA or null.
Link copied to clipboard
the unsigned big-endian bytes of the certificate's serial number.
Link copied to clipboard
state or province name of the CA or null.
Link copied to clipboard
a list of RicalTrustConstraint, may be empty.