public class CcidSecureParameters
Class used to authenticate and ciphering CCID frames
Constructor and Description |
---|
CcidSecureParameters(CcidSecureParameters.AuthenticationMode authMode,
CcidSecureParameters.AuthenticationKeyIndex keyIndex,
java.util.List<java.lang.Byte> keyValue,
CcidSecureParameters.CommunicationMode mode) |
Modifier and Type | Method and Description |
---|---|
CcidSecureParameters.AuthenticationMode |
getAuthMode()
Authentication version
|
CcidSecureParameters.AuthenticationKeyIndex |
getKeyIndex()
Index of the Key
|
java.util.List<java.lang.Byte> |
getKeyValue()
The value of the key on 16 bytes for AES128
|
CcidSecureParameters.CommunicationMode |
getMode()
This field specify how the communication will be secured once the authentication is passed
|
public CcidSecureParameters(CcidSecureParameters.AuthenticationMode authMode, CcidSecureParameters.AuthenticationKeyIndex keyIndex, java.util.List<java.lang.Byte> keyValue, CcidSecureParameters.CommunicationMode mode)
authMode
- Authentication version & mode (0x01 -> AES128)keyIndex
- Index of the Key (0x00 -> User, 0x01 -> Admin)keyValue
- The value of the key on 16 bytes for AES128mode
- This field specify how the communication will be secured once the authentication is passedpublic CcidSecureParameters.AuthenticationMode getAuthMode()
Authentication version
& mode (0x01 -> AES128)
public CcidSecureParameters.AuthenticationKeyIndex getKeyIndex()
Index of the Key
(0x00 -> User, 0x01 -> Admin)
public java.util.List<java.lang.Byte> getKeyValue()
The value of the key on 16 bytes for AES128
public CcidSecureParameters.CommunicationMode getMode()
This field specify how the communication will be secured once the authentication is passed