IsoSecurityModule class abstract

The terminal's PIN entry device. Keys live inside it and never reach Dart — this package hands it bytes and takes back a MAC or an encrypted PIN block.

Ported from ISecurityModuleService.

Constructors

IsoSecurityModule()

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → Future<void>
decryptData({required int keyIndex, required Uint8List data, required IsoCipherMode cipherMode, required IsoEncryptionStandard standard, Uint8List? icv}) → Future<Uint8List>
encryptData({required int keyIndex, required Uint8List data, required IsoCipherMode cipherMode, required IsoEncryptionStandard standard, Uint8List? icv}) → Future<Uint8List>
generateMac({required int keyIndex, required Uint8List data, required IsoMacAlgorithm algorithm, required int macLength, required bool useDefaultMac}) → Future<Uint8List>
getKvc({required IsoKeyType keyType, required int keyIndex}) → Future<Uint8List?>
getPinBlock({required int ppkIndex, required String pan, required String hint, int min = 4, int max = 4, int timeoutMillis = 60000}) → Stream<PinInputEvent>
Opens the PED for online PIN entry. The stream carries keypress feedback and ends with exactly one terminal event: confirmed, cancelled, timed out or failed.
injectKtm({required int ktmIndex, required Uint8List ktm, Uint8List? kvc, IsoKeyLength keyLength = IsoKeyLength.des3TwoKey}) → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
storeSessionKey({required int keyIndex, required int ktmIndex, required IsoKeyType keyType, required Uint8List sessionKey, Uint8List? kvc, IsoKeyLength keyLength = IsoKeyLength.des3TwoKey, bool useDefaultMac = false}) → Future<void>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited