A mock user auth client.

Method getPublicKey If this is the first time we've been called, return a blob for the DSA key. Otherwise, return a blob for the RSA key.
Method getPrivateKey Return the private key object for the RSA key.
Method getPassword Return 'foo' as the password.
Method getGenericAnswers Return 'foo' as the answer to two questions.
def getPublicKey(self):

If this is the first time we've been called, return a blob for the DSA key. Otherwise, return a blob for the RSA key.

def getPrivateKey(self):

Return the private key object for the RSA key.

def getPassword(self, prompt=None):

Return 'foo' as the password.

def getGenericAnswers(self, name, information, answers):

Return 'foo' as the answer to two questions.

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.