t.i._._OpenSSLECCurve(FancyEqMixin, object) : class documentation

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

A private representation of an OpenSSL ECC curve.
Method __init__
Method addECKeyToContext Add an temporary EC key to context.
Method _getBinding Attempt to get cryptography's binding instance.

Inherited from FancyEqMixin:

Method __eq__ Undocumented
Method __ne__ Undocumented
def __init__(self, snName): (source)
ParameterssnNameThe name of the curve as used by OBJ_sn2nid.
snNameunicode
RaisesNotImplementedErrorIf ECC support is not available.
ValueErrorIf snName is not a supported curve.
def _getBinding(self): (source)
Attempt to get cryptography's binding instance.
Returnscryptograpy bindings. (type: cryptography.hazmat.bindings.openssl.Binding)
RaisesNotImplementedErrorIf underlying pyOpenSSL is not based on cryptography.
def addECKeyToContext(self, context): (source)
Add an temporary EC key to context.
ParameterscontextThe context to add a key to. (type: OpenSSL.SSL.Context)
API Documentation for Twisted, generated by pydoctor at 2014-05-12 18:27:00.