ades-rs 0.1.0

AdES digital signatures (CAdES, PAdES, XAdES, JAdES) for the eIDAS 2.0 ecosystem
Documentation
//! CAdES (CMS Advanced Electronic Signatures) implementation.
//!
//! Supported levels:
//! - **B-B** (Baseline-B): basic signature — M1
//! - **B-T** (Baseline-T): B-B + signature timestamp — M3c
//! - **B-LT** (Baseline-LT): B-T + embedded revocation data — M3c

/// CAdES B-B signing.
pub mod sign;

/// CAdES B-T and B-LT signing.
#[cfg(all(feature = "cades", feature = "tsp"))]
pub mod sign_t;

pub use sign::sign;

#[cfg(all(feature = "cades", feature = "tsp"))]
pub use sign_t::sign_t;

#[cfg(all(feature = "cades", feature = "tsp", feature = "ocsp"))]
pub use sign_t::sign_lt;