@Generated(value="software.amazon.awssdk:codegen") public final class DukptEncryptionAttributes extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DukptEncryptionAttributes.Builder,DukptEncryptionAttributes>
Parameters that are required to encrypt plaintext data using DUKPT.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DukptEncryptionAttributes.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DukptEncryptionAttributes.Builder |
builder() |
DukptDerivationType |
dukptKeyDerivationType()
The key type encrypted using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN).
|
String |
dukptKeyDerivationTypeAsString()
The key type encrypted using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN).
|
DukptKeyVariant |
dukptKeyVariant()
The type of use of DUKPT, which can be incoming data decryption, outgoing data encryption, or both.
|
String |
dukptKeyVariantAsString()
The type of use of DUKPT, which can be incoming data decryption, outgoing data encryption, or both.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
initializationVector()
An input to cryptographic primitive used to provide the intial state.
|
String |
keySerialNumber()
The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT
encryption method.
|
DukptEncryptionMode |
mode()
The block cipher mode of operation.
|
String |
modeAsString()
The block cipher mode of operation.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DukptEncryptionAttributes.Builder> |
serializableBuilderClass() |
DukptEncryptionAttributes.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final DukptDerivationType dukptKeyDerivationType()
The key type encrypted 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,
dukptKeyDerivationType will return DukptDerivationType.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from dukptKeyDerivationTypeAsString().
AES_128 as
a derivation type for a BDK of AES_128 or TDES_2KEYDukptDerivationTypepublic final String dukptKeyDerivationTypeAsString()
The key type encrypted 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,
dukptKeyDerivationType will return DukptDerivationType.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from dukptKeyDerivationTypeAsString().
AES_128 as
a derivation type for a BDK of AES_128 or TDES_2KEYDukptDerivationTypepublic final DukptKeyVariant dukptKeyVariant()
The type of use of DUKPT, which can be incoming data decryption, outgoing data encryption, 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 incoming data decryption, outgoing data encryption, 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 initializationVector()
An input to cryptographic primitive used to provide the intial state. Typically the
InitializationVector must have a random or psuedo-random value, but sometimes it only needs to be
unpredictable or unique. If you don't provide a value, Amazon Web Services Payment Cryptography generates a
random value.
InitializationVector must have a random or psuedo-random value, but sometimes it only needs
to be unpredictable or unique. If you don't provide a value, Amazon Web Services Payment Cryptography
generates a random value.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.
public final DukptEncryptionMode mode()
The block cipher mode of operation. Block ciphers are designed to encrypt a block of data of fixed size, for example, 128 bits. The size of the input block is usually same as the size of the encrypted output block, while the key length can be different. A mode of operation describes how to repeatedly apply a cipher's single-block operation to securely transform amounts of data larger than a block.
The default is CBC.
If the service returns an enum value that is not available in the current SDK version, mode will return
DukptEncryptionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
modeAsString().
The default is CBC.
DukptEncryptionModepublic final String modeAsString()
The block cipher mode of operation. Block ciphers are designed to encrypt a block of data of fixed size, for example, 128 bits. The size of the input block is usually same as the size of the encrypted output block, while the key length can be different. A mode of operation describes how to repeatedly apply a cipher's single-block operation to securely transform amounts of data larger than a block.
The default is CBC.
If the service returns an enum value that is not available in the current SDK version, mode will return
DukptEncryptionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
modeAsString().
The default is CBC.
DukptEncryptionModepublic DukptEncryptionAttributes.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DukptEncryptionAttributes.Builder,DukptEncryptionAttributes>public static DukptEncryptionAttributes.Builder builder()
public static Class<? extends DukptEncryptionAttributes.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.