![Magtek ADYNAMO Скачать руководство пользователя страница 22](http://html1.mh-extra.com/html/magtek/adynamo/adynamo_programmers-reference-manual_3704666022.webp)
3 –MTSCRA Class Methods
aDynamo, uDynamo, Dynamag, DynaMAX, eDynamo, BulleT| Secure Card Reader Authenticator | Programmer’s Reference (Android)
Page 22 of 42 (
D99875728-31
)
3.42
getHashCode
Retrieves SHA-x hash code.
public string getHashCode()
Parameters: None
Return Value:
String representing SHA-x hash code.
3.43
getDeviceConfig
Retrieves device configuration.
public string getDeviceConfig(string configType)
Parameters:
Parameter
Description
configType
configType can be one of:
8180: Send TLV Version on Power Up
8181: Send Discovery on Power Up
8280: Send Card name
8281: Send Card IIN
8282: Send Card Last 4 Digits of PAN
8283: Send Card Expiration
8284: Send Card Service Code
8285: Send Card PAN Length
Return Value:
String representing device configuration.
3.44
getEncryptionStatus
Retrieves encryption status. This two byte Binary field contains the Encryption Status. The Reader
Encryption Status is sent in big endian byte order. Byte 1 is the least significant byte. Byte 1 LSB is
status bit 0. Byte 2 MSB is status bit 15.
public string getEncryptionStatus()
Parameters: None
Return Value:
String representing decryption status as a 2-byte binary field.
Bit 0 = DUKPT Keys exhausted (1=exhausted, 0=keys available)
Bit 1 = Initial DUKPT key Injected, always set to One (Primary DUKPT Key)
Bit 2 = Encryption Enabled, always set to One
Bit 3 = Reserved (always set to zero)
Bit 4 = Reserved (always set to zero)