class Net::SSH::Transport::Session::CompatibleVerifier

Compatibility verifier which allows users to keep using custom verifier code without adding new :verify_signature method.

Public Class Methods

new(verifier) click to toggle source
# File lib/net/ssh/transport/session.rb, line 281
def initialize(verifier)
  @verifier = verifier
end

Public Instance Methods

verify(arguments) click to toggle source
# File lib/net/ssh/transport/session.rb, line 285
def verify(arguments)
  @verifier.verify(arguments)
end
verify_signature() { || ... } click to toggle source
# File lib/net/ssh/transport/session.rb, line 289
def verify_signature(&block)
  yield
end