@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.
|
responseMetadata
sdkHttpResponse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public 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()
.
SigningAlgorithmSpec
public 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()
.
SigningAlgorithmSpec
public VerifyResponse.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<VerifyResponse.Builder,VerifyResponse>
toBuilder
in class AwsResponse
public static VerifyResponse.Builder builder()
public static Class<? extends VerifyResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsResponse
public final boolean equals(Object obj)
equals
in class AwsResponse
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkResponse
Copyright © 2022. All rights reserved.