class Aws::S3::EncryptionV2::EncryptHandler
def call(context)
def call(context) envelope, cipher = context[:encryption][:cipher_provider] .encryption_cipher( kms_encryption_context: context[:encryption][:kms_encryption_context] ) context[:encryption][:cipher] = cipher apply_encryption_envelope(context, envelope) apply_encryption_cipher(context, cipher) apply_cse_user_agent(context) @handler.call(context) end