@Generated(value="software.amazon.awssdk:codegen") public final class SignResponse extends KmsResponse implements ToCopyableBuilder<SignResponse.Builder,SignResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
SignResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SignResponse.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 sign the message.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SignResponse.Builder> |
serializableBuilderClass() |
SdkBytes |
signature()
The cryptographic signature that was generated for the message.
|
SigningAlgorithmSpec |
signingAlgorithm()
The signing algorithm that was used to sign the message.
|
String |
signingAlgorithmAsString()
The signing algorithm that was used to sign the message.
|
SignResponse.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 sign the message.
public final SdkBytes signature()
The cryptographic signature that was generated for the message.
When used with the supported RSA signing algorithms, the encoding of this value is defined by PKCS #1 in RFC 8017.
When used with the ECDSA_SHA_256, ECDSA_SHA_384, or ECDSA_SHA_512 signing
algorithms, this value is a DER-encoded object as defined by ANSI X9.62–2005 and RFC 3279 Section 2.2.3. This is the most commonly
used signature format and is appropriate for most uses.
When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
When used with the supported RSA signing algorithms, the encoding of this value is defined by PKCS #1 in RFC 8017.
When used with the ECDSA_SHA_256, ECDSA_SHA_384, or ECDSA_SHA_512
signing algorithms, this value is a DER-encoded object as defined by ANSI X9.62–2005 and RFC 3279 Section 2.2.3. This is the most
commonly used signature format and is appropriate for most uses.
When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
public final SigningAlgorithmSpec signingAlgorithm()
The signing algorithm that was used to sign the message.
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 sign the message.
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 SignResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SignResponse.Builder,SignResponse>toBuilder in class AwsResponsepublic static SignResponse.Builder builder()
public static Class<? extends SignResponse.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.