X509CertChain

data class X509CertChain(val certificates: List<X509Cert>)

A chain of certificates.

Parameters

certificates

the certificates in the chain.

Constructors

Link copied to clipboard
constructor(certificates: List<X509Cert>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val X509CertChain.javaX509Certificates: List<<Error class: unknown class>>

Converts the certificate chain to a list of Java X.509 certificates.

Functions

Link copied to clipboard

Encodes the certificate chain as CBOR.

Link copied to clipboard
fun toX5c(): JsonElement

Encodes the certificate as JSON Array according to RFC 7515 Section 4.1.6.

Link copied to clipboard

Validates that every certificate in the chain is signed by the next one.