Class MerkleTreeCertificateValidator.TrustedSubtree

  • Enclosing class:
    MerkleTreeCertificateValidator

    public static class MerkleTreeCertificateValidator.TrustedSubtree
    extends java.lang.Object
    Represents a trusted subtree (typically a landmark subtree predistributed to the relying party). Per Section 7.4 a trusted subtree carries the log number of the containing log alongside the [start, end) window and the subtree hash — Section 7.2 step 11 matches on all three, so a subtree trusted for one issuance log never matches a certificate whose serial claims a different log.
    • Constructor Summary

      Constructors 
      Constructor Description
      TrustedSubtree​(long logNumber, long start, long end, byte[] hash)  
      TrustedSubtree​(MTCLog log, byte[] hash)
      Convenience constructor taking the log number and subtree window from an MTCLog.
    • Constructor Detail

      • TrustedSubtree

        public TrustedSubtree​(long logNumber,
                              long start,
                              long end,
                              byte[] hash)
      • TrustedSubtree

        public TrustedSubtree​(MTCLog log,
                              byte[] hash)
        Convenience constructor taking the log number and subtree window from an MTCLog.
    • Method Detail

      • getLogNumber

        public long getLogNumber()
      • getStart

        public long getStart()
      • getEnd

        public long getEnd()
      • getHash

        public byte[] getHash()