Package com.hierynomus.mssmb2
Enum SMB3HashAlgorithm
- java.lang.Object
-
- java.lang.Enum<SMB3HashAlgorithm>
-
- com.hierynomus.mssmb2.SMB3HashAlgorithm
-
- All Implemented Interfaces:
EnumWithValue<SMB3HashAlgorithm>
,java.io.Serializable
,java.lang.Comparable<SMB3HashAlgorithm>
,java.lang.constant.Constable
public enum SMB3HashAlgorithm extends java.lang.Enum<SMB3HashAlgorithm> implements EnumWithValue<SMB3HashAlgorithm>
[MS-SMB2].pdf 2.2.3.1.1 SMB2_PREAUTH_INTEGRITY_CAPABILITIES -- HashAlgorithm This is part of the SMB3x dialects
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
-
Nested classes/interfaces inherited from interface com.hierynomus.protocol.commons.EnumWithValue
EnumWithValue.EnumUtils
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SHA_512
-
Method Summary
Modifier and Type Method Description java.lang.String
getAlgorithmName()
long
getValue()
static SMB3HashAlgorithm
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SMB3HashAlgorithm[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SHA_512
public static final SMB3HashAlgorithm SHA_512
-
-
Method Detail
-
values
public static SMB3HashAlgorithm[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SMB3HashAlgorithm 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
-
getValue
public long getValue()
- Specified by:
getValue
in interfaceEnumWithValue<SMB3HashAlgorithm>
-
getAlgorithmName
public java.lang.String getAlgorithmName()
-
-