Class MTCLog
java.lang.Object
org.bouncycastle.cert.plants.MTCLog
Immutable identifier for an MTC issuance-log subtree window: the CA that
operates the log, the log number (the upper 16 bits of the cert serial per
Section 6.1 of draft-ietf-plants-merkle-tree-certs) and the subtree's
[start, end) index range (uint48). The bound MTCCertAuth
lets the log derive its own binary trust anchor ID via
getLogId(), so callers can pass a single MTCLog where they
previously had to thread (ca, logNumber, start, end) separately.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MTCLog
- Parameters:
ca- CA that operates this issuance loglogNumber- log number (1 <= logNumber <= 2^16-1, Section 5.2)start- subtree start index (0 <= start <= 2^48-1)end- subtree end index (0 <= end <= 2^48-1)
-
-
Method Details
-
getCa
- Returns:
- the CA that operates this log.
-
getLogNumber
public long getLogNumber() -
getStart
public long getStart() -
getEnd
public long getEnd() -
getLogId
public byte[] getLogId()- Returns:
- the binary trust anchor ID of this log (Section 5.2).
-
equals
-
hashCode
-
toString
-