# ``twisted`.`cred`.`credentials`.`ISSHPrivateKey``

interface documentation

`class ISSHPrivateKey(ICredentials): (source)`

Known implementations: `twisted.cred.credentials.SSHPrivateKey`

View In Hierarchy

`ISSHPrivateKey` credentials encapsulate an SSH public key to be checked against a user's private key.

Instance Variable | `algName` | The algorithm name for the blob.
Instance Variable | `blob` | The public key blob as sent by the client.
Instance Variable | `sigData` | The data the signature was made from.
Instance Variable | `signature` | The signed data. This is checked to verify that the user owns the private key.
Instance Variable | `username` | The username associated with these credentials.

algName: `bytes` = (source)
The algorithm name for the blob.
blob: `bytes` = (source)
The public key blob as sent by the client.
sigData: `bytes` = (source)
The data the signature was made from.
signature: `bytes` or `None` = (source)
The signed data. This is checked to verify that the user owns the private key.
username: `bytes` = (source)
The username associated with these credentials.