Class MerkleTreeCertificateValidator.TrustedSubtree

java.lang.Object
org.bouncycastle.cert.plants.MerkleTreeCertificateValidator.TrustedSubtree
Enclosing class:
MerkleTreeCertificateValidator

public static class MerkleTreeCertificateValidator.TrustedSubtree extends 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 Details

    • 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 Details

    • getLogNumber

      public long getLogNumber()
    • getStart

      public long getStart()
    • getEnd

      public long getEnd()
    • getHash

      public byte[] getHash()