@Generated(value="software.amazon.awssdk:codegen") public final class SymmetricEncryptionAttributes extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SymmetricEncryptionAttributes.Builder,SymmetricEncryptionAttributes>
Parameters requried to encrypt plaintext data using symmetric keys.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SymmetricEncryptionAttributes.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SymmetricEncryptionAttributes.Builder |
builder() |
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.
|
EncryptionMode |
mode()
The block cipher mode of operation.
|
String |
modeAsString()
The block cipher mode of operation.
|
PaddingType |
paddingType()
The padding to be included with the data.
|
String |
paddingTypeAsString()
The padding to be included with the data.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SymmetricEncryptionAttributes.Builder> |
serializableBuilderClass() |
SymmetricEncryptionAttributes.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String initializationVector()
An input to cryptographic primitive used to provide the intial state. The InitializationVector is
typically required have a random or psuedo-random value, but sometimes it only needs to be unpredictable or
unique. If a value is not provided, Amazon Web Services Payment Cryptography generates a random value.
InitializationVector is typically required have a random or psuedo-random value, but
sometimes it only needs to be unpredictable or unique. If a value is not provided, Amazon Web Services
Payment Cryptography generates a random value.public final EncryptionMode 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.
If the service returns an enum value that is not available in the current SDK version, mode will return
EncryptionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
modeAsString().
EncryptionModepublic 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.
If the service returns an enum value that is not available in the current SDK version, mode will return
EncryptionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
modeAsString().
EncryptionModepublic final PaddingType paddingType()
The padding to be included with the data.
If the service returns an enum value that is not available in the current SDK version, paddingType will
return PaddingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
paddingTypeAsString().
PaddingTypepublic final String paddingTypeAsString()
The padding to be included with the data.
If the service returns an enum value that is not available in the current SDK version, paddingType will
return PaddingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
paddingTypeAsString().
PaddingTypepublic SymmetricEncryptionAttributes.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SymmetricEncryptionAttributes.Builder,SymmetricEncryptionAttributes>public static SymmetricEncryptionAttributes.Builder builder()
public static Class<? extends SymmetricEncryptionAttributes.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.