Class MultipartEncryptedContent

    • Constructor Detail

      • MultipartEncryptedContent

        public MultipartEncryptedContent​(byte[] iv,
                                         Cipher cipher,
                                         long ciphertextLength)
    • Method Detail

      • getAsyncCiphertext

        public software.amazon.awssdk.core.async.AsyncRequestBody getAsyncCiphertext()
        MultipartEncryptedContent cannot store a ciphertext AsyncRequestBody as it one is generated for each part using the cipher in this class.
        Overrides:
        getAsyncCiphertext in class EncryptedContent
        Throws:
        UnsupportedOperationException - always
      • getCipher

        public Cipher getCipher()
        Returns:
        the cipher used for the duration of the multipart upload