|
JMRTD 0.4.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jmrtd.lds.SecurityInfo
org.jmrtd.lds.TerminalAuthenticationInfo
public class TerminalAuthenticationInfo
A concrete SecurityInfo structure that stores terminal authentication info, see EAC 1.11 specification. This data structure provides detailed information on an implementation of Terminal Authentication.
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.
| Field Summary | |
|---|---|
static int |
VERSION_NUM
|
| Constructor Summary | |
|---|---|
TerminalAuthenticationInfo(Integer fileId,
Integer shortFileId)
Constructs a new object with the required object identifier and version number and: |
|
TerminalAuthenticationInfo(String identifier,
int version)
Constructs a new object. |
|
TerminalAuthenticationInfo(String oid,
int version,
DERSequence efCVCA)
Constructs a new object. |
|
| Method Summary | |
|---|---|
static boolean |
checkRequiredIdentifier(String id)
Checks whether the given object identifier identifies a TerminalAuthenticationInfo structure. |
DERObject |
getDERObject()
Returns a DER object with this SecurityInfo data (DER sequence) |
int |
getFileID()
Returns the efCVCA file identifier stored in this file, -1 if none |
String |
getObjectIdentifier()
Returns the object identifier of this SecurityInfo |
byte |
getShortFileID()
Returns the efCVCA short file identifier stored in this file, -1 if none or not present |
String |
toString()
|
| Methods inherited from class org.jmrtd.lds.SecurityInfo |
|---|
lookupMnemonicByOID |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int VERSION_NUM
| Constructor Detail |
|---|
public TerminalAuthenticationInfo(String oid,
int version,
DERSequence efCVCA)
oid - the id_TA identifierversion - has to be 1efCVCA - the file ID information of the efCVCA file
public TerminalAuthenticationInfo(String identifier,
int version)
identifier - the id_TA identifierversion - has to be 1
public TerminalAuthenticationInfo(Integer fileId,
Integer shortFileId)
fileId - a file identifier reference to the efCVCA fileshortFileId - short file id for the above file, -1 if none| Method Detail |
|---|
public DERObject getDERObject()
SecurityInfo
public String getObjectIdentifier()
SecurityInfo
getObjectIdentifier in class SecurityInfopublic int getFileID()
public static boolean checkRequiredIdentifier(String id)
id - object identifier
public byte getShortFileID()
public String toString()
toString in class Object
|
JMRTD 0.4.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||