A blinded credential created by the signer. Has to be converted to a (unblinded) credential

Hierarchy (view full)

Constructors

Properties

_version: string
credentialStatus?: object

Each credential references the schema which is included as an attribute

subject: object | object[]
topLevelFields: Map<string, unknown>

Accessors

Methods

  • Parameters

    • proofType: string
    • blindedSubject: object | object[]
    • OptionalblindedStatus: object
    • OptionalblindedTopLevelFields: Map<string, unknown>

    Returns [object | object[], undefined | object, Map<string, unknown>]

  • Convert to unblinded credential which can be verified with the public key

    Parameters

    • blindedSubject: object | object[]
    • blinding: BBSPlusBlinding

      blinding used while creating the request

    • OptionalblindedStatus: object
    • OptionalblindedTopLevelFields: Map<string, unknown>

      Any top level fields that are blinded. Ensure that these are not set by the issuer.

    Returns BBSPlusCredential