DBAKey class
Class defines Document Basic Access Keys as specified in section 9.7.2 of doc ICAO 9303 p11 which are used to establish secure messaging session via BAC protocol.
Constructors
Properties
- dateOfBirth → DateTime
-
Returns passport owner's date of birth used for calculating key seed.
no setter
- dateOfExpiry → DateTime
-
Returns passport date of expiry used for calculating key seed.
no setter
- encKey → Uint8List
-
Returns encryption key
Kencto be used in BAC or PACE protocol.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- keySeed → Uint8List
-
Returns Kseed as specified in Appendix D.2
to the Part 11 of doc ICAO 9303 p11
no setter
- macKey → Uint8List
-
Returns MAC key
Kmacto be used in BAC or PACE protocol.no setter - mrtdNumber → String
-
Returns passport number used for calculating key seed.
no setter
- PACE_REF_KEY_TAG ↔ int
-
getter/setter pairoverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seedLen ↔ int
-
getter/setter pair
Methods
-
Kpi(
CipherAlgorithm cipherAlgorithm, KEY_LENGTH keyLength) → Uint8List -
Returns K-pi
kpito be used in PACE protocol.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Very sensitive data. Do not use in production!
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited