|
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.PassportFile
org.jmrtd.lds.CVCAFile
public class CVCAFile
| Field Summary | |
|---|---|
static byte |
CAR_TAG
|
static int |
LENGTH
|
| Fields inherited from class org.jmrtd.lds.PassportFile |
|---|
EF_COM_TAG, EF_DG1_TAG, EF_DG10_TAG, EF_DG11_TAG, EF_DG12_TAG, EF_DG13_TAG, EF_DG14_TAG, EF_DG15_TAG, EF_DG16_TAG, EF_DG2_TAG, EF_DG3_TAG, EF_DG4_TAG, EF_DG5_TAG, EF_DG6_TAG, EF_DG7_TAG, EF_DG8_TAG, EF_DG9_TAG, EF_SOD_TAG |
| Constructor Summary | |
|---|---|
CVCAFile(InputStream in)
Constructs a new CVCA file from the data contained in in. |
|
CVCAFile(String caReference)
Constructs a new CVCA file with the given certificate reference |
|
CVCAFile(String caReference,
String altCaReference)
Constructs a new CVCA file with the given certificate references |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
|
org.jmrtd.cert.CVCPrincipal |
getAltCAReference()
Returns the second (alternative) CA Certificate identifier, null if none exists. |
org.jmrtd.cert.CVCPrincipal |
getCAReference()
Returns the CA Certificate identifier |
byte[] |
getEncoded()
Gets the contents of this file as byte array, includes the ICAO tag and length. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class org.jmrtd.lds.PassportFile |
|---|
createPassportFile, lookupDataGroupNumberByTag, lookupFIDByDataGroupNumber, lookupFIDByTag, lookupTagByDataGroupNumber, lookupTagByFID, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final byte CAR_TAG
public static final int LENGTH
| Constructor Detail |
|---|
public CVCAFile(InputStream in)
in.
in - stream with the data to be parsed
public CVCAFile(String caReference,
String altCaReference)
caReference - main CA certificate referencealtCaReference - second (alternative) CA certificate referencepublic CVCAFile(String caReference)
caReference - main CA certificate reference| Method Detail |
|---|
public byte[] getEncoded()
PassportFile
getEncoded in class PassportFilepublic org.jmrtd.cert.CVCPrincipal getCAReference()
public org.jmrtd.cert.CVCPrincipal getAltCAReference()
public String toString()
toString in class Objectpublic boolean equals(Object other)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
JMRTD 0.4.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||