public class TerminalAuthenticationInfo extends SecurityInfo
protocol
SHALL identify the Terminal
Authentication Protocol as the specific protocol may change over time.version
SHALL identify the version of the protocol.
Currently, versions 1 and 2 are supported.efCVCA
MAY be used to indicate a (short) file
identifier of the file EF.CVCA. It MUST be used, if the default (short) file
identifier is not used.Modifier and Type | Field and Description |
---|---|
static int |
VERSION_NUM_1 |
ID_AA_OID, ID_CA_DH_3DES_CBC_CBC_OID, ID_CA_DH_AES_CBC_CMAC_128_OID, ID_CA_DH_AES_CBC_CMAC_192_OID, ID_CA_DH_AES_CBC_CMAC_256_OID, ID_CA_ECDH_3DES_CBC_CBC_OID, ID_CA_ECDH_AES_CBC_CMAC_128_OID, ID_CA_ECDH_AES_CBC_CMAC_192_OID, ID_CA_ECDH_AES_CBC_CMAC_256_OID, ID_EC_PUBLIC_KEY, ID_EC_PUBLIC_KEY_TYPE, ID_PACE, ID_PACE_DH_GM, ID_PACE_DH_GM_3DES_CBC_CBC, ID_PACE_DH_GM_AES_CBC_CMAC_128, ID_PACE_DH_GM_AES_CBC_CMAC_192, ID_PACE_DH_GM_AES_CBC_CMAC_256, ID_PACE_DH_IM, ID_PACE_DH_IM_3DES_CBC_CBC, ID_PACE_DH_IM_AES_CBC_CMAC_128, ID_PACE_DH_IM_AES_CBC_CMAC_192, ID_PACE_DH_IM_AES_CBC_CMAC_256, ID_PACE_ECDH_CAM, ID_PACE_ECDH_CAM_AES_CBC_CMAC_128, ID_PACE_ECDH_CAM_AES_CBC_CMAC_192, ID_PACE_ECDH_CAM_AES_CBC_CMAC_256, ID_PACE_ECDH_GM, ID_PACE_ECDH_GM_3DES_CBC_CBC, ID_PACE_ECDH_GM_AES_CBC_CMAC_128, ID_PACE_ECDH_GM_AES_CBC_CMAC_192, ID_PACE_ECDH_GM_AES_CBC_CMAC_256, ID_PACE_ECDH_IM, ID_PACE_ECDH_IM_3DES_CBC_CBC, ID_PACE_ECDH_IM_AES_CBC_CMAC_128, ID_PACE_ECDH_IM_AES_CBC_CMAC_192, ID_PACE_ECDH_IM_AES_CBC_CMAC_256, ID_PK_DH_OID, ID_PK_ECDH_OID, ID_TA_OID
Constructor and Description |
---|
TerminalAuthenticationInfo()
Constructs a terminal authentication info using id_TA identifier
SecurityInfo.ID_TA_OID
and version 1. |
TerminalAuthenticationInfo(short fileId,
byte shortFileId)
Constructs a new object with the required object identifier and version
number and file identifier and short file identifier (possibly -1).
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
org.bouncycastle.asn1.ASN1Primitive |
getDERObject()
Deprecated.
|
int |
getFileId()
Returns the efCVCA file identifier stored in this file, -1 if none
|
String |
getObjectIdentifier()
Gets the object identifier of this TA security info.
|
byte |
getShortFileId()
Returns the efCVCA short file identifier stored in this file, -1 if none
or not present
|
int |
hashCode() |
String |
toString() |
getInstance, lookupMnemonicByOID, writeObject
getEncoded
public static final int VERSION_NUM_1
public TerminalAuthenticationInfo()
SecurityInfo.ID_TA_OID
and version 1.public TerminalAuthenticationInfo(short fileId, byte shortFileId)
fileId
- a file identifier reference to the efCVCA fileshortFileId
- short file id for the above file, -1 if none@Deprecated public org.bouncycastle.asn1.ASN1Primitive getDERObject()
SecurityInfo
getDERObject
in class SecurityInfo
public String getObjectIdentifier()
getObjectIdentifier
in class SecurityInfo
public int getFileId()
public byte getShortFileId()
Copyright © 2016. All rights reserved.