Creates a new AtomicStatementBuilder.
Optional schema: CredentialSchemaSubjectOptional credential schema for validation
Optional schema for validating statements against credential schema.
Array of atomic statements being built.
Add to the statement, that the given attribute should be one of the values in the given set.
the updated builder
the attribute that should be checked
Add to the statement, that the given attribute should not be one of the values in the given set.
the updated builder
the attribute that should be checked
Add to the statement, that the given attribute should be in the given range, i.e. that lower <= attribute < upper.
the updated builder
the attribute that should be checked
Private checkThis checks whether the given statement may be added to the statement being built. If the statement breaks any rules, this will throw an error.
The atomic statement to validate
Outputs the built statement.
Add to the statement, that the given attribute should be revealed. The proof will contain the value.
the updated builder
the attribute that should be revealed
Generated using TypeDoc
Builder class for constructing atomic statements about credential attributes. Provides a fluent API for adding range, membership, and reveal statements with validation.