class documentation

class CertBase: (source)

Known subclasses: twisted.internet.ssl.Certificate, twisted.internet.ssl.CertificateRequest

View In Hierarchy

Base class for public (certificate only) and private (certificate + key pair) certificates.

Instance Variable original The underlying OpenSSL certificate object.
Method __init__ Undocumented
Method getSubject Retrieve the subject of this certificate.
Method __conform__ Convert this CertBase into a provider of the given interface.
Method _copyName Undocumented
original = (source)
The underlying OpenSSL certificate object.
(type: OpenSSL.crypto.X509)
def __init__(self, original): (source)

Undocumented

def _copyName(self, suffix): (source)

Undocumented

def getSubject(self): (source)

Retrieve the subject of this certificate.

ReturnsA copy of the subject of this certificate. (type: DistinguishedName)
def __conform__(self, interface): (source)

Convert this CertBase into a provider of the given interface.

ParametersinterfaceThe interface to conform to. (type: zope.interface.interfaces.IInterface)
Returnsan IOpenSSLTrustRoot provider or NotImplemented (type: IOpenSSLTrustRoot or NotImplemented)
API Documentation for Twisted, generated by pydoctor 21.2.0 at 2021-02-28 21:00:42.