Interface MerkleTreeHashDigestProviderWithSizeProofSupport
-
- All Implemented Interfaces:
-
net.corda.v5.crypto.extensions.merkle.MerkleTreeHashDigestProvider
,net.corda.v5.crypto.merkle.MerkleTreeHashDigest
public interface MerkleTreeHashDigestProviderWithSizeProofSupport implements MerkleTreeHashDigestProvider
Special digest provider for supporting size proofs.
-
-
Method Summary
Modifier and Type Method Description abstract MerkleProof
getSizeProof(@NotNull() List<Array<byte>> leaves)
Returns a size proof that reveals the number of leaves in the Merkle tree, but not the content of the leaves. -
Methods inherited from class net.corda.v5.crypto.extensions.merkle.MerkleTreeHashDigestProvider
leafHash, leafNonce, nodeHash
-
Methods inherited from class net.corda.v5.crypto.merkle.MerkleTreeHashDigest
getDigestAlgorithmName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getSizeProof
@NotNull() abstract MerkleProof getSizeProof(@NotNull() List<Array<byte>> leaves)
Returns a size proof that reveals the number of leaves in the Merkle tree, but not the content of the leaves.
- Parameters:
leaves
- The tree's leaves.
-
-
-
-