class Virgil::SDK::Cryptography::Hashes::HashAlgorithm::UnknownAlgorithmException

Exception raised when Unknown Algorithm passed to convertion method

Public Class Methods

new(algorithm) click to toggle source
Calls superclass method
# File lib/virgil/sdk/cryptography/hashes/hash_algorithm.rb, line 45
def initialize(algorithm)
  @algorithm = algorithm
  super
end

Public Instance Methods

to_s() click to toggle source
# File lib/virgil/sdk/cryptography/hashes/hash_algorithm.rb, line 50
def to_s
  "KeyPairType not found: #{@algorithm}"
end