Interface KDFIcaoMrtdSpec

All Superinterfaces:
AlgorithmParameterSpec

public interface KDFIcaoMrtdSpec extends AlgorithmParameterSpec
This interface specifies the set of parameters used to instantiate a DerivationFunction implementing KDF Key Derivation Function defined in the standard ICAO MRTD Doc 9303.

This interface is bound to the constant DerivationFunction.ALG_KDF_ICAO_MRTD.

Computation of the KDF function refers to H(K || c) where H is a digest algorithm, K is a shared secret and c a 32 bits counter.

Since:
3.1
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    byte
    Returns the Digest Algorithm associated with the derivation function.
    byte[]
    Gets the Counter.
    byte[]
    Gets the shared secret value for the key derivation function.
  • Method Details

    • getAlgorithm

      byte getAlgorithm()
      Returns the Digest Algorithm associated with the derivation function.
      Returns:
      the Digest algorithm associated with the derivation function
      See Also:
    • getSecret

      byte[] getSecret()
      Gets the shared secret value for the key derivation function.

      It may be an array view.

      Returns:
      the shared secret value
    • getCounter

      byte[] getCounter()
      Gets the Counter. It is a 4 bytes (32 bits) long.

      It may be an array view.

      Returns:
      the counter