org.jmrtd.lds
Class DG11File
java.lang.Object
org.jmrtd.lds.PassportFile
org.jmrtd.lds.DataGroup
org.jmrtd.lds.DG11File
public class DG11File
- extends DataGroup
File structure for the EF_DG11 file.
Datagroup 11 contains additional personal detail(s).
All fields are optional. See Section 16 of LDS-TR.
- Name of Holder (Primary and Secondary Identifiers, in full)
- Other Name(s)
- Personal Number
- Place of Birth
- Date of Birth (in full)
- Address
- Telephone Number(s)
- Profession
- Title
- Personal Summary
- Proof of Citizenship [see 14.5.1]
- Number of Other Valid Travel Documents
- Other Travel Document Numbers
- Custody Information
- Version:
- $Revision: 1246 $
- Author:
- Martijn Oostdijk (martijn.oostdijk@gmail.com)
| 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 |
DG11File(InputStream in)
|
DG11File(String fullNamePrimaryIdentifier,
List<String> fullNamesecondaryIdentifiers,
String personalNumber,
Date fullDateOfBirth,
List<String> placeOfBirth,
List<String> permanentAddress,
String telephone,
String profession,
String title,
String personalSummary,
BufferedImage proofOfCitizenship,
List<String> otherValidTDNumbers,
String custodyInformation)
Constructs a new file. |
DG11File
public DG11File(String fullNamePrimaryIdentifier,
List<String> fullNamesecondaryIdentifiers,
String personalNumber,
Date fullDateOfBirth,
List<String> placeOfBirth,
List<String> permanentAddress,
String telephone,
String profession,
String title,
String personalSummary,
BufferedImage proofOfCitizenship,
List<String> otherValidTDNumbers,
String custodyInformation)
- Constructs a new file. Use
null if data element is not present.
Use '<' as separator.
- Parameters:
fullNamePrimaryIdentifier - data elementfullNamesecondaryIdentifiers - data elementpersonalNumber - data elementfullDateOfBirth - data elementplaceOfBirth - data elementpermanentAddress - data elementtelephone - data elementprofession - data elementtitle - data elementpersonalSummary - data elementproofOfCitizenship - data elementotherValidTDNumbers - data elementcustodyInformation - data element
DG11File
public DG11File(InputStream in)
throws IOException
- Throws:
IOException
getTag
public int getTag()
- Description copied from class:
DataGroup
- The data group tag.
- Overrides:
getTag in class DataGroup
- Returns:
- the tag of the data group
getFullNamePrimaryIdentifier
public String getFullNamePrimaryIdentifier()
- Returns:
- the fullNamePrimaryIdentifier
getFullNameSecondaryIdentifiers
public List<String> getFullNameSecondaryIdentifiers()
- Returns:
- the fullNamesecondaryIdentifiers
getPersonalNumber
public String getPersonalNumber()
- Returns:
- the personalNumber
getFullDateOfBirth
public Date getFullDateOfBirth()
- Returns:
- the fullDateOfBirth
getPlaceOfBirth
public List<String> getPlaceOfBirth()
- Returns:
- the placeOfBirth
getPermanentAddress
public List<String> getPermanentAddress()
- Returns:
- the permanentAddress
getTelephone
public String getTelephone()
- Returns:
- the telephone
getProfession
public String getProfession()
- Returns:
- the profession
getTitle
public String getTitle()
- Returns:
- the title
getPersonalSummary
public String getPersonalSummary()
- Returns:
- the personalSummary
getProofOfCitizenship
public BufferedImage getProofOfCitizenship()
- Returns:
- the proofOfCitizenship
getOtherValidTDNumbers
public List<String> getOtherValidTDNumbers()
- Returns:
- the otherValidTDNumbers
getCustodyInformation
public String getCustodyInformation()
- Returns:
- the custodyInformation
toString
public String toString()
- Gets a textual representation of this file.
- Overrides:
toString in class DataGroup
- Returns:
- a textual representation of this file
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
getEncoded
public byte[] getEncoded()
- Gets this file encoded as bytes, including ICAO tag.
- Specified by:
getEncoded in class DataGroup
- Returns:
- this file as byte array.