Class GenerateMacResponse

    • Method Detail

      • keyArn

        public final String keyArn()

        The keyARN of the encryption key that Amazon Web Services Payment Cryptography uses for MAC generation.

        Returns:
        The keyARN of the encryption key that Amazon Web Services Payment Cryptography uses for MAC generation.
      • keyCheckValue

        public final String keyCheckValue()

        The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed. Amazon Web Services Payment Cryptography calculates the KCV by using standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and then truncating the result to the first 3 bytes, or 6 hex digits, of the resulting cryptogram.

        Returns:
        The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed. Amazon Web Services Payment Cryptography calculates the KCV by using standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and then truncating the result to the first 3 bytes, or 6 hex digits, of the resulting cryptogram.
      • mac

        public final String mac()

        The MAC cryptogram generated within Amazon Web Services Payment Cryptography.

        Returns:
        The MAC cryptogram generated within Amazon Web Services Payment Cryptography.
      • 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