twisted.internet._sslverify._OpenSSLECCurve(FancyEqMixin, object)
class documentationtwisted.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 |
Parameters | snName | The name of the curve as used by OBJ_sn2nid . |
snName | unicode | |
Raises | NotImplementedError | If ECC support is not available. |
ValueError | If snName is not a supported curve. |
Attempt to get cryptography's binding instance.
Returns | cryptograpy bindings. (type: cryptography.hazmat.bindings.openssl.Binding ) | |
Raises | NotImplementedError | If underlying pyOpenSSL is not based on cryptography. |
Add an temporary EC key to context
.
Parameters | context | The context to add a key to. (type: OpenSSL.SSL.Context ) |