AWS SDK for C++  1.8.95
AWS SDK for C++
Public Member Functions | List of all members
Aws::KMS::Model::VerifyRequest Class Reference

#include <VerifyRequest.h>

+ Inheritance diagram for Aws::KMS::Model::VerifyRequest:

Public Member Functions

 VerifyRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetKeyId () const
 
bool KeyIdHasBeenSet () const
 
void SetKeyId (const Aws::String &value)
 
void SetKeyId (Aws::String &&value)
 
void SetKeyId (const char *value)
 
VerifyRequestWithKeyId (const Aws::String &value)
 
VerifyRequestWithKeyId (Aws::String &&value)
 
VerifyRequestWithKeyId (const char *value)
 
const Aws::Utils::CryptoBufferGetMessage () const
 
bool MessageHasBeenSet () const
 
void SetMessage (const Aws::Utils::CryptoBuffer &value)
 
void SetMessage (Aws::Utils::CryptoBuffer &&value)
 
VerifyRequestWithMessage (const Aws::Utils::CryptoBuffer &value)
 
VerifyRequestWithMessage (Aws::Utils::CryptoBuffer &&value)
 
const MessageTypeGetMessageType () const
 
bool MessageTypeHasBeenSet () const
 
void SetMessageType (const MessageType &value)
 
void SetMessageType (MessageType &&value)
 
VerifyRequestWithMessageType (const MessageType &value)
 
VerifyRequestWithMessageType (MessageType &&value)
 
const Aws::Utils::ByteBufferGetSignature () const
 
bool SignatureHasBeenSet () const
 
void SetSignature (const Aws::Utils::ByteBuffer &value)
 
void SetSignature (Aws::Utils::ByteBuffer &&value)
 
VerifyRequestWithSignature (const Aws::Utils::ByteBuffer &value)
 
VerifyRequestWithSignature (Aws::Utils::ByteBuffer &&value)
 
const SigningAlgorithmSpecGetSigningAlgorithm () const
 
bool SigningAlgorithmHasBeenSet () const
 
void SetSigningAlgorithm (const SigningAlgorithmSpec &value)
 
void SetSigningAlgorithm (SigningAlgorithmSpec &&value)
 
VerifyRequestWithSigningAlgorithm (const SigningAlgorithmSpec &value)
 
VerifyRequestWithSigningAlgorithm (SigningAlgorithmSpec &&value)
 
const Aws::Vector< Aws::String > & GetGrantTokens () const
 
bool GrantTokensHasBeenSet () const
 
void SetGrantTokens (const Aws::Vector< Aws::String > &value)
 
void SetGrantTokens (Aws::Vector< Aws::String > &&value)
 
VerifyRequestWithGrantTokens (const Aws::Vector< Aws::String > &value)
 
VerifyRequestWithGrantTokens (Aws::Vector< Aws::String > &&value)
 
VerifyRequestAddGrantTokens (const Aws::String &value)
 
VerifyRequestAddGrantTokens (Aws::String &&value)
 
VerifyRequestAddGrantTokens (const char *value)
 
- Public Member Functions inherited from Aws::KMS::KMSRequest
virtual ~KMSRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 25 of file VerifyRequest.h.

Constructor & Destructor Documentation

◆ VerifyRequest()

Aws::KMS::Model::VerifyRequest::VerifyRequest ( )

Member Function Documentation

◆ AddGrantTokens() [1/3]

VerifyRequest& Aws::KMS::Model::VerifyRequest::AddGrantTokens ( const Aws::String value)
inline

A list of grant tokens.

For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.

Definition at line 429 of file VerifyRequest.h.

◆ AddGrantTokens() [2/3]

VerifyRequest& Aws::KMS::Model::VerifyRequest::AddGrantTokens ( Aws::String &&  value)
inline

A list of grant tokens.

For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.

Definition at line 436 of file VerifyRequest.h.

◆ AddGrantTokens() [3/3]

VerifyRequest& Aws::KMS::Model::VerifyRequest::AddGrantTokens ( const char *  value)
inline

A list of grant tokens.

For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.

Definition at line 443 of file VerifyRequest.h.

◆ GetGrantTokens()

const Aws::Vector<Aws::String>& Aws::KMS::Model::VerifyRequest::GetGrantTokens ( ) const
inline

A list of grant tokens.

For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.

Definition at line 387 of file VerifyRequest.h.

◆ GetKeyId()

const Aws::String& Aws::KMS::Model::VerifyRequest::GetKeyId ( ) const
inline

Identifies the asymmetric CMK that will be used to verify the signature. This must be the same CMK that was used to generate the signature. If you specify a different CMK, the signature verification fails.

To specify a CMK, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. When using an alias name, prefix it with "alias/". To specify a CMK in a different AWS account, you must use the key ARN or alias ARN.

For example:

  • Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

  • Alias name: alias/ExampleAlias

  • Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias

To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey. To get the alias name and alias ARN, use ListAliases.

Definition at line 57 of file VerifyRequest.h.

◆ GetMessage()

const Aws::Utils::CryptoBuffer& Aws::KMS::Model::VerifyRequest::GetMessage ( ) const
inline

Specifies the message that was signed. You can submit a raw message of up to 4096 bytes, or a hash digest of the message. If you submit a digest, use the MessageType parameter with a value of DIGEST.

If the message specified here is different from the message that was signed, the signature verification fails. A message and its hash digest are considered to be the same message.

Definition at line 194 of file VerifyRequest.h.

◆ GetMessageType()

const MessageType& Aws::KMS::Model::VerifyRequest::GetMessageType ( ) const
inline

Tells AWS KMS whether the value of the Message parameter is a message or message digest. The default value, RAW, indicates a message. To indicate a message digest, enter DIGEST.

Use the DIGEST value only when the value of the Message parameter is a message digest. If you use the DIGEST value with a raw message, the security of the verification operation can be compromised.

Definition at line 256 of file VerifyRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::KMS::Model::VerifyRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

Reimplemented from Aws::KMS::KMSRequest.

◆ GetServiceRequestName()

virtual const char* Aws::KMS::Model::VerifyRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 34 of file VerifyRequest.h.

◆ GetSignature()

const Aws::Utils::ByteBuffer& Aws::KMS::Model::VerifyRequest::GetSignature ( ) const
inline

The signature that the Sign operation generated.

Definition at line 317 of file VerifyRequest.h.

◆ GetSigningAlgorithm()

const SigningAlgorithmSpec& Aws::KMS::Model::VerifyRequest::GetSigningAlgorithm ( ) const
inline

The signing algorithm that was used to sign the message. If you submit a different algorithm, the signature verification fails.

Definition at line 349 of file VerifyRequest.h.

◆ GrantTokensHasBeenSet()

bool Aws::KMS::Model::VerifyRequest::GrantTokensHasBeenSet ( ) const
inline

A list of grant tokens.

For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.

Definition at line 394 of file VerifyRequest.h.

◆ KeyIdHasBeenSet()

bool Aws::KMS::Model::VerifyRequest::KeyIdHasBeenSet ( ) const
inline

Identifies the asymmetric CMK that will be used to verify the signature. This must be the same CMK that was used to generate the signature. If you specify a different CMK, the signature verification fails.

To specify a CMK, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. When using an alias name, prefix it with "alias/". To specify a CMK in a different AWS account, you must use the key ARN or alias ARN.

For example:

  • Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

  • Alias name: alias/ExampleAlias

  • Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias

To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey. To get the alias name and alias ARN, use ListAliases.

Definition at line 75 of file VerifyRequest.h.

◆ MessageHasBeenSet()

bool Aws::KMS::Model::VerifyRequest::MessageHasBeenSet ( ) const
inline

Specifies the message that was signed. You can submit a raw message of up to 4096 bytes, or a hash digest of the message. If you submit a digest, use the MessageType parameter with a value of DIGEST.

If the message specified here is different from the message that was signed, the signature verification fails. A message and its hash digest are considered to be the same message.

Definition at line 204 of file VerifyRequest.h.

◆ MessageTypeHasBeenSet()

bool Aws::KMS::Model::VerifyRequest::MessageTypeHasBeenSet ( ) const
inline

Tells AWS KMS whether the value of the Message parameter is a message or message digest. The default value, RAW, indicates a message. To indicate a message digest, enter DIGEST.

Use the DIGEST value only when the value of the Message parameter is a message digest. If you use the DIGEST value with a raw message, the security of the verification operation can be compromised.

Definition at line 267 of file VerifyRequest.h.

◆ SerializePayload()

Aws::String Aws::KMS::Model::VerifyRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetGrantTokens() [1/2]

void Aws::KMS::Model::VerifyRequest::SetGrantTokens ( const Aws::Vector< Aws::String > &  value)
inline

A list of grant tokens.

For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.

Definition at line 401 of file VerifyRequest.h.

◆ SetGrantTokens() [2/2]

void Aws::KMS::Model::VerifyRequest::SetGrantTokens ( Aws::Vector< Aws::String > &&  value)
inline

A list of grant tokens.

For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.

Definition at line 408 of file VerifyRequest.h.

◆ SetKeyId() [1/3]

void Aws::KMS::Model::VerifyRequest::SetKeyId ( const Aws::String value)
inline

Identifies the asymmetric CMK that will be used to verify the signature. This must be the same CMK that was used to generate the signature. If you specify a different CMK, the signature verification fails.

To specify a CMK, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. When using an alias name, prefix it with "alias/". To specify a CMK in a different AWS account, you must use the key ARN or alias ARN.

For example:

  • Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

  • Alias name: alias/ExampleAlias

  • Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias

To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey. To get the alias name and alias ARN, use ListAliases.

Definition at line 93 of file VerifyRequest.h.

◆ SetKeyId() [2/3]

void Aws::KMS::Model::VerifyRequest::SetKeyId ( Aws::String &&  value)
inline

Identifies the asymmetric CMK that will be used to verify the signature. This must be the same CMK that was used to generate the signature. If you specify a different CMK, the signature verification fails.

To specify a CMK, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. When using an alias name, prefix it with "alias/". To specify a CMK in a different AWS account, you must use the key ARN or alias ARN.

For example:

  • Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

  • Alias name: alias/ExampleAlias

  • Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias

To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey. To get the alias name and alias ARN, use ListAliases.

Definition at line 111 of file VerifyRequest.h.

◆ SetKeyId() [3/3]

void Aws::KMS::Model::VerifyRequest::SetKeyId ( const char *  value)
inline

Identifies the asymmetric CMK that will be used to verify the signature. This must be the same CMK that was used to generate the signature. If you specify a different CMK, the signature verification fails.

To specify a CMK, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. When using an alias name, prefix it with "alias/". To specify a CMK in a different AWS account, you must use the key ARN or alias ARN.

For example:

  • Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

  • Alias name: alias/ExampleAlias

  • Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias

To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey. To get the alias name and alias ARN, use ListAliases.

Definition at line 129 of file VerifyRequest.h.

◆ SetMessage() [1/2]

void Aws::KMS::Model::VerifyRequest::SetMessage ( const Aws::Utils::CryptoBuffer value)
inline

Specifies the message that was signed. You can submit a raw message of up to 4096 bytes, or a hash digest of the message. If you submit a digest, use the MessageType parameter with a value of DIGEST.

If the message specified here is different from the message that was signed, the signature verification fails. A message and its hash digest are considered to be the same message.

Definition at line 214 of file VerifyRequest.h.

◆ SetMessage() [2/2]

void Aws::KMS::Model::VerifyRequest::SetMessage ( Aws::Utils::CryptoBuffer &&  value)
inline

Specifies the message that was signed. You can submit a raw message of up to 4096 bytes, or a hash digest of the message. If you submit a digest, use the MessageType parameter with a value of DIGEST.

If the message specified here is different from the message that was signed, the signature verification fails. A message and its hash digest are considered to be the same message.

Definition at line 224 of file VerifyRequest.h.

◆ SetMessageType() [1/2]

void Aws::KMS::Model::VerifyRequest::SetMessageType ( const MessageType value)
inline

Tells AWS KMS whether the value of the Message parameter is a message or message digest. The default value, RAW, indicates a message. To indicate a message digest, enter DIGEST.

Use the DIGEST value only when the value of the Message parameter is a message digest. If you use the DIGEST value with a raw message, the security of the verification operation can be compromised.

Definition at line 278 of file VerifyRequest.h.

◆ SetMessageType() [2/2]

void Aws::KMS::Model::VerifyRequest::SetMessageType ( MessageType &&  value)
inline

Tells AWS KMS whether the value of the Message parameter is a message or message digest. The default value, RAW, indicates a message. To indicate a message digest, enter DIGEST.

Use the DIGEST value only when the value of the Message parameter is a message digest. If you use the DIGEST value with a raw message, the security of the verification operation can be compromised.

Definition at line 289 of file VerifyRequest.h.

◆ SetSignature() [1/2]

void Aws::KMS::Model::VerifyRequest::SetSignature ( const Aws::Utils::ByteBuffer value)
inline

The signature that the Sign operation generated.

Definition at line 327 of file VerifyRequest.h.

◆ SetSignature() [2/2]

void Aws::KMS::Model::VerifyRequest::SetSignature ( Aws::Utils::ByteBuffer &&  value)
inline

The signature that the Sign operation generated.

Definition at line 332 of file VerifyRequest.h.

◆ SetSigningAlgorithm() [1/2]

void Aws::KMS::Model::VerifyRequest::SetSigningAlgorithm ( const SigningAlgorithmSpec value)
inline

The signing algorithm that was used to sign the message. If you submit a different algorithm, the signature verification fails.

Definition at line 361 of file VerifyRequest.h.

◆ SetSigningAlgorithm() [2/2]

void Aws::KMS::Model::VerifyRequest::SetSigningAlgorithm ( SigningAlgorithmSpec &&  value)
inline

The signing algorithm that was used to sign the message. If you submit a different algorithm, the signature verification fails.

Definition at line 367 of file VerifyRequest.h.

◆ SignatureHasBeenSet()

bool Aws::KMS::Model::VerifyRequest::SignatureHasBeenSet ( ) const
inline

The signature that the Sign operation generated.

Definition at line 322 of file VerifyRequest.h.

◆ SigningAlgorithmHasBeenSet()

bool Aws::KMS::Model::VerifyRequest::SigningAlgorithmHasBeenSet ( ) const
inline

The signing algorithm that was used to sign the message. If you submit a different algorithm, the signature verification fails.

Definition at line 355 of file VerifyRequest.h.

◆ WithGrantTokens() [1/2]

VerifyRequest& Aws::KMS::Model::VerifyRequest::WithGrantTokens ( const Aws::Vector< Aws::String > &  value)
inline

A list of grant tokens.

For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.

Definition at line 415 of file VerifyRequest.h.

◆ WithGrantTokens() [2/2]

VerifyRequest& Aws::KMS::Model::VerifyRequest::WithGrantTokens ( Aws::Vector< Aws::String > &&  value)
inline

A list of grant tokens.

For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.

Definition at line 422 of file VerifyRequest.h.

◆ WithKeyId() [1/3]

VerifyRequest& Aws::KMS::Model::VerifyRequest::WithKeyId ( const Aws::String value)
inline

Identifies the asymmetric CMK that will be used to verify the signature. This must be the same CMK that was used to generate the signature. If you specify a different CMK, the signature verification fails.

To specify a CMK, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. When using an alias name, prefix it with "alias/". To specify a CMK in a different AWS account, you must use the key ARN or alias ARN.

For example:

  • Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

  • Alias name: alias/ExampleAlias

  • Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias

To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey. To get the alias name and alias ARN, use ListAliases.

Definition at line 147 of file VerifyRequest.h.

◆ WithKeyId() [2/3]

VerifyRequest& Aws::KMS::Model::VerifyRequest::WithKeyId ( Aws::String &&  value)
inline

Identifies the asymmetric CMK that will be used to verify the signature. This must be the same CMK that was used to generate the signature. If you specify a different CMK, the signature verification fails.

To specify a CMK, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. When using an alias name, prefix it with "alias/". To specify a CMK in a different AWS account, you must use the key ARN or alias ARN.

For example:

  • Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

  • Alias name: alias/ExampleAlias

  • Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias

To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey. To get the alias name and alias ARN, use ListAliases.

Definition at line 165 of file VerifyRequest.h.

◆ WithKeyId() [3/3]

VerifyRequest& Aws::KMS::Model::VerifyRequest::WithKeyId ( const char *  value)
inline

Identifies the asymmetric CMK that will be used to verify the signature. This must be the same CMK that was used to generate the signature. If you specify a different CMK, the signature verification fails.

To specify a CMK, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. When using an alias name, prefix it with "alias/". To specify a CMK in a different AWS account, you must use the key ARN or alias ARN.

For example:

  • Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

  • Alias name: alias/ExampleAlias

  • Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias

To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey. To get the alias name and alias ARN, use ListAliases.

Definition at line 183 of file VerifyRequest.h.

◆ WithMessage() [1/2]

VerifyRequest& Aws::KMS::Model::VerifyRequest::WithMessage ( const Aws::Utils::CryptoBuffer value)
inline

Specifies the message that was signed. You can submit a raw message of up to 4096 bytes, or a hash digest of the message. If you submit a digest, use the MessageType parameter with a value of DIGEST.

If the message specified here is different from the message that was signed, the signature verification fails. A message and its hash digest are considered to be the same message.

Definition at line 234 of file VerifyRequest.h.

◆ WithMessage() [2/2]

VerifyRequest& Aws::KMS::Model::VerifyRequest::WithMessage ( Aws::Utils::CryptoBuffer &&  value)
inline

Specifies the message that was signed. You can submit a raw message of up to 4096 bytes, or a hash digest of the message. If you submit a digest, use the MessageType parameter with a value of DIGEST.

If the message specified here is different from the message that was signed, the signature verification fails. A message and its hash digest are considered to be the same message.

Definition at line 244 of file VerifyRequest.h.

◆ WithMessageType() [1/2]

VerifyRequest& Aws::KMS::Model::VerifyRequest::WithMessageType ( const MessageType value)
inline

Tells AWS KMS whether the value of the Message parameter is a message or message digest. The default value, RAW, indicates a message. To indicate a message digest, enter DIGEST.

Use the DIGEST value only when the value of the Message parameter is a message digest. If you use the DIGEST value with a raw message, the security of the verification operation can be compromised.

Definition at line 300 of file VerifyRequest.h.

◆ WithMessageType() [2/2]

VerifyRequest& Aws::KMS::Model::VerifyRequest::WithMessageType ( MessageType &&  value)
inline

Tells AWS KMS whether the value of the Message parameter is a message or message digest. The default value, RAW, indicates a message. To indicate a message digest, enter DIGEST.

Use the DIGEST value only when the value of the Message parameter is a message digest. If you use the DIGEST value with a raw message, the security of the verification operation can be compromised.

Definition at line 311 of file VerifyRequest.h.

◆ WithSignature() [1/2]

VerifyRequest& Aws::KMS::Model::VerifyRequest::WithSignature ( const Aws::Utils::ByteBuffer value)
inline

The signature that the Sign operation generated.

Definition at line 337 of file VerifyRequest.h.

◆ WithSignature() [2/2]

VerifyRequest& Aws::KMS::Model::VerifyRequest::WithSignature ( Aws::Utils::ByteBuffer &&  value)
inline

The signature that the Sign operation generated.

Definition at line 342 of file VerifyRequest.h.

◆ WithSigningAlgorithm() [1/2]

VerifyRequest& Aws::KMS::Model::VerifyRequest::WithSigningAlgorithm ( const SigningAlgorithmSpec value)
inline

The signing algorithm that was used to sign the message. If you submit a different algorithm, the signature verification fails.

Definition at line 373 of file VerifyRequest.h.

◆ WithSigningAlgorithm() [2/2]

VerifyRequest& Aws::KMS::Model::VerifyRequest::WithSigningAlgorithm ( SigningAlgorithmSpec &&  value)
inline

The signing algorithm that was used to sign the message. If you submit a different algorithm, the signature verification fails.

Definition at line 379 of file VerifyRequest.h.


The documentation for this class was generated from the following file: