A lot of online solutions have a sequential int generator which when adding a claim/value, it just adds the next int as the digestID. Which essentially makes it in the order an implementation is coded and static.
Latest document states:
Unique value assigned to an attribute within a namespace.
This value should be randomly assigned to attributes across different mdls with no correlation.
So to accommodate this, when building a document it creates a sequential int list of n size based on n claims added
in the builder.
Shuffles the array and then assigns them based on how they were entered.
BouncyCastle is a library to handle certificates/keys easier and adds wider support than what is built into java. It handles stripping any ------ START KEY ------ stuff and provides easier methods to get critical data. It is probably possible to remove this dependency, as it was added earlier on with less understanding.