C# Класс Amazon.KeyManagementService.Model.ReEncryptRequest

Container for the parameters to the ReEncrypt operation. Encrypts data on the server side with a new customer master key (CMK) without exposing the plaintext of the data on the client side. The data is first decrypted and then reencrypted. You can also use this operation to change the encryption context of a ciphertext.

Unlike other operations, ReEncrypt is authorized twice, once as ReEncryptFrom on the source CMK and once as ReEncryptTo on the destination CMK. We recommend that you include the "kms:ReEncrypt*" permission in your key policies to permit reencryption from or to the CMK. This permission is automatically included in the key policy when you create a CMK through the console, but you must include it manually when you create a CMK programmatically or when you set a key policy with the PutKeyPolicy operation.

Наследование: AmazonKeyManagementServiceRequest
Показать файл Открыть проект Примеры использования класса

Приватные методы

Метод Описание
IsSetCiphertextBlob ( ) : bool
IsSetDestinationEncryptionContext ( ) : bool
IsSetDestinationKeyId ( ) : bool
IsSetGrantTokens ( ) : bool
IsSetSourceEncryptionContext ( ) : bool