Exemple #1
0
def proofBuilderWithGvtAndXyzAttribs(gvtAndXyzCredDefs, gvtAndXyzCredDefPks,
                                     gvtAttrList, xyzAttrList):
    attributeList = gvtAttrList + xyzAttrList
    return getProofBuilderAndAttribs(attributeList, gvtAndXyzCredDefs,
                                     gvtAndXyzCredDefPks)
Exemple #2
0
def proofBuilderWithXyzAttribs(xyzCredDef, xyzCredDefPks):
    attribs = XYZCorp.attribs(status='ACTIVE')
    return getProofBuilderAndAttribs(attribs, {XYZCorp.name: xyzCredDef},
                                     xyzCredDefPks)
Exemple #3
0
def proofBuilderWithGvtAttribs(gvtCredDef, gvtIssuerPk):
    attribs = GVT.attribs(name='Aditya Pratap Singh', age=25, sex='male')
    return getProofBuilderAndAttribs(attribs, {GVT.name: gvtCredDef},
                                     gvtIssuerPk)
Exemple #4
0
def gvtProofBuilderWithProver2(gvtCredDef, gvtIssuerPk):
    attribs = GVT.attribs(name='Jason Law', age=42, sex='male')
    return getProofBuilderAndAttribs(attribs, {GVT.name: gvtCredDef},
                                     gvtIssuerPk)
Exemple #5
0
def proofBuilderWithGvtAttribs(gvtCredDefPks):
    attribs = GVT.attribs(name='Aditya Pratap Singh', age=25, sex='male')
    return getProofBuilderAndAttribs(attribs, gvtCredDefPks)
Exemple #6
0
def gvtProofBuilderWithProver2(gvtCredDefPks):
    attribs = GVT.attribs(name='Jason Law', age=42, sex='male')
    return getProofBuilderAndAttribs(attribs, gvtCredDefPks)