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.BuilderkeyId(String keyId)The Amazon Resource Name (key ARN) of the asymmetric KMS key that was used to verify the signature.VerifyResponse.BuildersignatureValid(Boolean signatureValid)A Boolean value that indicates whether the signature was verified.VerifyResponse.BuildersigningAlgorithm(String signingAlgorithm)The signing algorithm that was used to verify the signature.VerifyResponse.BuildersigningAlgorithm(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, sdkFieldNameToField, 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
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
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
-
-