class documentation
Undocumented
| Class Method | generate |
Undocumented |
| Class Method | load |
Undocumented |
| Method | __getstate__ |
Undocumented |
| Method | __setstate__ |
Undocumented |
| Method | certificate |
Create a certificate request signed with this key. |
| Method | dump |
Undocumented |
| Method | inspect |
Undocumented |
| Method | new |
Undocumented |
| Method | request |
Undocumented |
| Method | self |
Undocumented |
| Method | sign |
Given a blob of certificate request data and a certificate authority's DistinguishedName, return a blob of signed certificate data. |
| Method | sign |
Sign a CertificateRequest instance, returning a Certificate instance. |
Inherited from PublicKey:
| Method | __init__ |
No summary |
| Method | __repr__ |
Undocumented |
| Method | key |
Compute a hash of the underlying PKey object. |
| Method | matches |
Does this PublicKey contain the same value as another PublicKey? |
| Instance Variable | original |
The original private key. |
@deprecated( Version( 'Twisted', 15, 0, 0), 'a real persistence system')
def __getstate__(self): (source) ¶
def __getstate__(self): (source) ¶
Deprecated since version 15.0.0: __getstate__ was deprecated in Twisted 15.0.0; please use a real persistence system instead.
Undocumented
@deprecated( Version( 'Twisted', 15, 0, 0), 'a real persistence system')
def __setstate__(self, state): (source) ¶
def __setstate__(self, state): (source) ¶
Deprecated since version 15.0.0: __setstate__ was deprecated in Twisted 15.0.0; please use a real persistence system instead.
Undocumented
def certificateRequest(self, distinguishedName, format=crypto.FILETYPE_ASN1, digestAlgorithm='sha256'):
(source)
¶
Create a certificate request signed with this key.
| Returns | |
| a 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.