Exception: Aws::S3::EncryptionV3::Errors::CEKAlgMismatchError
- Inherits:
-
DecryptionError
- Object
- RuntimeError
- DecryptionError
- Aws::S3::EncryptionV3::Errors::CEKAlgMismatchError
- Defined in:
- gems/aws-sdk-s3/lib/aws-sdk-s3/encryptionV3/errors.rb
Instance Method Summary collapse
-
#initialize(*_args) ⇒ CEKAlgMismatchError
constructor
A new instance of CEKAlgMismatchError.
Constructor Details
#initialize(*_args) ⇒ CEKAlgMismatchError
Returns a new instance of CEKAlgMismatchError.
37 38 39 40 41 42 |
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/encryptionV3/errors.rb', line 37 def initialize(*_args) msg = 'The content encryption algorithm used at encryption time ' \ 'does not match the algorithm stored for decryption time. ' \ 'The object may be altered or corrupted.' super(msg) end |