t.i.s.KeyPair(PublicKey) : class documentation

Part of twisted.internet.ssl View Source View In Hierarchy

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:

Method __init__ Undocumented
Method matches Undocumented
Method __repr__ Undocumented
Method keyHash MD5 hex digest of signature on an empty certificate request with this key.
@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)
Undocumented
@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='md5'): (source)
Undocumented
def certificateRequest(self, distinguishedName, format=crypto.FILETYPE_ASN1, digestAlgorithm='md5'): (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='md5'): (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='md5'): (source)
Sign a CertificateRequest instance, returning a Certificate instance.
def selfSignedCert(self, serialNumber, **kw): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2014-05-12 18:27:00.