Exception: Aws::S3::EncryptionV3::Errors::CEKAlgMismatchError

Inherits:
DecryptionError
  • Object
show all
Defined in:
gems/aws-sdk-s3/lib/aws-sdk-s3/encryptionV3/errors.rb

Instance Method Summary collapse

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