interface IBlindCredentialRequest {
    attributeInequalities?: {
        [key: string]: string | IPresentedAttributeInequality[];
    };
    blindedAttributeEqualities?: BlindedAttributeEquality[];
    blindedAttributes: object;
    bounds?: {
        [key: string]: string | IPresentedAttributeBound[];
    };
    circomPredicates?: ICircomPredicate<ICircuitPrivateVar>[];
    commitment: Uint8Array;
    pseudonyms?: {
        [key: string]: IPresentedBoundedPseudonymInBlindedCredReq;
    };
    schema: CredentialSchema;
    sigType: BlindSignatureType;
    unBlindedAttributes?: object;
    verifiableEncryptions?: {
        [key: string]: string | IPresentedAttributeVE[];
    };
    version: string;
}

Properties

attributeInequalities?: {
    [key: string]: string | IPresentedAttributeInequality[];
}
blindedAttributeEqualities?: BlindedAttributeEquality[]

Equalities between the blinded attributes and credential attributes

blindedAttributes: object
bounds?: {
    [key: string]: string | IPresentedAttributeBound[];
}

Bounds proved of any attribute(s)

circomPredicates?: ICircomPredicate<ICircuitPrivateVar>[]

Predicates proved using Circom. Can be over any number of blinded attributes

commitment: Uint8Array

Commitment to the blinded attributes

pseudonyms?: {
    [key: string]: IPresentedBoundedPseudonymInBlindedCredReq;
}

The schema of the whole (unblinded credential). This should include all attributes, i.e. blinded and unblinded

Type of the signature requested, like BBS, BBS+

unBlindedAttributes?: object

Attributes user is telling the signer to add to the credential (should be part of schema)

verifiableEncryptions?: {
    [key: string]: string | IPresentedAttributeVE[];
}

Verifiable encryption of any blinded attributes

version: string