AngolaPassportModel
A class derived from PassportModel containing details specific to the Angola passport
Last updated
A class derived from PassportModel containing details specific to the Angola passport
Last updated
import com.sybrin.identity.countries.Angola.Passport.AngolaPassportModel
extends
PassportModel
The following validation and verification applies to this document:
public int getCompositeCheckDigit ()
Returns the check digit used to verify the passport number, date of birth, date of expiry, and optional data as found on the passport.
public int getDateOfBirthCheckDigit ()
Returns the check digit used to verify the subject's date of birth as found on the passport.
public int getDateOfExpiryCheckDigit ()
Returns the check digit used to verify the passport's date of expiry as found on the passport.
public String getMrzLine1 ()
Returns the first MRZ line as found on the passport.
public String getMrzLine2 ()
Returns the second MRZ line as found on the passport.
public String getOptionalData()
Returns the optional data as found on the passport.
public int getOptionalDataCheckDigit ()
Returns the check digit used to verify the optional data as found on the passport.
Public methods
Data source
int
MRZ OCR
int
MRZ OCR
int
MRZ OCR
String
MRZ OCR
String
MRZ OCR
String
MRZ OCR
int
MRZ OCR
Data source
<T extends DocumentModel>
N/A
Bitmap
Front of document
String
Local storage
Bitmap
Front of document
String
Local storage
Bitmap
Front of document
String
Local storage
void
saveImages(Context context)
Saves all images within the model
to the local device and populates
all path fields.
N/A
Data source
Date
MRZ OCR
Date
MRZ OCR
String
MRZ OCR
String
getNames()
MRZ OCR
String
MRZ OCR
String
MRZ OCR
String
MRZ OCR
getSex()
Returns the subject's sex as found on the passport.
MRZ OCR
String
MRZ OCR
Value
Validation type
Date of birth
Check digit using MRP Checksum calculation algorithm.
Date of expiry
Check digit using MRP Checksum calculation algorithm.
MRZ line 2 composite
Check digit using MRP Checksum calculation algorithm.
Passport number
Check digit using MRP Checksum calculation algorithm.
Returns
int
Returns
int
Returns
int
Returns
String
The first MRZ line. This value cannot be null
.
Returns
String
The second MRZ line. This value cannot be null
.
Returns
String
The optional data. This value cannot be null
.
Returns
int