

def _Sign(self):
    'Signs an envelope given appropriate key inputs.'
    assert self._signer_uri
    assert self._signer_key
    assert self._protocol.IsAllowedSigner(self._parsed_data, self._signer_uri)
    signature_alg = self._protocol.GetSigningAlg(self._signer_key)
    self._sig = signature_alg.Sign(self._data)
    self._alg = signature_alg.GetName()
    assert signature_alg.Verify(signature_alg._data, self._sig)

dataset/ETHPy150Open mimecuvalo/helloworld/packages/magicsig/__init__.py Envelope._Sign/VarMisuse@79/138 `self`->`signature_alg`