pub struct CertificateEncryptionHandler { /* private fields */ }Expand description
Handler for certificate-encrypted PDFs.
Implementations§
Source§impl CertificateEncryptionHandler
impl CertificateEncryptionHandler
Sourcepub fn encrypt_dict(&self) -> CertEncryptDict
pub fn encrypt_dict(&self) -> CertEncryptDict
Get the encryption dictionary for the PDF.
Sourcepub fn encryption_key(&self) -> &[u8] ⓘ
pub fn encryption_key(&self) -> &[u8] ⓘ
Get the file encryption key for encrypting content.
Sourcepub fn should_encrypt_metadata(&self) -> bool
pub fn should_encrypt_metadata(&self) -> bool
Check if metadata should be encrypted.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CertificateEncryptionHandler
impl RefUnwindSafe for CertificateEncryptionHandler
impl Send for CertificateEncryptionHandler
impl Sync for CertificateEncryptionHandler
impl Unpin for CertificateEncryptionHandler
impl UnwindSafe for CertificateEncryptionHandler
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more