UnreadableTrustAnchor

One certificate that could not be read: where it sat, and the same problem TrustAnchor.fromDer reports.

Experimental: see ExperimentalTesseraChipApi.

Since

1.0.0

Properties

Link copied to clipboard
val offset: Int

The byte offset where the problem was found, counted from the item's first byte; 0 when the item itself could not be decoded.

Link copied to clipboard

The item's position in the content, counted from 0: the PEM block's number among the BEGIN markers, or the DER element's number.

Link copied to clipboard

Why the certificate could not be read, as TrustAnchor.fromDer reports it.

Functions

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

The position, the problem and the offset; never certificate content.