Function canProveCredentialStatement

  • Checks whether a prover can fulfill all atomic statements in a credential statement. Returns true only if all atomic statements can be proven with the given attributes.

    Returns

    True if all statements can be proven with the given attributes

    Parameters

    • credentialStatement: CredentialStatement

      The credential statement containing multiple atomic statements

    • attributes: Record<string, AttributeType>

      The prover's attributes

    Returns boolean

Generated using TypeDoc