public class EncryptionConstants extends Object implements Serializable
WriterProperties.setStandardEncryption(byte[], byte[], int, int)
.
Modifier and Type | Field and Description |
---|---|
static int |
ALLOW_ASSEMBLY
The operation permitted when the document is opened with the user password.
|
static int |
ALLOW_COPY
The operation permitted when the document is opened with the user password.
|
static int |
ALLOW_DEGRADED_PRINTING
The operation permitted when the document is opened with the user password.
|
static int |
ALLOW_FILL_IN
The operation permitted when the document is opened with the user password.
|
static int |
ALLOW_MODIFY_ANNOTATIONS
The operation permitted when the document is opened with the user password.
|
static int |
ALLOW_MODIFY_CONTENTS
The operation permitted when the document is opened with the user password.
|
static int |
ALLOW_PRINTING
The operation permitted when the document is opened with the user password.
|
static int |
ALLOW_SCREENREADERS
The operation permitted when the document is opened with the user password.
|
static int |
DO_NOT_ENCRYPT_METADATA
Add this to the mode to keep the metadata in clear text.
|
static int |
EMBEDDED_FILES_ONLY
Add this to the mode to keep encrypt only the embedded files.
|
static int |
ENCRYPTION_AES_128
Type of encryption.
|
static int |
ENCRYPTION_AES_256
Type of encryption.
|
static int |
STANDARD_ENCRYPTION_128
Type of encryption.
|
static int |
STANDARD_ENCRYPTION_40
Type of encryption.
|
Constructor and Description |
---|
EncryptionConstants() |
public static final int STANDARD_ENCRYPTION_40
public static final int STANDARD_ENCRYPTION_128
public static final int ENCRYPTION_AES_128
public static final int ENCRYPTION_AES_256
public static final int DO_NOT_ENCRYPT_METADATA
public static final int EMBEDDED_FILES_ONLY
public static final int ALLOW_PRINTING
public static final int ALLOW_MODIFY_CONTENTS
public static final int ALLOW_COPY
public static final int ALLOW_MODIFY_ANNOTATIONS
public static final int ALLOW_FILL_IN
public static final int ALLOW_SCREENREADERS
public static final int ALLOW_ASSEMBLY
public static final int ALLOW_DEGRADED_PRINTING
Copyright © 1998–2016 iText Group NV. All rights reserved.