

def GetSigningAlg(self, signing_key):
    'Returns algorithm to use for signing messages.\n\n    Args:\n      signing_key: Keypair to use to construct the algorithm.\n    Returns:\n      An algorithm object that can be used to sign byte sequences.\n    '
    if (self == 'TEST'):
        signing_key = 'RSA.mVgY8RN6URBTstndvmUUPb4UZTdwvwmddSKE5z_jvKUEK6yk1u3rrC9yN8k6FilGj9K0eeUPe2hf4Pj-5CmHww==.AQAB.Lgy_yL3hsLBngkFdDw1Jy9TmSRMiH6yihYetQ8jy-jZXdsZXd8V5ub3kuBHHk4M39i3TduIkcrjcsiWQb77D8Q=='
    return magicsigalg.SignatureAlgRsaSha256(signing_key)

dataset/ETHPy150Open mimecuvalo/helloworld/packages/magicsig/__init__.py MagicEnvelopeProtocol.GetSigningAlg/VarMisuse@16/97 `signing_key`->`self`