Enum Configuration.Encryption

java.lang.Object
java.lang.Enum<Configuration.Encryption>
com.realobjects.pdfreactor.Configuration.Encryption
All Implemented Interfaces:
Serializable, Comparable<Configuration.Encryption>, java.lang.constant.Constable
Enclosing class:
Configuration

public static enum Configuration.Encryption extends Enum<Configuration.Encryption>

An enum containing encryption constants.

  • Enum Constant Details

    • NONE

      public static final Configuration.Encryption NONE

      Indicates that the document will not be encrypted. If encryption is disabled then no user password and no owner password can be used.

    • TYPE_128

      public static final Configuration.Encryption TYPE_128
      Deprecated.

      Deprecated as of PDFreactor 12. Use RC4_128 instead.

    • TYPE_40

      public static final Configuration.Encryption TYPE_40
      Deprecated.

      Deprecated as of PDFreactor 12. Use RC4_40 instead.

    • RC4_40

      public static final Configuration.Encryption RC4_40

      Indicates that the document will be encrypted using RC4 40 bit encryption.

    • RC4_128

      public static final Configuration.Encryption RC4_128

      Indicates that the document will be encrypted using RC4 128 bit encryption.

    • AES_128

      public static final Configuration.Encryption AES_128

      Indicates that the document will be encrypted using AES 128 bit encryption.

    • AES_256

      public static final Configuration.Encryption AES_256

      Indicates that the document will be encrypted using AES 256 bit encryption.

  • Method Details

    • values

      public static Configuration.Encryption[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Configuration.Encryption valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null