paymentcryptographydataplane_encrypt_data: Encrypts plaintext data to ciphertext using a symmetric...

View source: R/paymentcryptographydataplane_operations.R

paymentcryptographydataplane_encrypt_dataR Documentation

Encrypts plaintext data to ciphertext using a symmetric (TDES, AES), asymmetric (RSA), or derived (DUKPT or EMV) encryption key scheme

Description

Encrypts plaintext data to ciphertext using a symmetric (TDES, AES), asymmetric (RSA), or derived (DUKPT or EMV) encryption key scheme. For more information, see Encrypt data in the Amazon Web Services Payment Cryptography User Guide.

See https://www.paws-r-sdk.com/docs/paymentcryptographydataplane_encrypt_data/ for full documentation.

Usage

paymentcryptographydataplane_encrypt_data(
  KeyIdentifier,
  PlainText,
  EncryptionAttributes,
  WrappedKey = NULL
)

Arguments

KeyIdentifier

[required] 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.

PlainText

[required] 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.

EncryptionAttributes

[required] The encryption key type and attributes for plaintext encryption.

WrappedKey

The WrappedKeyBlock containing the encryption key for plaintext encryption.


paws.cost.management documentation built on April 3, 2025, 9:24 p.m.