Package com.trilead.ssh2.crypto.digest
Enum Class MessageMac.Hmac
- All Implemented Interfaces:
Serializable
,Comparable<MessageMac.Hmac>
,Constable
- Enclosing class:
- MessageMac
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static MessageMac.Hmac
int
getType()
static MessageMac.Hmac
Returns the enum constant of this class with the specified name.static MessageMac.Hmac[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HMAC_MD5_96
-
HMAC_MD5
-
HMAC_SHA1_96
-
HMAC_SHA1
-
HMAC_SHA2_256
-
HMAC_SHA2_512
-
-
Field Details
-
type
-
algorithm
-
length
private int length
-
-
Constructor Details
-
Hmac
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getType
-
getAlgorithm
-
getLength
public int getLength() -
getHmac
-