public interface ERSRootNodeCalculator
Modifier and Type | Method and Description |
---|---|
byte[] |
computeRootHash(DigestCalculator digCalc,
org.bouncycastle.asn1.tsp.PartialHashtree[] nodes)
Calculate the root hash of the Merkle tree from the partial hash-tree nodes.
|
byte[] computeRootHash(DigestCalculator digCalc, org.bouncycastle.asn1.tsp.PartialHashtree[] nodes)
digCalc
- the digest calculator to use.nodes
- the partial hash-trees forming the basis of the Merkle tree.