Add to the statement that the nationality is one of the EU countries
the updated builder
Add to the statement that the country of residence is one of the EU countries
the updated builder
Add to the statement that the age is at maximum the given value. This adds a range statement that the date of birth is between <age + 1> years ago and 1st of january 9999.
the updated builder
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 age is at minimum the given value.
This adds a range statement that the date of birth is between 1st of january 1800 and
the updated builder
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 be in the given range, i.e. that lower <= attribute < upper.
the updated builder
the attribute that should be checked
Private
checkIf checkConstraints is true, this checks whether the given statement may be added to the statement being built. If the statement breaks any rules, this will throw an error.
Add to the statement that the user's document expiry is atleast the given date. This adds a range statement that the idDocExpiresAt is between the given date and 1st of january 9999 .
the updated builder
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
Add to the statement that the age is between two given ages. This adds a range statement that the date of birth is between years ago and years ago.
Returns
the updated builder