Class EncryptionConstants

java.lang.Object
com.itextpdf.kernel.pdf.EncryptionConstants

public final class EncryptionConstants extends Object
  • Field Details

    • STANDARD_ENCRYPTION_40

      public static final int STANDARD_ENCRYPTION_40
      Type of encryption. RC4 encryption algorithm will be used with the key length of 40 bits.
      See Also:
    • STANDARD_ENCRYPTION_128

      public static final int STANDARD_ENCRYPTION_128
      Type of encryption. RC4 encryption algorithm will be used with the key length of 128 bits.
      See Also:
    • ENCRYPTION_AES_128

      public static final int ENCRYPTION_AES_128
      Type of encryption. AES encryption algorithm will be used with the key length of 128 bits.
      See Also:
    • ENCRYPTION_AES_256

      public static final int ENCRYPTION_AES_256
      Type of encryption. AES encryption algorithm will be used with the key length of 256 bits.
      See Also:
    • ENCRYPTION_AES_GCM

      public static final int ENCRYPTION_AES_GCM
      Type of encryption. Advanced Encryption Standard-Galois/Counter Mode (AES-GCM) encryption algorithm.
      See Also:
    • DO_NOT_ENCRYPT_METADATA

      public static final int DO_NOT_ENCRYPT_METADATA
      Add this to the mode to keep the metadata in clear text.
      See Also:
    • EMBEDDED_FILES_ONLY

      public static final int EMBEDDED_FILES_ONLY
      Add this to the mode to keep encrypt only the embedded files.
      See Also:
    • ALLOW_PRINTING

      public static final int ALLOW_PRINTING
      The operation permitted when the document is opened with the user password.
      See Also:
    • ALLOW_MODIFY_CONTENTS

      public static final int ALLOW_MODIFY_CONTENTS
      The operation permitted when the document is opened with the user password.
      See Also:
    • ALLOW_COPY

      public static final int ALLOW_COPY
      The operation permitted when the document is opened with the user password.
      See Also:
    • ALLOW_MODIFY_ANNOTATIONS

      public static final int ALLOW_MODIFY_ANNOTATIONS
      The operation permitted when the document is opened with the user password.
      See Also:
    • ALLOW_FILL_IN

      public static final int ALLOW_FILL_IN
      The operation permitted when the document is opened with the user password.
      See Also:
    • ALLOW_SCREENREADERS

      public static final int ALLOW_SCREENREADERS
      The operation permitted when the document is opened with the user password.
      See Also:
    • ALLOW_ASSEMBLY

      public static final int ALLOW_ASSEMBLY
      The operation permitted when the document is opened with the user password.
      See Also:
    • ALLOW_DEGRADED_PRINTING

      public static final int ALLOW_DEGRADED_PRINTING
      The operation permitted when the document is opened with the user password.
      See Also: