class Aws::S3::Encryption::IOAuthDecrypter

def initialize(options = {})

Options Hash: (**options)
  • :cipher (required, OpenSSL::Cipher) -- An initialized
  • :encrypted_content_length (required, Integer) --
  • :io (required, IO#write) --
def initialize(options = {})
  @decrypter = IODecrypter.new(options[:cipher], options[:io])
  @max_bytes = options[:encrypted_content_length]
  @bytes_written = 0
end