Enum Class SMB3EncryptionCipher

java.lang.Object
java.lang.Enum<SMB3EncryptionCipher>
com.hierynomus.mssmb2.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
  • Enum Constant Details

  • Field Details

    • value

      private long value
    • algorithmName

      private String algorithmName
    • nonceLength

      private int nonceLength
  • Constructor Details

    • SMB3EncryptionCipher

      private SMB3EncryptionCipher(long value, String algorithmName, int nonceLength)
  • Method Details

    • values

      public static SMB3EncryptionCipher[] 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

      public static SMB3EncryptionCipher valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getValue

      public long getValue()
      Specified by:
      getValue in interface EnumWithValue<SMB3EncryptionCipher>
    • getAlgorithmName

      public String getAlgorithmName()
    • getNonceLength

      public int getNonceLength()