org.jmrtd
Class BACKeySpec
java.lang.Object
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)
BACKeySpec
public BACKeySpec(String documentNumber,
Date dateOfBirth,
Date dateOfExpiry)
getDocumentNumber
public String getDocumentNumber()
getDateOfBirth
public Date getDateOfBirth()
getDateOfExpiry
public Date 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()