Exception: Xml::Kit::DecryptionError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/xml/kit/decryption_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(private_keys) ⇒ DecryptionError

Returns a new instance of DecryptionError.



8
9
10
11
# File 'lib/xml/kit/decryption_error.rb', line 8

def initialize(private_keys)
  @private_keys = private_keys
  super('Cannot decrypt document with the provided private keys')
end

Instance Attribute Details

#private_keysObject (readonly)

Returns the value of attribute private_keys.



6
7
8
# File 'lib/xml/kit/decryption_error.rb', line 6

def private_keys
  @private_keys
end