@Generated(value="software.amazon.awssdk:codegen") public final class GenerateMacResponse extends PaymentCryptographyDataResponse implements ToCopyableBuilder<GenerateMacResponse.Builder,GenerateMacResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GenerateMacResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GenerateMacResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
keyArn()
The
keyARN of the encryption key that Amazon Web Services Payment Cryptography uses for MAC
generation. |
String |
keyCheckValue()
The key check value (KCV) of the encryption key.
|
String |
mac()
The MAC cryptogram generated within Amazon Web Services Payment Cryptography.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GenerateMacResponse.Builder> |
serializableBuilderClass() |
GenerateMacResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String keyArn()
The keyARN of the encryption key that Amazon Web Services Payment Cryptography uses for MAC
generation.
keyARN of the encryption key that Amazon Web Services Payment Cryptography uses for MAC
generation.public final String keyCheckValue()
The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed. Amazon Web Services Payment Cryptography calculates the KCV by using standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and then truncating the result to the first 3 bytes, or 6 hex digits, of the resulting cryptogram.
public final String mac()
The MAC cryptogram generated within Amazon Web Services Payment Cryptography.
public GenerateMacResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GenerateMacResponse.Builder,GenerateMacResponse>toBuilder in class AwsResponsepublic static GenerateMacResponse.Builder builder()
public static Class<? extends GenerateMacResponse.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.