Class EncryptDataRequest

    • Method Detail

      • encryptionAttributes

        public final EncryptionDecryptionAttributes encryptionAttributes()

        The encryption key type and attributes for plaintext encryption.

        Returns:
        The encryption key type and attributes for plaintext encryption.
      • keyIdentifier

        public final String keyIdentifier()

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

        Returns:
        The keyARN of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption.
      • plainText

        public final String plainText()

        The plaintext to be encrypted.

        For encryption using asymmetric keys, plaintext data length is constrained by encryption key strength that you define in KeyAlgorithm and padding type that you define in AsymmetricEncryptionAttributes. For more information, see Encrypt data in the Amazon Web Services Payment Cryptography User Guide.

        Returns:
        The plaintext to be encrypted.

        For encryption using asymmetric keys, plaintext data length is constrained by encryption key strength that you define in KeyAlgorithm and padding type that you define in AsymmetricEncryptionAttributes. For more information, see Encrypt data in the Amazon Web Services Payment Cryptography User Guide.

      • 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