public static interface VerifyMacResponse.Builder extends KmsResponse.Builder, SdkPojo, CopyableBuilder<VerifyMacResponse.Builder,VerifyMacResponse>
| Modifier and Type | Method and Description |
|---|---|
VerifyMacResponse.Builder |
keyId(String keyId)
The HMAC KMS key used in the verification.
|
VerifyMacResponse.Builder |
macAlgorithm(MacAlgorithmSpec macAlgorithm)
The MAC algorithm used in the verification.
|
VerifyMacResponse.Builder |
macAlgorithm(String macAlgorithm)
The MAC algorithm used in the verification.
|
VerifyMacResponse.Builder |
macValid(Boolean macValid)
A Boolean value that indicates whether the HMAC was verified.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildVerifyMacResponse.Builder keyId(String keyId)
The HMAC KMS key used in the verification.
keyId - The HMAC KMS key used in the verification.VerifyMacResponse.Builder macValid(Boolean macValid)
A Boolean value that indicates whether the HMAC was verified. A value of True indicates that the
HMAC (Mac) was generated with the specified Message, HMAC KMS key (
KeyID) and MacAlgorithm..
If the HMAC is not verified, the VerifyMac operation fails with a
KMSInvalidMacException exception. This exception indicates that one or more of the inputs
changed since the HMAC was computed.
macValid - A Boolean value that indicates whether the HMAC was verified. A value of True indicates
that the HMAC (Mac) was generated with the specified Message, HMAC KMS key (
KeyID) and MacAlgorithm..
If the HMAC is not verified, the VerifyMac operation fails with a
KMSInvalidMacException exception. This exception indicates that one or more of the inputs
changed since the HMAC was computed.
VerifyMacResponse.Builder macAlgorithm(String macAlgorithm)
The MAC algorithm used in the verification.
macAlgorithm - The MAC algorithm used in the verification.MacAlgorithmSpec,
MacAlgorithmSpecVerifyMacResponse.Builder macAlgorithm(MacAlgorithmSpec macAlgorithm)
The MAC algorithm used in the verification.
macAlgorithm - The MAC algorithm used in the verification.MacAlgorithmSpec,
MacAlgorithmSpecCopyright © 2023. All rights reserved.