Class: Aws::S3::EncryptionV2::EncryptHandler Private
- Inherits:
-
Seahorse::Client::Handler
- Object
- Seahorse::Client::Handler
- Aws::S3::EncryptionV2::EncryptHandler
- Defined in:
- lib/aws-sdk-s3/encryptionV2/encrypt_handler.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #call(context) ⇒ Object private
Instance Method Details
#call(context) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/aws-sdk-s3/encryptionV2/encrypt_handler.rb', line 11 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 |