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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VerifyResponse.Builder
keyId(String keyId)
The Amazon Resource Name (key ARN) of the asymmetric KMS key that was used to verify the signature.VerifyResponse.Builder
signatureValid(Boolean signatureValid)
A Boolean value that indicates whether the signature was verified.VerifyResponse.Builder
signingAlgorithm(String signingAlgorithm)
The signing algorithm that was used to verify the signature.VerifyResponse.Builder
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 Detail
-
keyId
VerifyResponse.Builder keyId(String 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
VerifyResponse.Builder signatureValid(Boolean 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
VerifyResponse.Builder signingAlgorithm(String 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:
SigningAlgorithmSpec
,SigningAlgorithmSpec
-
signingAlgorithm
VerifyResponse.Builder signingAlgorithm(SigningAlgorithmSpec 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:
SigningAlgorithmSpec
,SigningAlgorithmSpec
-
-