Class LandmarkCertificateManager.TrustedSubtreeManager

java.lang.Object
org.bouncycastle.cert.plants.LandmarkCertificateManager.TrustedSubtreeManager
Enclosing class:
LandmarkCertificateManager

public static class LandmarkCertificateManager.TrustedSubtreeManager extends Object
Maintains a relying-party-side list of trusted subtrees by accepting new landmarks that come with a cosigned reference checkpoint and a subtree consistency proof.
  • Constructor Details

    • TrustedSubtreeManager

      public TrustedSubtreeManager(byte[] logId, MerkleTreeHash hashFunc, MTCCosignerVerifierProvider cosignerVerifierProvider, int minCosignaturesForCheckpoint)
      Parameters:
      logId - binary trust anchor ID of the log
      hashFunc - hash function used by the log
      cosignerVerifierProvider - provider that hands back a verifier per known cosigner ID
      minCosignaturesForCheckpoint - minimum valid cosignatures required to trust a checkpoint
  • Method Details