Expand description
Python bindings for synta.mtc — Merkle Tree Certificate (MTC) ASN.1 types.
Exposes synta.mtc — a submodule containing all ASN.1 types from the MTC
specification (draft-ietf-plants-merkle-tree-certs), decoded from DER.
§Classes
| Python name | Schema type | Description |
|---|---|---|
ProofNode | ProofNode | Left/right hash in inclusion path |
Subtree | Subtree | Hash subtree range |
SubtreeProof | SubtreeProof | Left + right subtrees |
InclusionProof | InclusionProof | Log inclusion proof |
LogID | LogID | Log identifier (hash alg + pubkey) |
CosignerID | CosignerID | Cosigner identity |
Checkpoint | Checkpoint | Signed tree checkpoint |
SubtreeSignature | SubtreeSignature | Cosigner subtree signature |
TbsCertificateLogEntry | TBSCertificateLogEntry | Log entry for a certificate |
MerkleTreeCertEntry | MerkleTreeCertEntry | CHOICE: null or TBS entry |
LandmarkID | LandmarkID | Landmark log identifier |
StandaloneCertificate | StandaloneCertificate | Full standalone MTC certificate |
LandmarkCertificate | LandmarkCertificate | Landmark certificate |
Structs§
- PyCheckpoint
- A signed Merkle tree checkpoint.
- PyCosignerID
- Cosigner identity (TrustAnchorID): an OBJECT IDENTIFIER within the CA’s OID arc.
- PyInclusion
Proof - Merkle tree inclusion proof for a log entry.
- PyLandmark
Certificate - A Merkle Tree Landmark Certificate.
- PyLandmarkID
- Landmark log identifier: a
LogIDplus the tree size at issuance. - PyLogID
- Log identifier: the hash algorithm OID and the log’s public key DER.
- PyMerkle
Tree Cert Entry - CHOICE: a null log entry or a
TBSCertificateLogEntry. - PyProof
Node - A node in a Merkle inclusion proof path.
- PyStandalone
Certificate - A full standalone Merkle Tree Certificate.
- PySubtree
- A hash subtree range in the Merkle tree.
- PySubtree
Proof - Proof consisting of optional left and right subtree lists.
- PySubtree
Signature - A cosigner’s signature over a subtree and checkpoint.
- PyTbs
Certificate LogEntry - To-be-signed log entry for a certificate.
Functions§
- register_
mtc_ module - Register all MTC classes into the
synta.mtcsubmodule. Populate thesynta.mtcmodule with all classes.