View source: R/kms_operations.R
kms_verify | R Documentation |
Verifies a digital signature that was generated by the sign
operation.
See https://www.paws-r-sdk.com/docs/kms_verify/ for full documentation.
kms_verify(
KeyId,
Message,
MessageType = NULL,
Signature,
SigningAlgorithm,
GrantTokens = NULL,
DryRun = NULL
)
KeyId |
[required] Identifies the asymmetric KMS key that will be used to verify the signature. This must be the same KMS key that was used to generate the signature. If you specify a different KMS key, the signature verification fails. To specify a KMS key, use its key ID, key ARN, alias name, or alias ARN.
When using an alias name, prefix it with For example:
To get the key ID and key ARN for a KMS key, use
|
Message |
[required] 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 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. |
MessageType |
Tells KMS whether the value of the When the value of Use the When the value of You can submit a message digest and omit the The hashing algorithm in that
|
Signature |
[required] The signature that the |
SigningAlgorithm |
[required] The signing algorithm that was used to sign the message. If you submit a different algorithm, the signature verification fails. |
GrantTokens |
A list of grant tokens. Use a grant token when your permission to call this operation comes from a new grant that has not yet achieved eventual consistency. For more information, see Grant token and Using a grant token in the Key Management Service Developer Guide. |
DryRun |
Checks if your request will succeed. To learn more about how to use this parameter, see Testing your KMS API calls in the Key Management Service Developer Guide. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.