Skip to main content

IKMSSignRequest

Interface in AWS.KMS

Interface for Sign requests.

Ancestors

Properties

GrantTokens

property GrantTokens: TList<string>

Specify a list of grant tokens.

KeyId

property KeyId: string

Specify the Amazon Resource Name (ARN), ID, alias name ARN, or alias name of an asymmetric KMS key to sign the message.

Message

property Message: TStream

Specify the message or message digest to sign.

Messages can be up to 4,096 bytes. To sign a larger message, provide a message digest.

MessageType

property MessageType: string

Specify whether the value of Message is a message or message digest.

When not specified, the message type is assumed to be RAW. Valid values: - RAW: Indicates Message is a message. - DIGEST: Indicates Message is a message digest.

SigningAlgorithm

property SigningAlgorithm: string

Specify the signing algorithm to use when signing the message.

Valid values: RSASSA_PSS_SHA_256 | RSASSA_PSS_SHA_384 | RSASSA_PSS_SHA_512 | RSASSA_PKCS1_V1_5_SHA_256 | RSASSA_PKCS1_V1_5_SHA_384 | RSASSA_PKCS1_V1_5_SHA_512 | ECDSA_SHA_256 | ECDSA_SHA_384 | ECDSA_SHA_512 | SM2DSA.

Methods

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.