Class MTCLogEntryType

java.lang.Object
org.bouncycastle.cert.plants.MTCLogEntryType
Direct Known Subclasses:
MerkleTreeCertEntryType

public class MTCLogEntryType extends Object
Constants for the MTCLogEntryType enum (named MerkleTreeCertEntryType before draft-06; the deprecated MerkleTreeCertEntryType is the old name) defined in Section 5.2.1 of draft-ietf-plants-merkle-tree-certs:
enum {
    null_entry(0), tbs_cert_entry(1), (2^16-1)
} MTCLogEntryType;

The on-wire encoding is a big-endian uint16. Section 13.2.1 of the draft sets up an IANA registry for further values, with 0xF000-0xFFFF reserved for private use.

  • Field Details

    • NULL_ENTRY

      public static final int NULL_ENTRY
      null_entry — a no-information placeholder entry.
      See Also:
    • TBS_CERT_ENTRY

      public static final int TBS_CERT_ENTRY
      tbs_cert_entry — the body is a DER-encoded TBSCertificateLogEntry contents.
      See Also:
  • Constructor Details

    • MTCLogEntryType

      protected MTCLogEntryType()