Package fr.gouv.vitam.common.security.merkletree

# Class MerkleTreeAlgo

java.lang.Object
fr.gouv.vitam.common.security.merkletree.MerkleTreeAlgo

public class MerkleTreeAlgo extends Object
MerkleTreeAlgo

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MerkleTreeAlgo(DigestType digestType)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addLeaf(byte[] data)`
  adds leaf to the MerkleTree
  `MerkleTree`
  `generateMerkle()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### MerkleTreeAlgo

    public MerkleTreeAlgo(DigestType digestType)
    Parameters:
      `digestType` -

- ## Method Details

  - ### addLeaf

    public void addLeaf(byte[] data)
    adds leaf to the MerkleTree
    Parameters:
      `data` -

  - ### generateMerkle

    public MerkleTree generateMerkle()
    Returns:
      MerkleTree