Package org.jmrtd

Interface AccessKeySpec

  • All Superinterfaces:
    java.security.spec.KeySpec, java.io.Serializable
    All Known Subinterfaces:
    BACKeySpec
    All Known Implementing Classes:
    BACKey, PACEKeySpec, PACESecretKeySpec

    public interface AccessKeySpec
    extends java.io.Serializable, java.security.spec.KeySpec
    Super interface for BACKeySpec and PACEKeySpec.
    Version:
    $Revision: 1799 $
    Author:
    The JMRTD team ([email protected])
    • Method Detail

      • getAlgorithm

        java.lang.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