twisted.conch.client.knownhosts._BaseEntry(object) class documentationtwisted.conch.client.knownhosts
View Source
(View In Hierarchy)
Known subclasses: twisted.conch.client.knownhosts.HashedEntry, twisted.conch.client.knownhosts.PlainEntry
Abstract base of both hashed and non-hashed entry objects, since they represent keys and key types the same way.
| Instance Variable | keyType | The type of the key; either ssh-dss or ssh-rsa. (type: bytes) |
| Instance Variable | publicKey | The server public key indicated by this line. (type: twisted.conch.ssh.keys.Key) |
| Instance Variable | comment | Trailing garbage after the key line. (type: bytes) |
| Method | __init__ | Undocumented |
| Method | matchesKey | Check to see if this entry matches a given key object. |