Class MacAlgorithmDukpt
- java.lang.Object
-
- software.amazon.awssdk.services.paymentcryptographydata.model.MacAlgorithmDukpt
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MacAlgorithmDukpt.Builder,MacAlgorithmDukpt>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMacAlgorithmDukpt.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MacAlgorithmDukpt.Builderbuilder()DukptDerivationTypedukptDerivationType()The key type derived using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN).StringdukptDerivationTypeAsString()The key type derived using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN).DukptKeyVariantdukptKeyVariant()The type of use of DUKPT, which can be MAC generation, MAC verification, or both.StringdukptKeyVariantAsString()The type of use of DUKPT, which can be MAC generation, MAC verification, or both.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkeySerialNumber()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.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
dukptDerivationType
public 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_128as a derivation type for a BDK ofAES_128orTDES_2KEY.If the service returns an enum value that is not available in the current SDK version,
dukptDerivationTypewill returnDukptDerivationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdukptDerivationTypeAsString().- Returns:
- 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_128as a derivation type for a BDK ofAES_128orTDES_2KEY. - See Also:
DukptDerivationType
-
dukptDerivationTypeAsString
public 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_128as a derivation type for a BDK ofAES_128orTDES_2KEY.If the service returns an enum value that is not available in the current SDK version,
dukptDerivationTypewill returnDukptDerivationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdukptDerivationTypeAsString().- Returns:
- 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_128as a derivation type for a BDK ofAES_128orTDES_2KEY. - See Also:
DukptDerivationType
-
dukptKeyVariant
public 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,
dukptKeyVariantwill returnDukptKeyVariant.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdukptKeyVariantAsString().- Returns:
- The type of use of DUKPT, which can be MAC generation, MAC verification, or both.
- See Also:
DukptKeyVariant
-
dukptKeyVariantAsString
public 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,
dukptKeyVariantwill returnDukptKeyVariant.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdukptKeyVariantAsString().- Returns:
- The type of use of DUKPT, which can be MAC generation, MAC verification, or both.
- See Also:
DukptKeyVariant
-
keySerialNumber
public 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.
- Returns:
- 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.
-
toBuilder
public MacAlgorithmDukpt.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MacAlgorithmDukpt.Builder,MacAlgorithmDukpt>
-
builder
public static MacAlgorithmDukpt.Builder builder()
-
serializableBuilderClass
public static Class<? extends MacAlgorithmDukpt.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-