TrustAnchor

A root certificate the app supplies: a country signing certificate (CSCA) the app chose to use for checking chip signatures.

The SDK never bundles or downloads root certificates; which roots to use is the app's choice. The SDK only checks, as facts, whether a chip's signer certificate is signed by one of the roots the app passed in. A trust anchor here is only a certificate that was read: nothing about it has been checked, and the SDK never says a root is trustworthy.

Make one from a DER certificate with fromDer, or read many from a master list with MasterListReader.

Experimental: see ExperimentalTesseraChipApi.

Since

1.0.0

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

End of validity as YYYY-MM-DDTHH:MM:SSZ.

Link copied to clipboard

Start of validity as YYYY-MM-DDTHH:MM:SSZ.

Link copied to clipboard

The OID of the public key algorithm.

Link copied to clipboard

The serial number as lowercase hex, as encoded.

Link copied to clipboard

The subject's commonName, or null.

Link copied to clipboard

The subject's countryName (two letters, as the certificate writes it), or null.

Link copied to clipboard

The subject key identifier, or null when the certificate has none. Signer certificates name their root by it.

Functions

Link copied to clipboard

The certificate as DER (a copy).

Link copied to clipboard
open override fun toString(): String