![IDTECH Vivopay Neo 2 Developer'S Manual Download Page 173](http://html.mh-extra.com/html/idtech/vivopay-neo-2/vivopay-neo-2_developers-manual_618786173.webp)
NEO 2 Interface Developer’s Guide
Copyright © 2019, International Technologies & Systems Corporation. All rights reserved.
173
Response Frame
Byte 0-9
Byte 10
Byte 11
Byte 12
Byte 13
Byte 14 …
Byte 14+n-1
Byte 14+n Byte 15+n
Header Tag
& Protocol
Version
Command Status Code
Data
Length
(MSB)
Data
Length
(LSB)
Data
CRC (MSB)
CRC
(LSB)
ViVOtech2\0
60h
See Status
Code Table
See Response
Frame Data
Format
Response Frame Data Format
: <5 bytes RID> <1 byte Index> <1 byte Hash Algorithm> <1
byte Encryption Algorithm> <20 bytes HashValue> <4 bytes Public Key Exponent> <2 bytes
Modulus Length> <Variable bytes Modulus>
Where:
•
<Hash Algorithm>: The only algorithm supported is SHA-1.The value is set to 0x01.
•
<Encryption Algorithm>: The encryption algorithm in which this key is used. Currently
support only one type: RSA. The value is set to 0x01.
•
<HashValue>: Which is calculated using SHA-1 over the following fields: RID & Index &
Modulus & Exponent
•
<Public Key Exponent>: The length of the exponent is either one byte or 3 bytes. It can
have two values: 3, or 65537
•
<Modulus Length>:
<LenL> <LenH>
Indicated the length of the next field.
•
<Modulus>: This is the modulus field of the public key. Its length is specified in the field
above.
Note:
•
If CA Key RID does not exist, status code is 0x60.
•
If CA Key Index does not exist, status code is 0x60.
8.4.11.
Contact Remove CA Public Key (60-09)
This command allows the host to delete a specific key.
Command Frame
Byte 0-9
Byte 10
Byte 11
Byte 12 Byte 13
Byte 14 …
Byte 14+n-1
Byte 14+n Byte 15+n
Header Tag
& Protocol
Version
Command
Sub-
Command
Data
Length
(MSB)
Data
Length
(LSB)
Data
CRC (LSB)
CRC (MSB)
ViVOtech2\0
60h
09h
Data Objects
Data Objects
<5 bytes RID> <1 byte Index>.
If length is 00 then remove all CA Public Key.