tlslite.utils.python_rsakey module

Pure-Python RSA implementation.

class tlslite.utils.python_rsakey.Python_RSAKey(n=0, e=0, d=0, p=0, q=0, dP=0, dQ=0, qInv=0)

Bases: tlslite.utils.rsakey.RSAKey

__init__(n=0, e=0, d=0, p=0, q=0, dP=0, dQ=0, qInv=0)
acceptsPassword()
static generate(bits)
hasPrivateKey()
static parsePEM(s, passwordCallback=None)

Parse a string containing a PEM-encoded <privateKey>.