Module revocation
Available on crate feature
boring only.Expand description
Pluggable revocation for re-signed MITM leaves.
Stamps revocation pointers (CRL distribution point / AIA OCSP) onto the re-signed leaf, mirroring whichever source the upstream advertised, and serves the matching CA-signed artifact — so revocation-strict clients (notably libcurl + schannel, which resolves revocation from the cert’s own pointers and ignores stapled OCSP) accept the leaf. Opt-in: an issuer with no responder configured strips as before and stamps nothing.
Structs§
- CaId
- A stable, URL-safe identifier for a
MitmCa. - MitmCa
- The MITM signing identity shared between the cert issuer and the revocation
responder. Sharing one instance keeps the leaf’s issuer and the CRL/OCSP
signer in agreement — the client derives its
CertIDand CRL issuer match from this CA. An immutable handle meant to be wrapped inArcand shared, not cloned per use. - Mitm
Revocation Ctx - Context passed to
BoringMitmRevocation::leaf_extensions. - Proxy
Hosted Revocation - Default
BoringMitmRevocation: serves a CA-signed CRL and/or OCSP for one CA over plain HTTP, stamping whichever pointer the upstream advertised. - Revocation
Artifact - A revocation artifact (DER) to return over HTTP.
- Revoked
Cert - A revoked certificate, as reported by a
RevocationLedger.
Enums§
- Revocation
Content Type - MIME type of a
RevocationArtifact. - Revocation
Fetch - A revocation fetch routed in from the HTTP edge.
Traits§
- Boring
Mitm Revocation - Revocation behaviour for a MITM issuer: which pointers to stamp on the re-signed leaf, and how to serve the artifacts they reference.
- Revocation
Ledger - Source of revoked serials for a CA. The default responder uses no ledger (nothing revoked); implement this to actually revoke issued leaves.
Functions§
- aia_
ocsp_ extension - Build a non-critical
Authority Information Accessextension with a singleid-ad-ocspresponder URI pointing aturl. - crl_
distribution_ point_ extension - Build a non-critical
CRL Distribution Pointsextension with a singlefullNameURI pointing aturl.