Package | Description |
---|---|
com.itextpdf.kernel.pdf |
Modifier and Type | Field and Description |
---|---|
protected EncryptionProperties |
WriterProperties.encryptionProperties |
Modifier and Type | Method and Description |
---|---|
EncryptionProperties |
EncryptionProperties.setPublicKeyEncryption(Certificate[] certs, int[] permissions, int encryptionAlgorithm)
Sets the certificate encryption options for the document.
|
EncryptionProperties |
EncryptionProperties.setStandardEncryption(byte[] userPassword, byte[] ownerPassword, int permissions, int encryptionAlgorithm)
Sets the encryption options for the document.
|
Modifier and Type | Method and Description |
---|---|
static void |
PdfEncryptor.encrypt(PdfReader reader, OutputStream os, EncryptionProperties properties)
Entry point to encrypt a PDF document.
|
static void |
PdfEncryptor.encrypt(PdfReader reader, OutputStream os, EncryptionProperties properties, Map<String,String> newInfo)
Entry point to encrypt a PDF document.
|
PdfEncryptor |
PdfEncryptor.setEncryptionProperties(EncryptionProperties properties)
Sets the EncryptionProperties
|
Copyright © 1998–2022 iText Group NV. All rights reserved.