Package net.webpdf.wsclient.openapi
Enum OperationPasswordEncrypt.EncryptionKeyEnum
- java.lang.Object
-
- java.lang.Enum<OperationPasswordEncrypt.EncryptionKeyEnum>
-
- net.webpdf.wsclient.openapi.OperationPasswordEncrypt.EncryptionKeyEnum
-
- All Implemented Interfaces:
Serializable,Comparable<OperationPasswordEncrypt.EncryptionKeyEnum>
- Enclosing class:
- OperationPasswordEncrypt
public static enum OperationPasswordEncrypt.EncryptionKeyEnum extends Enum<OperationPasswordEncrypt.EncryptionKeyEnum>
Sets the encryption level for the document. * RC4\\_40 = 40-bit RC4 * RC4\\_128 = 128-bit RC4 * AES\\_128 = 128-bit AES * AES\\_256 = 256-bit AES **Important:** Please note that the option \"256-bit AES\" only works if the \"Java Cryptography Extension (JCE)\" has been enabled with \"Unlimited Strength\" in the JVM. You can obtain the modified \"Policy Files\" (along with instructions for installation) from the Oracle website: Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 7 Download: http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperationPasswordEncrypt.EncryptionKeyEnumfromValue(String value)StringgetValue()StringtoString()static OperationPasswordEncrypt.EncryptionKeyEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static OperationPasswordEncrypt.EncryptionKeyEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RC4_40
public static final OperationPasswordEncrypt.EncryptionKeyEnum RC4_40
-
RC4_128
public static final OperationPasswordEncrypt.EncryptionKeyEnum RC4_128
-
AES_128
public static final OperationPasswordEncrypt.EncryptionKeyEnum AES_128
-
AES_256
public static final OperationPasswordEncrypt.EncryptionKeyEnum AES_256
-
-
Method Detail
-
values
public static OperationPasswordEncrypt.EncryptionKeyEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OperationPasswordEncrypt.EncryptionKeyEnum c : OperationPasswordEncrypt.EncryptionKeyEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationPasswordEncrypt.EncryptionKeyEnum 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 nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<OperationPasswordEncrypt.EncryptionKeyEnum>
-
fromValue
public static OperationPasswordEncrypt.EncryptionKeyEnum fromValue(String value)
-
-