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 |
|---|---|---|
HashAlgorithm | — | Hash algorithm enum (SHA-2/SHA-3) |
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 |
IssuanceLogBuilder | — | In-memory Merkle log builder |
ValidationPolicy | — | Hash alg / cosig / expiry policy |
TrustAnchor | — | Log trust anchor + revocation list |
CertificateValidator | — | Relying-party certificate validator |
Functions§
- register_
mtc_ module - Register all MTC classes into the
synta.mtcsubmodule. Populate thesynta.mtcmodule with all classes.