Here are the examples of the python api twisted.cred.credentials.ISSHPrivateKey taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
3
View Complete Implementation : test_strcred.py
Copyright MIT License
Author : wistbean
Copyright MIT License
Author : wistbean
def test_isChecker(self):
"""
Verifies that strcred.makeChecker('sshkey') returns an object
that implements the L{ICredentialsChecker} interface.
"""
sshChecker = strcred.makeChecker('sshkey')
self.astertTrue(checkers.ICredentialsChecker.providedBy(sshChecker))
self.astertIn(
credentials.ISSHPrivateKey, sshChecker.credentialInterfaces)