Enum Class MKDMethod

java.lang.Object
java.lang.Enum<MKDMethod>
org.jpos.security.MKDMethod
All Implemented Interfaces:
Serializable, Comparable<MKDMethod>, Constable

public enum MKDMethod extends Enum<MKDMethod>
Indicate method for the derivation by the issuer of a 16-byte ICC Master Key used for Application Cryptogram generation, issuer authentication, and secure messaging.
These methods take as input the PAN and PAN Sequence Number, plus a 16-byte Issuer Master Key IMK, and produce the 16-byte ICC Master Key MK
Described in EMV v4.2 Book 2, Annex A1.4 Master Key Derivation
  • Enum Constant Details

    • OPTION_A

      public static final MKDMethod OPTION_A
      Uses PAN, PAN Sequence Number, IMK, Triple DES Described in EMV v4.2 Book 2, Annex A1.4.1
    • OPTION_B

      public static final MKDMethod OPTION_B
  • Method Details

    • values

      public static MKDMethod[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MKDMethod valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null