public static class LandmarkCertificateManager.TrustedSubtreeEntry
extends java.lang.Object
| Constructor and Description |
|---|
TrustedSubtreeEntry(long start,
long end,
byte[] hash,
long checkpointTreeSize,
byte[] checkpointRootHash) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getCheckpointRootHash() |
long |
getCheckpointTreeSize() |
long |
getEnd() |
byte[] |
getHash() |
long |
getStart() |
boolean |
matches(long start,
long end,
byte[] hash) |
MerkleTreeCertificateValidator.TrustedSubtree |
toTrustedSubtree(long logNumber)
Bridges this accepted landmark into the validator's representation.
|
public TrustedSubtreeEntry(long start,
long end,
byte[] hash,
long checkpointTreeSize,
byte[] checkpointRootHash)
public long getStart()
public long getEnd()
public byte[] getHash()
public long getCheckpointTreeSize()
public byte[] getCheckpointRootHash()
public boolean matches(long start,
long end,
byte[] hash)
public MerkleTreeCertificateValidator.TrustedSubtree toTrustedSubtree(long logNumber)
LandmarkCertificateManager.TrustedSubtreeManager is bound to a single log ID, so the
caller supplies the log number that ID denotes.logNumber - log number of the containing log (1 <= logNumber <= 2^16-1)