class documentation

class FakeCrypto: (source)

View In Hierarchy

An introspectable fake of pyOpenSSL's OpenSSL.crypto module.

Method __init__ Undocumented
Method get_elliptic_curve A fake that records the curve with which it was called.
Instance Variable state A FakeCryptoState instance
Instance Variable _state Undocumented
def __init__(self, state): (source)

Undocumented

def get_elliptic_curve(self, curve): (source)

A fake that records the curve with which it was called.

Parameters
curvesee crypto.get_elliptic_curve
Returns
see FakeCryptoState.getEllipticCurveReturns
Raises
Unknown exceptionsee FakeCryptoState.getEllipticCurveRaises

Undocumented