Class DukptDerivationAttributes
- java.lang.Object
-
- software.amazon.awssdk.services.paymentcryptographydata.model.DukptDerivationAttributes
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DukptDerivationAttributes.Builder,DukptDerivationAttributes>
@Generated("software.amazon.awssdk:codegen") public final class DukptDerivationAttributes extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DukptDerivationAttributes.Builder,DukptDerivationAttributes>
Parameters required for encryption or decryption of data using DUKPT.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDukptDerivationAttributes.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DukptDerivationAttributes.Builderbuilder()DukptDerivationTypedukptKeyDerivationType()The key type derived using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN).StringdukptKeyDerivationTypeAsString()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 for incoming data decryption, outgoing data encryption, or both.StringdukptKeyVariantAsString()The type of use of DUKPT, which can be for incoming data decryption, outgoing data encryption, 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 DukptDerivationAttributes.Builder>serializableBuilderClass()DukptDerivationAttributes.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
-
dukptKeyDerivationType
public final DukptDerivationType dukptKeyDerivationType()
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_2KEYIf the service returns an enum value that is not available in the current SDK version,
dukptKeyDerivationTypewill returnDukptDerivationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdukptKeyDerivationTypeAsString().- 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
-
dukptKeyDerivationTypeAsString
public final String dukptKeyDerivationTypeAsString()
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_2KEYIf the service returns an enum value that is not available in the current SDK version,
dukptKeyDerivationTypewill returnDukptDerivationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdukptKeyDerivationTypeAsString().- 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 for incoming data decryption, outgoing data encryption, 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 for incoming data decryption, outgoing data encryption, or both.
- See Also:
DukptKeyVariant
-
dukptKeyVariantAsString
public final String dukptKeyVariantAsString()
The type of use of DUKPT, which can be for incoming data decryption, outgoing data encryption, 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 for incoming data decryption, outgoing data encryption, 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 DukptDerivationAttributes.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DukptDerivationAttributes.Builder,DukptDerivationAttributes>
-
builder
public static DukptDerivationAttributes.Builder builder()
-
serializableBuilderClass
public static Class<? extends DukptDerivationAttributes.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.
-
-