Enum EncryptionHeader.HashAlgorithm
- java.lang.Object
-
- java.lang.Enum<EncryptionHeader.HashAlgorithm>
-
- com.healthmarketscience.jackcess.crypt.impl.office.EncryptionHeader.HashAlgorithm
-
- All Implemented Interfaces:
Serializable,Comparable<EncryptionHeader.HashAlgorithm>
- Enclosing class:
- EncryptionHeader
public static enum EncryptionHeader.HashAlgorithm extends Enum<EncryptionHeader.HashAlgorithm>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAlgId()static EncryptionHeader.HashAlgorithmvalueOf(String name)Returns the enum constant of this type with the specified name.static EncryptionHeader.HashAlgorithm[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXTERNAL
public static final EncryptionHeader.HashAlgorithm EXTERNAL
-
SHA1
public static final EncryptionHeader.HashAlgorithm SHA1
-
-
Method Detail
-
values
public static EncryptionHeader.HashAlgorithm[] 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 (EncryptionHeader.HashAlgorithm c : EncryptionHeader.HashAlgorithm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EncryptionHeader.HashAlgorithm 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
-
getAlgId
public int getAlgId()
-
-