MasterListReader

Reads a CSCA master list (Doc 9303 Part 12, 9) that the app obtained itself, for example a national master list a state publishes.

The SDK never downloads or bundles a master list, and it does not decide whether a list or any root in it is to be trusted: that is the app's choice. It reads the certificates the list holds and reports, as facts, whether the list's own signature verifies and whether the list's signer is signed by a root the app supplies.

Experimental: see ExperimentalTesseraChipApi.

Since

1.0.0

Functions

Link copied to clipboard
fun read(file: ByteArray, roots: List<TrustAnchor> = emptyList()): MasterListRead

Reads file, a master list as CMS SignedData in DER (or BER), and checks its signature.