Enum XmlEncryptionDescriptor.CipherAlgorithm
- java.lang.Object
-
- java.lang.Enum<XmlEncryptionDescriptor.CipherAlgorithm>
-
- com.healthmarketscience.jackcess.crypt.impl.office.XmlEncryptionDescriptor.CipherAlgorithm
-
- All Implemented Interfaces:
Serializable,Comparable<XmlEncryptionDescriptor.CipherAlgorithm>
- Enclosing class:
- XmlEncryptionDescriptor
public static enum XmlEncryptionDescriptor.CipherAlgorithm extends Enum<XmlEncryptionDescriptor.CipherAlgorithm>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockCipherinitBlockCipher()static XmlEncryptionDescriptor.CipherAlgorithmvalueOf(String name)Returns the enum constant of this type with the specified name.static XmlEncryptionDescriptor.CipherAlgorithm[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AES
public static final XmlEncryptionDescriptor.CipherAlgorithm AES
-
RC2
public static final XmlEncryptionDescriptor.CipherAlgorithm RC2
-
RC4
public static final XmlEncryptionDescriptor.CipherAlgorithm RC4
-
DES
public static final XmlEncryptionDescriptor.CipherAlgorithm DES
-
_3DES
public static final XmlEncryptionDescriptor.CipherAlgorithm _3DES
-
_3DES112
public static final XmlEncryptionDescriptor.CipherAlgorithm _3DES112
-
-
Method Detail
-
values
public static XmlEncryptionDescriptor.CipherAlgorithm[] 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 (XmlEncryptionDescriptor.CipherAlgorithm c : XmlEncryptionDescriptor.CipherAlgorithm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XmlEncryptionDescriptor.CipherAlgorithm 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
-
initBlockCipher
public BlockCipher initBlockCipher()
-
-