def testMultipleProvers(gvtCredDef, gvtCredDefPks, gvtAttrNames, gvtAndXyzIssuerSecretKeys, gvtProofBuilderWithProver1, gvtProofBuilderWithProver2, verifier1): assert verifyProof({GVT.name: gvtCredDef}, gvtCredDefPks, gvtAndXyzIssuerSecretKeys, gvtAttrNames, gvtProofBuilderWithProver1, ['name'], verifier1) assert verifyProof({GVT.name: gvtCredDef}, gvtCredDefPks, gvtAndXyzIssuerSecretKeys, gvtAttrNames, gvtProofBuilderWithProver2, ['name'], verifier1)
def testMultiCredSingleProof(gvtAndXyzCredDefs, gvtAndXyzCredDefPks, gvtAndXyzIssuerSecretKeys, proofBuilderWithGvtAndXyzAttribs, verifierMulti1): assert verifyProof(gvtAndXyzCredDefs, gvtAndXyzCredDefPks, gvtAndXyzIssuerSecretKeys, None, proofBuilderWithGvtAndXyzAttribs, ['name'], verifierMulti1)
def testSingleProver(gvtCredDef, gvtCredDefPks, gvtAndXyzIssuerSecretKeys, gvtAttrNames, proofBuilderWithGvtAttribs, verifier1): assert verifyProof({GVT.name: gvtCredDef}, gvtCredDefPks, gvtAndXyzIssuerSecretKeys, gvtAttrNames, proofBuilderWithGvtAttribs, ['name'], verifier1)