Enum Class SMB2NegotiateContextType
java.lang.Object
java.lang.Enum<SMB2NegotiateContextType>
com.hierynomus.mssmb2.messages.negotiate.SMB2NegotiateContextType
- All Implemented Interfaces:
EnumWithValue<SMB2NegotiateContextType>
,Serializable
,Comparable<SMB2NegotiateContextType>
,Constable
public enum SMB2NegotiateContextType
extends Enum<SMB2NegotiateContextType>
implements EnumWithValue<SMB2NegotiateContextType>
[MS-SMB2] 2.2.3.1 SMB2 NEGOTIATE_CONTEXT Request values - ContextType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface com.hierynomus.protocol.commons.EnumWithValue
EnumWithValue.EnumUtils
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
getValue()
static SMB2NegotiateContextType
Returns the enum constant of this class with the specified name.static SMB2NegotiateContextType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SMB2_PREAUTH_INTEGRITY_CAPABILITIES
-
SMB2_ENCRYPTION_CAPABILITIES
-
SMB2_COMPRESSION_CAPABILITIES
-
SMB2_NETNAME_NEGOTIATE_CONTEXT_ID
-
-
Field Details
-
value
private long value
-
-
Constructor Details
-
SMB2NegotiateContextType
private SMB2NegotiateContextType(long value)
-
-
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
-
getValue
public long getValue()- Specified by:
getValue
in interfaceEnumWithValue<SMB2NegotiateContextType>
-