A chain of certificates.
the certificates in the chain.
Converts the certificate chain to a list of Java X.509 certificates.
Encodes the certificate chain as CBOR for use in COSE 'x5chain' header parameter (label 33) according to RFC 9360 Section 2.
Encodes the leaf signing certificate's SHA-256 hash as a CBOR COSE_CertHash structure for use in the COSE x5t header parameter (label 34) according to RFC 9360 Section 2.
COSE_CertHash
x5t
Encodes the certificate chain as CBOR.
Encodes the certificate chain as JSON Array according to RFC 7515 Section 4.1.6.
Performs basic certificate chain validation.