Class MerkleTree
java.lang.Object
fr.gouv.vitam.common.security.merkletree.MerkleTree
MerkleTree
-
Field Summary
-
Constructor Summary
ConstructorDescriptionMerkleTree empty constructorMerkleTree
(byte[] root, MerkleTree leftLeaf, MerkleTree rightLeaf) Initialize the needed parameters for MerkleTree constructor -
Method Summary
-
Field Details
-
EMPTY_LEAF
-
-
Constructor Details
-
MerkleTree
public MerkleTree()MerkleTree empty constructor -
MerkleTree
Initialize the needed parameters for MerkleTree constructor- Parameters:
root
- : the root of the MerkleTreeleftLeaf
- : the left leaf of the MerkleTreerightLeaf
- : the right leaf of the MerkleTree
-
-
Method Details
-
getRoot
public byte[] getRoot()- Returns:
- root for type byte[]
-
getLeftLeaf
- Returns:
- left sheet for type MerkleTree
-
getRightLeaf
- Returns:
- right sheet for type MerkleTree
-