Skip to main content

IKMSReEncryptRequest

Interface in AWS.KMS

Interface for ReEncrypt requests.

Ancestors

Properties

CiphertextBlob

property CiphertextBlob: TStream

Specify the ciphertext of the data to reencrypt.

DestinationEncryptionAlgorithm

property DestinationEncryptionAlgorithm: string

Specify the encryption algorithm to use to reencrypt the data after it has been decrypted.

Default value: SYMMETRIC_DEFAULT. Valid values: SYMMETRIC_DEFAULT | RSAES_OAEP_SHA_1 | RSAES_OAEP_SHA_256 | SM2PKE.

DestinationEncryptionContext

property DestinationEncryptionContext: TDictionary<string, string>

Specify the encryption context to use when reencrypting the data.

DestinationKeyId

property DestinationKeyId: string

Specify the Amazon Resource Name (ARN), ID, alias ARN, or alias name of a KMS key to be used to reencrypt the data.

GrantTokens

property GrantTokens: TList<string>

Specify a list of grant tokens.

SourceEncryptionAlgorithm

property SourceEncryptionAlgorithm: string

Specify the encryption algorithm to use to decrypt the ciphertext.

Default value: SYMMETRIC_DEFAULT. Valid values: SYMMETRIC_DEFAULT | RSAES_OAEP_SHA_1 | RSAES_OAEP_SHA_256 | SM2PKE.

SourceEncryptionContext

property SourceEncryptionContext: TDictionary<string, string>

Specify the encryption context to use when decrypting ciphertext.

SourceKeyId

property SourceKeyId: string

Specify the Amazon Resource Name (ARN), ID, alias ARN, or alias name of a KMS key to be used to decrypt ciphertext before it's reencrypted.

Methods

AddDestinationEncryptionContext

procedure AddDestinationEncryptionContext(const AKey, AValue: string);

Add a key-value pair to DestinationEncryptionContext.

Parameters

NameDescription
AKeySpecify a key for the destination encryption context.
AValueSpecify a value for the destination encryption context.

AddGrantToken

function AddGrantToken(const AGrantToken: string): Integer;

Add a token to GrantTokens.

Parameters

NameDescription
AGrantTokenSpecify a token to add to GrantTokens.

Returns

Resturns the index of the item added to GrantTokens.

AddSourceEncryptionContext

procedure AddSourceEncryptionContext(const AKey, AValue: string);

Add a key-value pair to SourceEncryptionContext.

Parameters

NameDescription
AKeySpecify a key for the source encryption context.
AValueSpecify a value for the source encryption context.