t.c.c.k._BaseEntry(object) : class documentation

Part of twisted.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: str)
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: str)
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: str)
publicKey =
The server public key indicated by this line. (type: twisted.conch.ssh.keys.Key)
comment =
Trailing garbage after the key line. (type: str)
def __init__(self, keyType, publicKey, comment): (source)
Undocumented
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 2013-04-03 11:20:05.