JMRTD 0.4.6

org.jmrtd
Class BACKeySpec

java.lang.Object
  extended by org.jmrtd.BACKeySpec
All Implemented Interfaces:
KeySpec

public class BACKeySpec
extends Object
implements KeySpec

A BAC key entry.

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

Constructor Summary
BACKeySpec(String documentNumber, Date dateOfBirth, Date dateOfExpiry)
           
BACKeySpec(String documentNumber, String dateOfBirth, String dateOfExpiry)
           
 
Method Summary
 boolean equals(Object o)
           
 String getAlgorithm()
           
 String getDateOfBirth()
           
 String getDateOfExpiry()
           
 String getDocumentNumber()
           
 byte[] getEncoded()
           
 String getFormat()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BACKeySpec

public BACKeySpec(String documentNumber,
                  String dateOfBirth,
                  String dateOfExpiry)

BACKeySpec

public BACKeySpec(String documentNumber,
                  Date dateOfBirth,
                  Date dateOfExpiry)
Method Detail

getDocumentNumber

public String getDocumentNumber()

getDateOfBirth

public String getDateOfBirth()

getDateOfExpiry

public String getDateOfExpiry()

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

getAlgorithm

public String getAlgorithm()

getEncoded

public byte[] getEncoded()

getFormat

public String getFormat()

JMRTD 0.4.6