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

Inherits:
DecryptionError
  • Object
show all
Defined in:
lib/aws-sdk-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 'lib/aws-sdk-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