JMRTD 0.4.5

org.jmrtd.lds
Class DG11File

java.lang.Object
  extended by org.jmrtd.lds.PassportFile
      extended by org.jmrtd.lds.DataGroup
          extended by 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.

  1. Name of Holder (Primary and Secondary Identifiers, in full)
  2. Other Name(s)
  3. Personal Number
  4. Place of Birth
  5. Date of Birth (in full)
  6. Address
  7. Telephone Number(s)
  8. Profession
  9. Title
  10. Personal Summary
  11. Proof of Citizenship [see 14.5.1]
  12. Number of Other Valid Travel Documents
  13. Other Travel Document Numbers
  14. Custody Information

Version:
$Revision: 1246 $
Author:
Martijn Oostdijk (martijn.oostdijk@gmail.com)

Field Summary
 
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.
 
Method Summary
 boolean equals(Object obj)
           
 String getCustodyInformation()
           
 byte[] getEncoded()
          Gets this file encoded as bytes, including ICAO tag.
 Date getFullDateOfBirth()
           
 String getFullNamePrimaryIdentifier()
           
 List<String> getFullNameSecondaryIdentifiers()
           
 List<String> getOtherValidTDNumbers()
           
 List<String> getPermanentAddress()
           
 String getPersonalNumber()
           
 String getPersonalSummary()
           
 List<String> getPlaceOfBirth()
           
 String getProfession()
           
 BufferedImage getProofOfCitizenship()
           
 int getTag()
          The data group tag.
 String getTelephone()
           
 String getTitle()
           
 int hashCode()
           
 String toString()
          Gets a textual representation of this file.
 
Methods inherited from class org.jmrtd.lds.DataGroup
getLength
 
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
 

Constructor Detail

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 element
fullNamesecondaryIdentifiers - data element
personalNumber - data element
fullDateOfBirth - data element
placeOfBirth - data element
permanentAddress - data element
telephone - data element
profession - data element
title - data element
personalSummary - data element
proofOfCitizenship - data element
otherValidTDNumbers - data element
custodyInformation - data element

DG11File

public DG11File(InputStream in)
         throws IOException
Throws:
IOException
Method Detail

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.

JMRTD 0.4.5