Interface VerifyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<VerifyResponse.Builder,,VerifyResponse> KmsResponse.Builder,SdkBuilder<VerifyResponse.Builder,,VerifyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
VerifyResponse
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.services.kms.model.KmsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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
Trueindicates that theSignaturewas produced by signing theMessagewith the specifiedKeyIDandSigningAlgorithm.If the signature is not verified, theVerifyoperation fails with aKMSInvalidSignatureExceptionexception.- Parameters:
signatureValid- A Boolean value that indicates whether the signature was verified. A value ofTrueindicates that theSignaturewas produced by signing theMessagewith the specifiedKeyIDandSigningAlgorithm.If the signature is not verified, theVerifyoperation fails with aKMSInvalidSignatureExceptionexception.- 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:
-