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.
Encodes the certificate as JSON Array according to RFC 7515 Section 4.1.6.
Validates that every certificate in the chain is signed by the next one.