class documentation

Abstract base of both hashed and non-hashed entry objects, since they represent keys and key types the same way.

Method __init__ Undocumented
Method matchesKey Check to see if this entry matches a given key object.
Instance Variable comment Trailing garbage after the key line.
Instance Variable keyType The type of the key; either ssh-dss or ssh-rsa.
Instance Variable publicKey The server public key indicated by this line.
def __init__(self, keyType, publicKey, comment):
def matchesKey(self, keyObject):

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

Parameters
keyObject:KeyA public key object to check.
Returns
boolTrue if this entry's key matches keyObject, False otherwise.
comment: bytes =

Trailing garbage after the key line.

keyType: bytes =

The type of the key; either ssh-dss or ssh-rsa.

The server public key indicated by this line.