Skip to main content

certify_pdf

Function certify_pdf 

Source
pub fn certify_pdf(
    pdf_bytes: &[u8],
    config: &CertificationConfig,
) -> Result<Vec<u8>, FormeError>
Expand description

Certify PDF bytes with an X.509 certificate.

Takes arbitrary PDF bytes and a certification configuration, and returns new PDF bytes with a valid digital signature. Uses incremental update to preserve the original PDF content.