Method: SSHData::PublicKey::RSA#==

Defined in:
lib/ssh_data/public_key/rsa.rb

#==(other) ⇒ Object

Is this public key equal to another public key?

other - Another SSHData::PublicKey::Base instance to compare with.

Returns boolean.



59
60
61
# File 'lib/ssh_data/public_key/rsa.rb', line 59

def ==(other)
  super && other.e == e && other.n == n
end