Class: Aws::PaymentCryptographyData::Types::EncryptDataInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::PaymentCryptographyData::Types::EncryptDataInput
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-paymentcryptographydata/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[:plain_text]
Instance Attribute Summary collapse
-
#encryption_attributes ⇒ Types::EncryptionDecryptionAttributes
The encryption key type and attributes for plaintext encryption.
-
#key_identifier ⇒ String
The ‘keyARN` of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption.
-
#plain_text ⇒ String
The plaintext to be encrypted.
-
#wrapped_key ⇒ Types::WrappedKey
The WrappedKeyBlock containing the encryption key for plaintext encryption.
Instance Attribute Details
#encryption_attributes ⇒ Types::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_identifier ⇒ String
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.
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_text ⇒ String
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
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_key ⇒ Types::WrappedKey
The WrappedKeyBlock containing the encryption key 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 |