X509Cert
A data type for a X.509 certificate.
Parameters
the bytes of the X.509 certificate in DER encoding.
Types
Builder for X.509 certificate.
Properties
The authority key identifier (OID 2.5.29.35), or null if not present in the certificate.
Certificate basic constraints (if defined).
The OIDs for X.509 extensions which are marked as critical.
The public key in the certificate, as an Elliptic Curve key.
The DER-encoded X.500 Name of the issuer of the certificate.
The DER-encoded X.500 Name of the subject of the certificate.
The extended key usage OIDs (OID 2.5.29.37) or the empty set if not present.
The list of decoded extensions information.
The Java X509 certificate from the encoded certificate data.
The key usage (OID 2.5.29.15) or the empty set if not present.
The OIDs for X.509 extensions which are not marked as critical.
The certificate serial number.
The signature algorithm for the certificate or CRL as Algorithm.
The signature algorithm for the CRL as OID string.
The dNSName entries of the subject alternative name (OID 2.5.29.17), or the empty list if the extension is not present.
The subject key identifier (OID 2.5.29.14), or null if not present in the certificate.
The bytes of TBS sequence.
The point in time where the certificate is valid until.
The point in time where the certificate is valid from.
Functions
Gets the bytes of a X.509 extension.
Checks if the certificate or CRL was signed with a given key.
Verifies a CBOR COSE_CertHash structure from the COSE x5t header parameter (label 34) against this certificate according to RFC 9360 Section 2 and ISO/IEC 18013-5 Second Edition Clauses 12.3.4 and 12.5.4 (which mandate SHA-256).