@Generated(value="software.amazon.awssdk:codegen") public final class MacAlgorithmDukpt extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MacAlgorithmDukpt.Builder,MacAlgorithmDukpt>
Parameters required for DUKPT MAC generation and verification.
| Modifier and Type | Class and Description |
|---|---|
static interface |
MacAlgorithmDukpt.Builder |
| Modifier and Type | Method and Description |
|---|---|
static MacAlgorithmDukpt.Builder |
builder() |
DukptDerivationType |
dukptDerivationType()
The key type derived using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN).
|
String |
dukptDerivationTypeAsString()
The key type derived using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN).
|
DukptKeyVariant |
dukptKeyVariant()
The type of use of DUKPT, which can be MAC generation, MAC verification, or both.
|
String |
dukptKeyVariantAsString()
The type of use of DUKPT, which can be MAC generation, MAC verification, or both.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
keySerialNumber()
The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT
encryption method.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends MacAlgorithmDukpt.Builder> |
serializableBuilderClass() |
MacAlgorithmDukpt.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final DukptDerivationType dukptDerivationType()
The key type derived using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must be less
than or equal to the strength of the BDK. For example, you can't use AES_128 as a derivation type
for a BDK of AES_128 or TDES_2KEY.
If the service returns an enum value that is not available in the current SDK version,
dukptDerivationType will return DukptDerivationType.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from dukptDerivationTypeAsString().
AES_128 as a
derivation type for a BDK of AES_128 or TDES_2KEY.DukptDerivationTypepublic final String dukptDerivationTypeAsString()
The key type derived using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must be less
than or equal to the strength of the BDK. For example, you can't use AES_128 as a derivation type
for a BDK of AES_128 or TDES_2KEY.
If the service returns an enum value that is not available in the current SDK version,
dukptDerivationType will return DukptDerivationType.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from dukptDerivationTypeAsString().
AES_128 as a
derivation type for a BDK of AES_128 or TDES_2KEY.DukptDerivationTypepublic final DukptKeyVariant dukptKeyVariant()
The type of use of DUKPT, which can be MAC generation, MAC verification, or both.
If the service returns an enum value that is not available in the current SDK version, dukptKeyVariant
will return DukptKeyVariant.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from dukptKeyVariantAsString().
DukptKeyVariantpublic final String dukptKeyVariantAsString()
The type of use of DUKPT, which can be MAC generation, MAC verification, or both.
If the service returns an enum value that is not available in the current SDK version, dukptKeyVariant
will return DukptKeyVariant.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from dukptKeyVariantAsString().
DukptKeyVariantpublic final String keySerialNumber()
The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT encryption method. The KSN is derived from the encrypting device unique identifier and an internal transaction counter.
public MacAlgorithmDukpt.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<MacAlgorithmDukpt.Builder,MacAlgorithmDukpt>public static MacAlgorithmDukpt.Builder builder()
public static Class<? extends MacAlgorithmDukpt.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.