CertificateChainStatus

class CertificateChainStatus

The status of a built certificate chain. Will be set to UNKNOWN for certificate chains that have not been built.

Fields

class CertificateChainStatus
ANCHORED

The chain ends with an anchored certificate. The anchored certificate is not necessarily self-signed.

DISTRUSTED

The certificate chain contains a revoked or otherwise explicitly distrusted certificate. The entire chain should be distrusted.

INCOMPLETE

A full chain could not be loaded. The chain does not end with a self-signed certificate, a trusted anchor, or a pinned certificate.

PINNED

The chain represents a pinned certificate. A pinned certificate is an exception which trusts a given certificate explicitly for a purpose and communication with a certain peer.

SELFSIGNED

The chain ends with a self-signed certificate. No trust anchor was found.

UNKNOWN

The certificate chain’s status is unknown. When a chain is not yet built it has this status. If a chain is modified after being built, it has this status.