Class MerkleTree
- java.lang.Object
- 
- fr.gouv.vitam.common.security.merkletree.MerkleTree
 
- 
 public class MerkleTree extends java.lang.ObjectMerkleTree
- 
- 
Field SummaryFields Modifier and Type Field Description static MerkleTreeEMPTY_LEAF
 - 
Constructor SummaryConstructors Constructor Description MerkleTree()MerkleTree empty constructorMerkleTree(byte[] root, MerkleTree leftLeaf, MerkleTree rightLeaf)Initialize the needed parameters for MerkleTree constructor
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description MerkleTreegetLeftLeaf()MerkleTreegetRightLeaf()byte[]getRoot()
 
- 
- 
- 
Field Detail- 
EMPTY_LEAFpublic static final MerkleTree EMPTY_LEAF 
 
- 
 - 
Constructor Detail- 
MerkleTreepublic MerkleTree() MerkleTree empty constructor
 - 
MerkleTreepublic MerkleTree(byte[] root, MerkleTree leftLeaf, MerkleTree rightLeaf)Initialize the needed parameters for MerkleTree constructor- Parameters:
- root- : the root of the MerkleTree
- leftLeaf- : the left leaf of the MerkleTree
- rightLeaf- : the right leaf of the MerkleTree
 
 
- 
 - 
Method Detail- 
getRootpublic byte[] getRoot() - Returns:
- root for type byte[]
 
 - 
getLeftLeafpublic MerkleTree getLeftLeaf() - Returns:
- left sheet for type MerkleTree
 
 - 
getRightLeafpublic MerkleTree getRightLeaf() - Returns:
- right sheet for type MerkleTree
 
 
- 
 
-