beautypg.com

Initialize_authentication, Verify_authentication – ACS ACR38 SAM Smart Card Reader User Manual

Page 25

background image

ACR38x – Reference Manual

[email protected]

Version 6.02

www.acs.com.hk

Page 25 of 40

Response Buffer Format

SCardTransmit Receive Buffer

SW1

SW2

Where:

SW1 SW2 = 90 00h if no error.

9.2.2.3.4. INITIALIZE_AUTHENTICATION

Send Buffer Format

SCardTransmit Send Buffer

CLA

INS

P1

P2

Lc (P3) Q(0) Q(1) … Q(7)

FFh

84h

00h

00h

08h

Where:

Q(0),Q(1)…Q(7)

Host random number, 8 bytes.


Response Buffer Format

SCardTransmit Receive Buffer

SW1

SW2

Where:

SW1 SW2 = 90 00h if no error.

9.2.2.3.5. VERIFY_AUTHENTICATION

Send Buffer Format

SCardTransmit Send Buffer

CLA

INS

P1

P2

Lc (P3) Ch(0) Ch(1) … Ch(7)

FFh

82h

00h

00h

08h

Where:

Ch(0),Ch(1)…Ch(7)

Host challenge, 8 bytes.


Response Buffer Format

SCardTransmit Receive Buffer

SW1

SW2

Where:

SW1 SW2 = 90 00h if no error.