mirror of
https://github.com/selfxyz/self.git
synced 2026-02-08 21:35:13 -05:00
28 lines
625 B
TypeScript
28 lines
625 B
TypeScript
export type MrzInfo = {
|
|
compositeCheckDigit: string;
|
|
dateOfBirth: string;
|
|
dateOfBirthCheckDigit: string;
|
|
dateOfExpiry: string;
|
|
dateOfExpiryCheckDigit: string;
|
|
documentCode: string;
|
|
documentNumber: string;
|
|
documentNumberCheckDigit: string;
|
|
documentType: number;
|
|
gender: string;
|
|
issuingState: string;
|
|
nationality: string;
|
|
optionalData1: string;
|
|
primaryIdentifier: string;
|
|
secondaryIdentifier: string;
|
|
};
|
|
|
|
export type DataHash = [number, number[]];
|
|
|
|
export type PassportData = {
|
|
mrz: string;
|
|
modulus: string;
|
|
dataGroupHashes: DataHash[];
|
|
eContent: number[];
|
|
encryptedDigest: number[];
|
|
};
|