ChipCheckReason
Why a check came out CheckOutcome.Failed, CheckOutcome.NotApplicable or CheckOutcome.NotRun. Each value is a fact about the inputs, never a verdict on the document. With ChipCheckReason.KEY_FILE_CHECKS_NOT_PASSED the chip's part held but the file that holds its key has not passed its own checks, so the fact is incomplete, never a pass.
Implements CheckReason, the shared reason type of CheckOutcome, so a chip check's outcome carries a typed reason.
May gain members in a later release: an exhaustive when over it then stops compiling until the new member is handled. An else branch keeps it compiling without handling the new member: that is your choice, and today the compiler warns that such an else is redundant.
Experimental: see ExperimentalTesseraChipApi.
Since
1.0.0
Entries
A data group's hash differs from the one stored.
The security object stores no hash for the data group.
The message-digest attribute differs from the hash of the signed content.
The signed attributes have no message-digest attribute.
The content-type attribute differs from the content's type.
A signature does not verify.
The signer key does not fit the signature algorithm.
None of the roots your app supplied signed the signer certificate.
The signer's issuer name differs from the matched root's subject.
The check time is outside the certificate's validity period.
The certificate has a critical extension the SDK does not know.
EF.CardAccess has entries the signed copy lacks.
A file differs from its signed copy.
The document code is not in the signer's document-type list.
The signer key usage is not digital signature only.
The signer certificate has an extended key usage.
Two country codes differ.
The issue date is outside the signer's private-key usage period.
The chip has no EF.CardAccess.
The signer has a document-type list, so the key-usage form of the check does not apply.
The signer has no document-type list.
The signer has no private-key usage period.
A file the check needs was not read.
A file the check needs could not be read.
EF.SOD could not be read.
The data group was not read.
The signed file carries no signer certificate.
The signer certificate could not be read.
Your app supplied no roots.
No supplied root matched the signer, so the root-based check could not run.
An algorithm the SDK does not run.
A public key could not be read.
This platform has no cryptography yet (iOS until its backend lands).
Your app gave no check time.
There is no signed copy to compare with.
The signed copy could not be read.
There is no document code to compare.
There is no issue date to compare.
A certificate has no country name.
The SDK does not run this check yet.
The chip does not offer this protocol.
The chip refused the protocol's command.
The chip offers the protocol only in forms the reader cannot run.
The protocol needs a secure-messaging session, and the chip was read without one.
The chip agreed new keys, but its next answer did not verify under them.
The calculation holds, but the file with the key has not passed its hash, signature and root checks.
Another form of chip authentication already ran in this read.
The read stopped before the check could run.
The chip sent no chip-authentication data with its last PACE answer.
The chip-authentication data is not in the defined form.
The chip-authentication data is zero or not below the group order.
The key computed from the chip-authentication data differs from the chip's mapping key.
EF.CardSecurity has no chip-authentication key with the key number PACE used.
The chip-authentication key is not in the PACE group or its point is not valid there.
A public key does not hold: a point off its curve, or a modulus that is not positive and odd.
The chip names no signature algorithm for its active-authentication key.
The chip's signature does not have the length its key gives.
The chip's signature is not in the defined form.
At least one field of DG1 differs from the printed MRZ.
The reader could not make its key pair or the shared secret on the chip's parameters.
The platform's cryptography could not carry out a step with the values the chip sent.
The signed copy lists a PACE entry that EF.CardAccess lacks, or EF.CardAccess is missing.
The signed copy lists PACE, and the read used another access protocol.
The chip's DG1 was not read or could not be parsed.
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.