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.
keyType =
The type of the key; either ssh-dss or ssh-rsa. (type: bytes)
publicKey =
The server public key indicated by this line. (type: twisted.conch.ssh.keys.Key)
comment =
Trailing garbage after the key line. (type: bytes)
def __init__(self, keyType, publicKey, comment): (source)
def matchesKey(self, keyObject): (source)

Check to see if this entry matches a given key object.

ParameterskeyObjectA public key object to check. (type: Key)
ReturnsTrue if this entry's key matches keyObject, False otherwise. (type: bool)
API Documentation for Twisted, generated by pydoctor at 2018-10-15 19:29:43.