Package com.kinegram.android.emrtd
Class PassiveAuthenticationResult
-
- All Implemented Interfaces:
-
java.io.Serializable
public class PassiveAuthenticationResult implements Serializable
With Passive Authentication the integrity and authenticity of the data (like MRZ info, photo of face) is verified based on a list of trusted country certificates.
In other words, whether an eMRTD was officially produced on behalf of the nation that issued it and whether the data it contains has been changed in any way since its production.
Refer to ICAO Doc 9303 Part 11 in particular.
-
-
Field Summary
Fields Modifier and Type Field Description public final BooleansodSignatureValidpublic final BooleandocumentCertificateValidpublic final X509CertificatecscaCertificatepublic final List<Integer>dataGroupsCheckedpublic final List<Integer>dataGroupsWithValidHashpublic final PassiveAuthenticationErrorerrorpublic final BooleanallHashesValid
-
Method Summary
Modifier and Type Method Description booleanevaluate()Overall Passive Authentication result. -
-
Method Detail
-
evaluate
boolean evaluate()
Overall Passive Authentication result. Whether the integrity and authenticity of the data could be verified using a trusted country certificate.
- Returns:
true if Passive Authentication was successful.
-
-
-
-