cn.com.BTPaySDK
Class CAKeyStruct

java.lang.Object
  extended by cn.com.BTPaySDK.CAKeyStruct

public class CAKeyStruct
extends java.lang.Object

The class for Certificate Authority Public Key.


Field Summary
 byte[] exponent
          CA Public Key Exponent.
 byte exponentLength
          Length of exponent.
 byte[] hash
          the hash data of SHA-1 calculation.
 byte index
          The Index of the Public Key.
 byte[] key
          CA Public Key.
 byte keyLength
          Length of key.
 byte[] rid
          The RID of the Public Key.
 
Constructor Summary
CAKeyStruct()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rid

public byte[] rid
The RID of the Public Key.


index

public byte index
The Index of the Public Key.


exponentLength

public byte exponentLength
Length of exponent. 0x01 or 0x03 as per EMV Specification.


keyLength

public byte keyLength
Length of key. max 248 bytes as per EMV Specification.


exponent

public byte[] exponent
CA Public Key Exponent.


key

public byte[] key
CA Public Key.


hash

public byte[] hash
the hash data of SHA-1 calculation.

Constructor Detail

CAKeyStruct

public CAKeyStruct()