Class DukptAttributes
- java.lang.Object
-
- software.amazon.awssdk.services.paymentcryptographydata.model.DukptAttributes
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DukptAttributes.Builder,DukptAttributes>
@Generated("software.amazon.awssdk:codegen") public final class DukptAttributes extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DukptAttributes.Builder,DukptAttributes>
Parameters that are used for Derived Unique Key Per Transaction (DUKPT) derivation algorithm.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDukptAttributes.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DukptAttributes.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).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 DukptAttributes.Builder>serializableBuilderClass()DukptAttributes.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
-
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 DukptAttributes.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DukptAttributes.Builder,DukptAttributes>
-
builder
public static DukptAttributes.Builder builder()
-
serializableBuilderClass
public static Class<? extends DukptAttributes.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.
-
-