No class docstring
Class Method load Undocumented
Method dump Undocumented
Method __getstate__ Undocumented
Method __setstate__ Undocumented
Method inspect Undocumented
Class Method generate Undocumented
Method newCertificate Undocumented
Method requestObject Undocumented
Method certificateRequest Create a certificate request signed with this key.
Method signCertificateRequest Given a blob of certificate request data and a certificate authority's DistinguishedName, return a blob of signed certificate data.
Method signRequestObject Sign a CertificateRequest instance, returning a Certificate instance.
Method selfSignedCert Undocumented

Inherited from PublicKey:

Instance Variable original The original private key.
Method __init__
Method matches Does this PublicKey contain the same value as another PublicKey?
Method __repr__ Undocumented
Method keyHash Compute a hash of the underlying PKey object.
@classmethod
def load(Class, data, format=crypto.FILETYPE_ASN1): (source)
Undocumented
def dump(self, format=crypto.FILETYPE_ASN1): (source)
Undocumented
def __getstate__(self): (source)
Undocumented
def __setstate__(self, state): (source)
Undocumented
def inspect(self): (source)
@classmethod
def generate(Class, kind=crypto.TYPE_RSA, size=1024): (source)
Undocumented
def newCertificate(self, newCertData, format=crypto.FILETYPE_ASN1): (source)
Undocumented
def requestObject(self, distinguishedName, digestAlgorithm='sha256'): (source)
Undocumented
def certificateRequest(self, distinguishedName, format=crypto.FILETYPE_ASN1, digestAlgorithm='sha256'): (source)

Create a certificate request signed with this key.

Returnsa string, formatted according to the 'format' argument.
def signCertificateRequest(self, issuerDistinguishedName, requestData, verifyDNCallback, serialNumber, requestFormat=crypto.FILETYPE_ASN1, certificateFormat=crypto.FILETYPE_ASN1, secondsToExpiry=60 * 60 * 24 * 365, digestAlgorithm='sha256'): (source)

Given a blob of certificate request data and a certificate authority's DistinguishedName, return a blob of signed certificate data.

If verifyDNCallback returns a Deferred, I will return a Deferred which fires the data when that Deferred has completed.

def signRequestObject(self, issuerDistinguishedName, requestObject, serialNumber, secondsToExpiry=60 * 60 * 24 * 365, digestAlgorithm='sha256'): (source)

Sign a CertificateRequest instance, returning a Certificate instance.

def selfSignedCert(self, serialNumber, **kw): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2018-07-14 04:53:34.