Class BlindedCredentialBuilderAbstract

Used by the signer to create a blinded credential. The signer will know only the unblinded attributes

Hierarchy (view full)

Constructors

Properties

_credStatus?: object

Each credential references the schema which is included as an attribute

_subject?: object | object[]
_topLevelFields: Map<string, unknown>
_version: string
blindedCredReq: IBlindCredentialRequest
VERSION: string = CredentialBuilder.VERSION

NOTE: This should match CredentialBuilder.VERSION exactly else backward compatibility code won't always work. This is because BlindedCredential.toCredential outputs a Credential which should be same as the one output by CredentialBuilder.sign

Accessors

Methods

  • Protected

    Update given object with proof metadata

    Parameters

    • s: object

      the object that be updated with the proof metadata

    Returns any

  • Set the credentialStatus property of the credential

    Parameters

    • registryId: string

      This is id of the revocation registry, like the unique id of the accumulator

    • revCheck: string

      whether its a membership or non-membership check. this depends on how revocation is implemented, i.e. if

    • memberValue: unknown

      Value present/absent in the revocation registry (accumulator for now) which corresponds to a credential. This should be unique per credential per registry.

    • OptionalrevType: RevocationStatusProtocol

      revocation protocol being used like if accumulator, which accumulator

    Returns void