Class EncryptionConstants

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private EncryptionConstants()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • EMBEDDED_FILES_ONLY

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

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

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

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

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

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

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

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

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

        static final int ENCRYPTION_MASK
        Mask to separate the encryption type from the encryption mode.
        See Also:
        Constant Field Values
    • Constructor Detail

      • EncryptionConstants

        private EncryptionConstants()