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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.



938
939
940
941
942
943
944
945
# File 'lib/aws-sdk-paymentcryptographydata/types.rb', line 938

class EncryptDataInput < Struct.new(
  :key_identifier,
  :plain_text,
  :encryption_attributes,
  :wrapped_key)
  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.

When a WrappedKeyBlock is provided, this value will be the identifier to the key wrapping key. Otherwise, it is the key identifier used to perform the operation.

Returns:

  • (String)


938
939
940
941
942
943
944
945
# File 'lib/aws-sdk-paymentcryptographydata/types.rb', line 938

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

#plain_textString

The plaintext to be encrypted.

<note markdown=“1”> 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*.

</note>

[1]: docs.aws.amazon.com/payment-cryptography/latest/userguide/encrypt-data.html

Returns:

  • (String)


938
939
940
941
942
943
944
945
# File 'lib/aws-sdk-paymentcryptographydata/types.rb', line 938

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

#wrapped_keyTypes::WrappedKey

The WrappedKeyBlock containing the encryption key for plaintext encryption.

Returns:



938
939
940
941
942
943
944
945
# File 'lib/aws-sdk-paymentcryptographydata/types.rb', line 938

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