Class DerivationMethodAttributes

    • Method Detail

      • emvCommon

        public final EmvCommonAttributes emvCommon()

        Parameters to derive the confidentiality and integrity keys for a payment card using Emv common derivation method.

        Returns:
        Parameters to derive the confidentiality and integrity keys for a payment card using Emv common derivation method.
      • amex

        public final AmexAttributes amex()

        Parameters to derive the confidentiality and integrity keys for a payment card using Amex derivation method.

        Returns:
        Parameters to derive the confidentiality and integrity keys for a payment card using Amex derivation method.
      • visa

        public final VisaAttributes visa()

        Parameters to derive the confidentiality and integrity keys for a a payment card using Visa derivation method.

        Returns:
        Parameters to derive the confidentiality and integrity keys for a a payment card using Visa derivation method.
      • emv2000

        public final Emv2000Attributes emv2000()

        Parameters to derive the confidentiality and integrity keys for a payment card using Emv2000 derivation method.

        Returns:
        Parameters to derive the confidentiality and integrity keys for a payment card using Emv2000 derivation method.
      • mastercard

        public final MasterCardAttributes mastercard()

        Parameters to derive the confidentiality and integrity keys for a payment card using Mastercard derivation method.

        Returns:
        Parameters to derive the confidentiality and integrity keys for a payment card using Mastercard derivation method.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)
      • fromEmvCommon

        public static DerivationMethodAttributes fromEmvCommon​(EmvCommonAttributes emvCommon)
        Create an instance of this class with emvCommon() initialized to the given value.

        Parameters to derive the confidentiality and integrity keys for a payment card using Emv common derivation method.

        Parameters:
        emvCommon - Parameters to derive the confidentiality and integrity keys for a payment card using Emv common derivation method.
      • fromEmvCommon

        public static DerivationMethodAttributes fromEmvCommon​(Consumer<EmvCommonAttributes.Builder> emvCommon)
        Create an instance of this class with emvCommon() initialized to the given value.

        Parameters to derive the confidentiality and integrity keys for a payment card using Emv common derivation method.

        Parameters:
        emvCommon - Parameters to derive the confidentiality and integrity keys for a payment card using Emv common derivation method.
      • fromAmex

        public static DerivationMethodAttributes fromAmex​(AmexAttributes amex)
        Create an instance of this class with amex() initialized to the given value.

        Parameters to derive the confidentiality and integrity keys for a payment card using Amex derivation method.

        Parameters:
        amex - Parameters to derive the confidentiality and integrity keys for a payment card using Amex derivation method.
      • fromAmex

        public static DerivationMethodAttributes fromAmex​(Consumer<AmexAttributes.Builder> amex)
        Create an instance of this class with amex() initialized to the given value.

        Parameters to derive the confidentiality and integrity keys for a payment card using Amex derivation method.

        Parameters:
        amex - Parameters to derive the confidentiality and integrity keys for a payment card using Amex derivation method.
      • fromVisa

        public static DerivationMethodAttributes fromVisa​(VisaAttributes visa)
        Create an instance of this class with visa() initialized to the given value.

        Parameters to derive the confidentiality and integrity keys for a a payment card using Visa derivation method.

        Parameters:
        visa - Parameters to derive the confidentiality and integrity keys for a a payment card using Visa derivation method.
      • fromVisa

        public static DerivationMethodAttributes fromVisa​(Consumer<VisaAttributes.Builder> visa)
        Create an instance of this class with visa() initialized to the given value.

        Parameters to derive the confidentiality and integrity keys for a a payment card using Visa derivation method.

        Parameters:
        visa - Parameters to derive the confidentiality and integrity keys for a a payment card using Visa derivation method.
      • fromEmv2000

        public static DerivationMethodAttributes fromEmv2000​(Emv2000Attributes emv2000)
        Create an instance of this class with emv2000() initialized to the given value.

        Parameters to derive the confidentiality and integrity keys for a payment card using Emv2000 derivation method.

        Parameters:
        emv2000 - Parameters to derive the confidentiality and integrity keys for a payment card using Emv2000 derivation method.
      • fromEmv2000

        public static DerivationMethodAttributes fromEmv2000​(Consumer<Emv2000Attributes.Builder> emv2000)
        Create an instance of this class with emv2000() initialized to the given value.

        Parameters to derive the confidentiality and integrity keys for a payment card using Emv2000 derivation method.

        Parameters:
        emv2000 - Parameters to derive the confidentiality and integrity keys for a payment card using Emv2000 derivation method.
      • fromMastercard

        public static DerivationMethodAttributes fromMastercard​(MasterCardAttributes mastercard)
        Create an instance of this class with mastercard() initialized to the given value.

        Parameters to derive the confidentiality and integrity keys for a payment card using Mastercard derivation method.

        Parameters:
        mastercard - Parameters to derive the confidentiality and integrity keys for a payment card using Mastercard derivation method.
      • fromMastercard

        public static DerivationMethodAttributes fromMastercard​(Consumer<MasterCardAttributes.Builder> mastercard)
        Create an instance of this class with mastercard() initialized to the given value.

        Parameters to derive the confidentiality and integrity keys for a payment card using Mastercard derivation method.

        Parameters:
        mastercard - Parameters to derive the confidentiality and integrity keys for a payment card using Mastercard derivation method.