Class AtomicStatementBuilder<AttributeKey>

Type Parameters

  • AttributeKey

Hierarchy

Implements

  • InternalBuilder<AttributeKey>

Constructors

Properties

schema: undefined | CredentialSchemaSubject

Optional schema for validating statements against credential schema.

statements: AtomicStatementV2<AttributeKey>[]

Array of atomic statements being built.

Methods

  • Add to the statement, that the given attribute should be revealed. The proof will contain the value.

    Returns

    the updated builder

    Parameters

    • attribute: AttributeKey

      the attribute that should be revealed

    Returns AtomicStatementBuilder<AttributeKey>

Generated using TypeDoc