Skip to main content

Module certificate

Module certificate 

Source
Expand description

Python bindings for X.509 and related PKI types.

Exposes PyCertificate, PyCsr, PyCrl, and PyOcspResponse as pyo3 classes, along with OID-lookup helper functions and the synta.oids / synta.oids.attr submodules.

This module is part of the synta-python cdylib. Call register_module from the #[pymodule] entry point to expose these types to Python.

Re-exports§

pub use pkix::create_pkcs12;
pub use pkix::encode_extended_key_usage;
pub use pkix::encode_subject_alt_names;
pub use pkix::load_der_pkcs7_certificates;
pub use pkix::load_pem_pkcs7_certificates;
pub use pkix::load_pkcs12;
pub use pkix::load_pkcs12_certificates;
pub use pkix::load_pkcs12_keys;
pub use pkix::name_der_equal;
pub use pkix::read_pki_blocks;

Modules§

ac
Python bindings for RFC 5755 Attribute Certificate types.
cert
Python binding for PyCertificate (X.509 Certificate).
cert_builder
Python bindings for building X.509 certificates natively.
cmp
Python bindings for RFC 9810 Certificate Management Protocol (CMP) types.
cms
Python bindings for CMS content types (RFC 5652 / RFC 9629).
crmf
Python bindings for RFC 4211 Certificate Request Message Format (CRMF).
csr_builder
Python bindings for building PKCS #10 Certificate Signing Requests.
key_types
ML-DSA, RSA public-key, and RSASSA-PSS parameter types for the Python binding.
name_builder
Python bindings for building X.509 Distinguished Names.
pkix
Python bindings for PKIX types: PyCsr, PyCrl, PyOcspResponse, and PKCS#7 / PKCS#12 helper functions.
pkixalgs
Python bindings for RFC 3279 algorithm parameter types.

Functions§

register_module
Call this from a cdylib extension crate’s #[pymodule] function: