Class: Aws::PaymentCryptographyData::Types::EncryptDataInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-paymentcryptographydata/lib/aws-sdk-paymentcryptographydata/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:plain_text]

Instance Attribute Summary collapse

Instance Attribute Details

#encryption_attributesTypes::EncryptionDecryptionAttributes

The encryption key type and attributes for plaintext encryption.



666
667
668
669
670
671
672
# File 'gems/aws-sdk-paymentcryptographydata/lib/aws-sdk-paymentcryptographydata/types.rb', line 666

class EncryptDataInput < Struct.new(
  :encryption_attributes,
  :key_identifier,
  :plain_text)
  SENSITIVE = [:plain_text]
  include Aws::Structure
end

#key_identifierString

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

Returns:

  • (String)


666
667
668
669
670
671
672
# File 'gems/aws-sdk-paymentcryptographydata/lib/aws-sdk-paymentcryptographydata/types.rb', line 666

class EncryptDataInput < Struct.new(
  :encryption_attributes,
  :key_identifier,
  :plain_text)
  SENSITIVE = [:plain_text]
  include Aws::Structure
end

#plain_textString

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:

  • (String)


666
667
668
669
670
671
672
# File 'gems/aws-sdk-paymentcryptographydata/lib/aws-sdk-paymentcryptographydata/types.rb', line 666

class EncryptDataInput < Struct.new(
  :encryption_attributes,
  :key_identifier,
  :plain_text)
  SENSITIVE = [:plain_text]
  include Aws::Structure
end