Exception: Virgil::SDK::Cryptography::Hashes::HashAlgorithm::UnknownAlgorithmException
- Inherits:
-
StandardError
- Object
- StandardError
- Virgil::SDK::Cryptography::Hashes::HashAlgorithm::UnknownAlgorithmException
- Defined in:
- lib/virgil/sdk/cryptography/hashes/hash_algorithm.rb
Overview
Exception raised when Unknown Algorithm passed to convertion method
Instance Method Summary collapse
-
#initialize(algorithm) ⇒ UnknownAlgorithmException
constructor
A new instance of UnknownAlgorithmException.
- #to_s ⇒ Object
Constructor Details
#initialize(algorithm) ⇒ UnknownAlgorithmException
Returns a new instance of UnknownAlgorithmException
45 46 47 48 |
# File 'lib/virgil/sdk/cryptography/hashes/hash_algorithm.rb', line 45 def initialize(algorithm) @algorithm = algorithm super end |
Instance Method Details
#to_s ⇒ Object
50 51 52 |
# File 'lib/virgil/sdk/cryptography/hashes/hash_algorithm.rb', line 50 def to_s "KeyPairType not found: #{@algorithm}" end |