Documentation ¶
Overview ¶
Package smbencryption defines structures and identifiers for SMB encryption.
Index ¶
Constants ¶
View Source
const ( AES128CCM = 0x0001 AES128GCM = 0x0002 )
Possible encryption ciphers.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Capabilities ¶
type Capabilities []byte
Capabilities interprets a slice of bytes as a set of encryption capabilities during SMB 3.1.1 protocol negotiation.
func (Capabilities) CipherCount ¶
func (c Capabilities) CipherCount() uint16
CipherCount returns the number of supported encryption ciphers.
func (Capabilities) Ciphers ¶
func (c Capabilities) Ciphers() List
Ciphers returns the list of supported encryption ciphers.
func (Capabilities) SetCipherCount ¶
func (c Capabilities) SetCipherCount(count uint16)
SetCipherCount sets the number of supported encryption ciphers.
Click to show internal directories.
Click to hide internal directories.