Expand description
Certificate issuance from CSR with CA/B Forum compliance.
Implements RFC 7030 §4.2 enrollment and applies profile-based constraints. Validates CSR contents against CA/B Forum Baseline Requirements before signing.
Certificate signing uses the synta-certificate CertificateBuilder
with OpensslCertificateSigner for the actual cryptographic operations.
Structs§
- Enrollment
Profile - Enrollment profile defining constraints for issued certificates.
- Issuance
Result - Result of a successful certificate issuance.
Enums§
- CaSigning
Key - CA signing key — either a PEM key from disk or an HSM-backed key.
- Issuance
Error - Errors during certificate issuance.
- Resolved
Signing Key - Owned signing key — either PEM bytes from disk or an HSM context + label.
Constants§
- OID_
TLS_ FEATURE - OID for the TLS Feature Extension (id-pe-tlsfeature).
- TLS_
FEATURE_ MUST_ STAPLE_ DER - DER-encoded TLS Feature Extension value for must-staple certificates.
Functions§
- cab_
forum_ max_ validity_ days - CA/B Forum maximum validity period per Ballot SC-081v3.
- issue_
certificate - Issue a certificate from a CSR.
- resolve_
signing_ key - Resolve the CA signing key from configuration (async — uses
tokio::fs::read). - resolve_
signing_ key_ sync - Resolve the CA signing key from configuration (sync — uses
std::fs::read).