For a holder, you receive the Disclosures with digests and right now can't easily access the digests of disclosures (private member). The only way to access a digest, is via calling digest which requires a HaserAndAlg as input
I do think it would be beneficial to make either the variable directly accessible (public) or change the signature of the function to have hash as an optional argument as it is only used when computing a new digest.
For a holder, you receive the Disclosures with digests and right now can't easily access the digests of disclosures (private member). The only way to access a digest, is via calling
digest
which requires a HaserAndAlg as inputI do think it would be beneficial to make either the variable directly accessible (public) or change the signature of the function to have
hash
as an optional argument as it is only used when computing a new digest.