UnreadableSignerCertificate

A certificate stored in EF.SOD that could not be read: where it sits, how long it is, what is wrong with it and where reading stopped. Facts only: none of the certificate's content is here. It is the same problem and offset that io.lightine.tessera.emrtd.trust.DocumentSignerCertificate.fromDer and io.lightine.tessera.emrtd.trust.TrustAnchor.fromDer report for the same bytes.

Experimental: see ExperimentalTesseraChipApi.

Since

1.0.0

Properties

Link copied to clipboard
val length: Int

The certificate's length in bytes, as stored.

Link copied to clipboard
val offset: Int

The byte offset where reading stopped, counted from the certificate's first byte.

Link copied to clipboard

The certificate's place among the certificates stored in the file, counted from 0, in the order stored (readable ones included).

Link copied to clipboard

Why it could not be read.

Functions

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

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