Package net.webpdf.wsclient.openapi
Enum MetadataPassword.KeyAlgorithmEnum
- java.lang.Object
-
- java.lang.Enum<MetadataPassword.KeyAlgorithmEnum>
-
- net.webpdf.wsclient.openapi.MetadataPassword.KeyAlgorithmEnum
-
- All Implemented Interfaces:
Serializable,Comparable<MetadataPassword.KeyAlgorithmEnum>
- Enclosing class:
- MetadataPassword
public static enum MetadataPassword.KeyAlgorithmEnum extends Enum<MetadataPassword.KeyAlgorithmEnum>
The algorithm used for encryption. * none = The document is not encrypted. * aes = The document has been encrypted using the Advanced Encryption Standard. * rc4 = The document has been encrypted using the RC4 cipher.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetadataPassword.KeyAlgorithmEnumfromValue(String value)StringgetValue()StringtoString()static MetadataPassword.KeyAlgorithmEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static MetadataPassword.KeyAlgorithmEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final MetadataPassword.KeyAlgorithmEnum NONE
-
AES
public static final MetadataPassword.KeyAlgorithmEnum AES
-
RC4
public static final MetadataPassword.KeyAlgorithmEnum RC4
-
-
Method Detail
-
values
public static MetadataPassword.KeyAlgorithmEnum[] 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 (MetadataPassword.KeyAlgorithmEnum c : MetadataPassword.KeyAlgorithmEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MetadataPassword.KeyAlgorithmEnum 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<MetadataPassword.KeyAlgorithmEnum>
-
fromValue
public static MetadataPassword.KeyAlgorithmEnum fromValue(String value)
-
-