| Class | OpenSSL::PKey::RSA |
| In: |
lib/net/ssh/util/openssl.rb
|
| Parent: | Object |
Returns the signature for the given data.
# File lib/net/ssh/util/openssl.rb, line 88
88: def ssh_do_sign( data )
89: sign( OpenSSL::Digest::SHA1.new, data )
90: end
Verifies the given signature matches the given data.
# File lib/net/ssh/util/openssl.rb, line 83
83: def ssh_do_verify( sig, data )
84: verify( OpenSSL::Digest::SHA1.new, sig, data )
85: end