pub fn load_with_password(
data: &[u8],
password: Option<&str>,
) -> Result<Document, EdgePdfError>Expand description
Try to load a PDF with an optional password.
Uses the Standard Security Handler decrypt path in pdf-cos (lopdf)
for revisions 2–6 when a password is supplied.