Interface VerifyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<VerifyResponse.Builder,
,VerifyResponse> KmsResponse.Builder
,SdkBuilder<VerifyResponse.Builder,
,VerifyResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
VerifyResponse
public static interface VerifyResponse.Builder
extends KmsResponse.Builder, SdkPojo, CopyableBuilder<VerifyResponse.Builder,VerifyResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (key ARN) of the asymmetric KMS key that was used to verify the signature.signatureValid
(Boolean signatureValid) A Boolean value that indicates whether the signature was verified.signingAlgorithm
(String signingAlgorithm) The signing algorithm that was used to verify the signature.signingAlgorithm
(SigningAlgorithmSpec signingAlgorithm) The signing algorithm that was used to verify the signature.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.kms.model.KmsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
keyId
The Amazon Resource Name (key ARN) of the asymmetric KMS key that was used to verify the signature.
- Parameters:
keyId
- The Amazon Resource Name (key ARN) of the asymmetric KMS key that was used to verify the signature.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signatureValid
A Boolean value that indicates whether the signature was verified. A value of
True
indicates that theSignature
was produced by signing theMessage
with the specifiedKeyID
andSigningAlgorithm.
If the signature is not verified, theVerify
operation fails with aKMSInvalidSignatureException
exception.- Parameters:
signatureValid
- A Boolean value that indicates whether the signature was verified. A value ofTrue
indicates that theSignature
was produced by signing theMessage
with the specifiedKeyID
andSigningAlgorithm.
If the signature is not verified, theVerify
operation fails with aKMSInvalidSignatureException
exception.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signingAlgorithm
The signing algorithm that was used to verify the signature.
- Parameters:
signingAlgorithm
- The signing algorithm that was used to verify the signature.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
signingAlgorithm
The signing algorithm that was used to verify the signature.
- Parameters:
signingAlgorithm
- The signing algorithm that was used to verify the signature.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-