Package com.hierynomus.mssmb2
Enum Class SMB3EncryptionCipher
- All Implemented Interfaces:
EnumWithValue<SMB3EncryptionCipher>
,Serializable
,Comparable<SMB3EncryptionCipher>
,Constable
public enum SMB3EncryptionCipher
extends Enum<SMB3EncryptionCipher>
implements EnumWithValue<SMB3EncryptionCipher>
[MS-SMB2].pdf 2.2.3.1.2 SMB2_ENCRYPTION_CAPABILITIES -- Cipher
-
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
ConstructorsModifierConstructorDescriptionprivate
SMB3EncryptionCipher
(long value, String algorithmName, int nonceLength) -
Method Summary
Modifier and TypeMethodDescriptionint
long
getValue()
static SMB3EncryptionCipher
Returns the enum constant of this class with the specified name.static SMB3EncryptionCipher[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AES_128_CCM
-
AES_128_GCM
-
-
Field Details
-
value
private long value -
algorithmName
-
nonceLength
private int nonceLength
-
-
Constructor Details
-
SMB3EncryptionCipher
-
-
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<SMB3EncryptionCipher>
-
getAlgorithmName
-
getNonceLength
public int getNonceLength()
-