Object
This class is originally defined in the OpenSSL module. As needed, methods have been added to it by the Net::SSH module for convenience in dealing with SSH functionality.
Returns the signature for the given data.
# File lib/net/ssh/transport/openssl.rb, line 73 def ssh_do_sign(data) sign(OpenSSL::Digest::SHA1.new, data) end
Verifies the given signature matches the given data.
# File lib/net/ssh/transport/openssl.rb, line 68 def ssh_do_verify(sig, data) verify(OpenSSL::Digest::SHA1.new, sig, data) end
Generated with the Darkfish Rdoc Generator 2.