@Generated(value="software.amazon.awssdk:codegen") public final class VerifyResponse extends KmsResponse implements ToCopyableBuilder<VerifyResponse.Builder,VerifyResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
VerifyResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static VerifyResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
keyId()
The Amazon Resource Name (key ARN) of the
asymmetric KMS key that was used to verify the signature.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends VerifyResponse.Builder> |
serializableBuilderClass() |
Boolean |
signatureValid()
A Boolean value that indicates whether the signature was verified.
|
SigningAlgorithmSpec |
signingAlgorithm()
The signing algorithm that was used to verify the signature.
|
String |
signingAlgorithmAsString()
The signing algorithm that was used to verify the signature.
|
VerifyResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String keyId()
The Amazon Resource Name (key ARN) of the asymmetric KMS key that was used to verify the signature.
public final Boolean signatureValid()
A Boolean value that indicates whether the signature was verified. A value of True indicates that
the Signature was produced by signing the Message with the specified KeyID
and SigningAlgorithm. If the signature is not verified, the Verify operation fails with
a KMSInvalidSignatureException exception.
True indicates
that the Signature was produced by signing the Message with the specified
KeyID and SigningAlgorithm. If the signature is not verified, the
Verify operation fails with a KMSInvalidSignatureException exception.public final SigningAlgorithmSpec signingAlgorithm()
The signing algorithm that was used to verify the signature.
If the service returns an enum value that is not available in the current SDK version, signingAlgorithm
will return SigningAlgorithmSpec.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from signingAlgorithmAsString().
SigningAlgorithmSpecpublic final String signingAlgorithmAsString()
The signing algorithm that was used to verify the signature.
If the service returns an enum value that is not available in the current SDK version, signingAlgorithm
will return SigningAlgorithmSpec.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from signingAlgorithmAsString().
SigningAlgorithmSpecpublic VerifyResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<VerifyResponse.Builder,VerifyResponse>toBuilder in class AwsResponsepublic static VerifyResponse.Builder builder()
public static Class<? extends VerifyResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.