@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SymmetricEncryptionAttributes extends Object implements Serializable, Cloneable, StructuredPojo
Parameters requried to encrypt plaintext data using symmetric keys.
| Constructor and Description |
|---|
SymmetricEncryptionAttributes() |
| Modifier and Type | Method and Description |
|---|---|
SymmetricEncryptionAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getInitializationVector()
An input to cryptographic primitive used to provide the intial state.
|
String |
getMode()
The block cipher mode of operation.
|
String |
getPaddingType()
The padding to be included with the data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setInitializationVector(String initializationVector)
An input to cryptographic primitive used to provide the intial state.
|
void |
setMode(String mode)
The block cipher mode of operation.
|
void |
setPaddingType(String paddingType)
The padding to be included with the data.
|
String |
toString()
Returns a string representation of this object.
|
SymmetricEncryptionAttributes |
withInitializationVector(String initializationVector)
An input to cryptographic primitive used to provide the intial state.
|
SymmetricEncryptionAttributes |
withMode(EncryptionMode mode)
The block cipher mode of operation.
|
SymmetricEncryptionAttributes |
withMode(String mode)
The block cipher mode of operation.
|
SymmetricEncryptionAttributes |
withPaddingType(PaddingType paddingType)
The padding to be included with the data.
|
SymmetricEncryptionAttributes |
withPaddingType(String paddingType)
The padding to be included with the data.
|
public void setInitializationVector(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 - 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.public String getInitializationVector()
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 SymmetricEncryptionAttributes withInitializationVector(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 - 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.public void setMode(String 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.
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.EncryptionModepublic String getMode()
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.
EncryptionModepublic SymmetricEncryptionAttributes withMode(String 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.
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.EncryptionModepublic SymmetricEncryptionAttributes withMode(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.
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.EncryptionModepublic void setPaddingType(String paddingType)
The padding to be included with the data.
paddingType - The padding to be included with the data.PaddingTypepublic String getPaddingType()
The padding to be included with the data.
PaddingTypepublic SymmetricEncryptionAttributes withPaddingType(String paddingType)
The padding to be included with the data.
paddingType - The padding to be included with the data.PaddingTypepublic SymmetricEncryptionAttributes withPaddingType(PaddingType paddingType)
The padding to be included with the data.
paddingType - The padding to be included with the data.PaddingTypepublic String toString()
toString in class ObjectObject.toString()public SymmetricEncryptionAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.