Class DukptDerivationAttributes

    • Method Detail

      • dukptKeyDerivationType

        public final DukptDerivationType dukptKeyDerivationType()

        The key type derived using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must be less than or equal to the strength of the BDK. For example, you can't use AES_128 as a derivation type for a BDK of AES_128 or TDES_2KEY

        If the service returns an enum value that is not available in the current SDK version, dukptKeyDerivationType will return DukptDerivationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from dukptKeyDerivationTypeAsString().

        Returns:
        The key type derived using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must be less than or equal to the strength of the BDK. For example, you can't use AES_128 as a derivation type for a BDK of AES_128 or TDES_2KEY
        See Also:
        DukptDerivationType
      • dukptKeyDerivationTypeAsString

        public final String dukptKeyDerivationTypeAsString()

        The key type derived using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must be less than or equal to the strength of the BDK. For example, you can't use AES_128 as a derivation type for a BDK of AES_128 or TDES_2KEY

        If the service returns an enum value that is not available in the current SDK version, dukptKeyDerivationType will return DukptDerivationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from dukptKeyDerivationTypeAsString().

        Returns:
        The key type derived using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must be less than or equal to the strength of the BDK. For example, you can't use AES_128 as a derivation type for a BDK of AES_128 or TDES_2KEY
        See Also:
        DukptDerivationType
      • dukptKeyVariant

        public final DukptKeyVariant dukptKeyVariant()

        The type of use of DUKPT, which can be for incoming data decryption, outgoing data encryption, or both.

        If the service returns an enum value that is not available in the current SDK version, dukptKeyVariant will return DukptKeyVariant.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from dukptKeyVariantAsString().

        Returns:
        The type of use of DUKPT, which can be for incoming data decryption, outgoing data encryption, or both.
        See Also:
        DukptKeyVariant
      • dukptKeyVariantAsString

        public final String dukptKeyVariantAsString()

        The type of use of DUKPT, which can be for incoming data decryption, outgoing data encryption, or both.

        If the service returns an enum value that is not available in the current SDK version, dukptKeyVariant will return DukptKeyVariant.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from dukptKeyVariantAsString().

        Returns:
        The type of use of DUKPT, which can be for incoming data decryption, outgoing data encryption, or both.
        See Also:
        DukptKeyVariant
      • keySerialNumber

        public final String keySerialNumber()

        The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT encryption method. The KSN is derived from the encrypting device unique identifier and an internal transaction counter.

        Returns:
        The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT encryption method. The KSN is derived from the encrypting device unique identifier and an internal transaction counter.
      • 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)