Interface SymmetricEncryptionAttributes.Builder

    • Method Detail

      • initializationVector

        SymmetricEncryptionAttributes.Builder initializationVector​(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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mode

        SymmetricEncryptionAttributes.Builder mode​(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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EncryptionMode, EncryptionMode
      • mode

        SymmetricEncryptionAttributes.Builder mode​(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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EncryptionMode, EncryptionMode