Package org.conscrypt.ct
Enum DigitallySigned.HashAlgorithm
- java.lang.Object
-
- java.lang.Enum<DigitallySigned.HashAlgorithm>
-
- org.conscrypt.ct.DigitallySigned.HashAlgorithm
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DigitallySigned.HashAlgorithm>
- Enclosing class:
- DigitallySigned
public static enum DigitallySigned.HashAlgorithm extends java.lang.Enum<DigitallySigned.HashAlgorithm>
-
-
Field Summary
Fields Modifier and Type Field Description private static DigitallySigned.HashAlgorithm[]
values
-
Constructor Summary
Constructors Modifier Constructor Description private
HashAlgorithm()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DigitallySigned.HashAlgorithm
valueOf(int ord)
Returns the enum constant of this type with the specified name.static DigitallySigned.HashAlgorithm
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DigitallySigned.HashAlgorithm[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final DigitallySigned.HashAlgorithm NONE
-
MD5
public static final DigitallySigned.HashAlgorithm MD5
-
SHA1
public static final DigitallySigned.HashAlgorithm SHA1
-
SHA224
public static final DigitallySigned.HashAlgorithm SHA224
-
SHA256
public static final DigitallySigned.HashAlgorithm SHA256
-
SHA384
public static final DigitallySigned.HashAlgorithm SHA384
-
SHA512
public static final DigitallySigned.HashAlgorithm SHA512
-
-
Field Detail
-
values
private static DigitallySigned.HashAlgorithm[] values
-
-
Method Detail
-
values
public static DigitallySigned.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 (DigitallySigned.HashAlgorithm c : DigitallySigned.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 DigitallySigned.HashAlgorithm valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
valueOf
public static DigitallySigned.HashAlgorithm valueOf(int ord)
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:
ord
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-