

@staticmethod
def _checkDigitalSig(trv, fingerprint):
    vSigs = trv.getDigitalSignature(fingerprint)
    sigVers = set()
    for sigBlock in vSigs:
        sigVers.add(sigBlock.version())
        for sig in fingerprint.signatures:
            assert (sig[0] == fingerprint)
    assert (set([trove._TROVESIG_VER_CLASSIC, trove._TROVESIG_VER_NEW]) == sigVers)

dataset/ETHPy150Open sassoftware/conary/conary_test/cvctest/sigtest.py SigTest._checkDigitalSig/VarMisuse@51/70 `sigBlock`->`fingerprint`