Package com.hierynomus.mssmb2
Enum SMB3EncryptionCipher
- java.lang.Object
-
- java.lang.Enum<SMB3EncryptionCipher>
-
- com.hierynomus.mssmb2.SMB3EncryptionCipher
-
- All Implemented Interfaces:
EnumWithValue<SMB3EncryptionCipher>
,java.io.Serializable
,java.lang.Comparable<SMB3EncryptionCipher>
,java.lang.constant.Constable
public enum SMB3EncryptionCipher extends java.lang.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
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 AES_128_CCM
AES_128_GCM
-
Method Summary
Modifier and Type Method Description java.lang.String
getAlgorithmName()
int
getNonceLength()
long
getValue()
static SMB3EncryptionCipher
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SMB3EncryptionCipher[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AES_128_CCM
public static final SMB3EncryptionCipher AES_128_CCM
-
AES_128_GCM
public static final SMB3EncryptionCipher AES_128_GCM
-
-
Method Detail
-
values
public static SMB3EncryptionCipher[] 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 SMB3EncryptionCipher 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<SMB3EncryptionCipher>
-
getAlgorithmName
public java.lang.String getAlgorithmName()
-
getNonceLength
public int getNonceLength()
-
-