Package org.jmrtd
Interface AccessKeySpec
-
- All Superinterfaces:
KeySpec
,Serializable
- All Known Subinterfaces:
BACKeySpec
- All Known Implementing Classes:
BACKey
,PACEKeySpec
,PACESecretKeySpec
public interface AccessKeySpec extends Serializable, KeySpec
Super interface for BACKeySpec and PACEKeySpec.- Version:
- $Revision: 1799 $
- Author:
- The JMRTD team ([email protected])
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAlgorithm()
Returns the type of access key.byte[]
getKey()
Returns the bytes used for deriving the key seed.
-
-
-
Method Detail
-
getAlgorithm
String getAlgorithm()
Returns the type of access key. Typical values are"BAC"
, and"PACE"
.- Returns:
- the type of access key
-
getKey
byte[] getKey()
Returns the bytes used for deriving the key seed.- Returns:
- a byte array with the input for key derivation
-
-