

def __init__(self, protocol=MagicEnvelopeProtocol(), **kwargs):
    'Initializes an envelope from arbitrary input.'
    try:
        self._protocol = protocol
        self._Initialize(kwargs)
        if self._sig:
            self._PerformVerification()
        elif self._signer_key:
            self._Sign()
        else:
            raise EnvelopeError(self, 'Can neither verify nor sign envelope')
    except EnvelopeError:
        raise
    self._init_timestamp = time.time()

dataset/ETHPy150Open mimecuvalo/helloworld/packages/magicsig/__init__.py Envelope.__init__/original