class documentation
class _BaseEntry:
Known subclasses: twisted.conch.client.knownhosts.HashedEntry
, twisted.conch.client.knownhosts.PlainEntry
Constructor: _BaseEntry(keyType, publicKey, comment)
Abstract base of both hashed and non-hashed entry objects, since they represent keys and key types the same way.
Method | __init__ |
Undocumented |
Method | matches |
Check to see if this entry matches a given key object. |
Instance Variable | comment |
Trailing garbage after the key line. |
Instance Variable | key |
The type of the key; either ssh-dss or ssh-rsa. |
Instance Variable | public |
The server public key indicated by this line. |
overridden in
twisted.conch.client.knownhosts.HashedEntry
, twisted.conch.client.knownhosts.PlainEntry
Undocumented
Check to see if this entry matches a given key object.
Parameters | |
keyKey | A public key object to check. |
Returns | |
bool | True if this entry's key matches keyObject, False otherwise. |