Exception: AWS::S3::Errors::DecryptionError
- Inherits:
-
StandardError
- Object
- StandardError
- AWS::S3::Errors::DecryptionError
- Defined in:
- lib/aws/s3/encryption_errors.rb
Instance Attribute Summary collapse
-
#env_key ⇒ Object
readonly
Returns the value of attribute env_key.
-
#original ⇒ Object
readonly
Returns the value of attribute original.
-
#public_key ⇒ Object
readonly
Returns the value of attribute public_key.
Instance Method Summary collapse
-
#initialize(public_key, env_key, original) ⇒ DecryptionError
constructor
A new instance of DecryptionError.
Constructor Details
#initialize(public_key, env_key, original) ⇒ DecryptionError
Returns a new instance of DecryptionError.
20 21 22 23 24 25 |
# File 'lib/aws/s3/encryption_errors.rb', line 20 def initialize(public_key, env_key, original) @public_key = public_key @env_key = env_key @original = original super("Could not decrypt envelope key using the given public key") end |
Instance Attribute Details
#env_key ⇒ Object (readonly)
Returns the value of attribute env_key.
17 18 19 |
# File 'lib/aws/s3/encryption_errors.rb', line 17 def env_key @env_key end |
#original ⇒ Object (readonly)
Returns the value of attribute original.
18 19 20 |
# File 'lib/aws/s3/encryption_errors.rb', line 18 def original @original end |
#public_key ⇒ Object (readonly)
Returns the value of attribute public_key.
16 17 18 |
# File 'lib/aws/s3/encryption_errors.rb', line 16 def public_key @public_key end |