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.
Performs basic certificate chain validation.