Module jcifs

Class EncryptionNegotiateContext

java.lang.Object
org.codelibs.jcifs.smb.internal.smb2.nego.EncryptionNegotiateContext
All Implemented Interfaces:
Decodable, Encodable, NegotiateContextRequest, NegotiateContextResponse

public class EncryptionNegotiateContext extends Object implements NegotiateContextRequest, NegotiateContextResponse
SMB2 Encryption Negotiate Context. This negotiate context is used in SMB 3.x to negotiate encryption capabilities and cipher suites.
Author:
mbechler
  • Field Details

    • NEGO_CTX_ENC_TYPE

      public static final int NEGO_CTX_ENC_TYPE
      Context type
      See Also:
    • CIPHER_AES128_CCM

      public static final int CIPHER_AES128_CCM
      AES 128 CCM
      See Also:
    • CIPHER_AES128_GCM

      public static final int CIPHER_AES128_GCM
      AES 128 GCM
      See Also:
  • Constructor Details

    • EncryptionNegotiateContext

      public EncryptionNegotiateContext(Configuration config, int[] ciphers)
      Constructs an encryption negotiate context.
      Parameters:
      config - the configuration (currently unused)
      ciphers - array of encryption cipher IDs to negotiate
    • EncryptionNegotiateContext

      public EncryptionNegotiateContext()
      Default constructor for decoding.
  • Method Details