pub fn parse_with_password(
data: &[u8],
fmt: Option<Format>,
password: Option<&str>,
) -> Result<Document>Expand description
Like parse, but supplies a password for encrypted PDFs.
An encrypted document with no/incorrect password fails with
PdfmuseError::EncryptedNoPassword. The password is never logged or echoed.