Class LandmarkCertificateManager.TrustedSubtreeEntry

  • Enclosing class:
    LandmarkCertificateManager

    public static class LandmarkCertificateManager.TrustedSubtreeEntry
    extends java.lang.Object
    A trusted subtree along with the reference checkpoint that proved its consistency, per Section 7.4.
    • Constructor Detail

      • TrustedSubtreeEntry

        public TrustedSubtreeEntry​(long start,
                                   long end,
                                   byte[] hash,
                                   long checkpointTreeSize,
                                   byte[] checkpointRootHash)
    • Method Detail

      • getStart

        public long getStart()
      • getEnd

        public long getEnd()
      • getHash

        public byte[] getHash()
      • getCheckpointTreeSize

        public long getCheckpointTreeSize()
      • getCheckpointRootHash

        public byte[] getCheckpointRootHash()
      • matches

        public boolean matches​(long start,
                               long end,
                               byte[] hash)