A private representation of an OpenSSL ECC curve.

Method __init__
Method addECKeyToContext Add a 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 a temporary EC key to context.

ParameterscontextThe context to add a key to. (type: OpenSSL.SSL.Context)
API Documentation for Twisted, generated by pydoctor at 2017-06-11 10:59:01.