You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Exception: Aws::S3::EncryptionV2::Errors::CEKAlgMismatchError

Inherits:
DecryptionError
  • Object
show all
Defined in:
aws-sdk-resources/lib/aws-sdk-resources/services/s3/encryptionV2/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ CEKAlgMismatchError

Returns a new instance of CEKAlgMismatchError.



26
27
28
29
30
31
# File 'aws-sdk-resources/lib/aws-sdk-resources/services/s3/encryptionV2/errors.rb', line 26

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