advanced_nego

package
v2.4.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2022 License: MIT Imports: 11 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthService

func NewAuthService(comm *AdvancedNegoComm) (*authService, error)

func NewDataIntegrityService

func NewDataIntegrityService(comm *AdvancedNegoComm) (*dataIntegrityService, error)

func NewEncryptService

func NewEncryptService(comm *AdvancedNegoComm) (*encryptService, error)

func NewSupervisorService

func NewSupervisorService(comm *AdvancedNegoComm) (*supervisorService, error)

Types

type AdvNego

type AdvNego struct {
	// contains filtered or unexported fields
}

func NewAdvNego

func NewAdvNego(session *network.Session) (*AdvNego, error)

func (*AdvNego) Read

func (nego *AdvNego) Read() error

func (*AdvNego) StartServices added in v2.1.21

func (nego *AdvNego) StartServices() error

func (*AdvNego) Write

func (nego *AdvNego) Write() error

type AdvNegoService

type AdvNegoService interface {
	// contains filtered or unexported methods
}

type AdvancedNegoComm added in v2.1.21

type AdvancedNegoComm struct {
	// contains filtered or unexported fields
}

type NTSAuthDefault added in v2.3.3

type NTSAuthDefault struct{}

func (*NTSAuthDefault) NewNegotiateMessage added in v2.3.3

func (nts *NTSAuthDefault) NewNegotiateMessage(domain, machine string) ([]byte, error)

func (*NTSAuthDefault) ProcessChallenge added in v2.3.3

func (nts *NTSAuthDefault) ProcessChallenge(chaMsgData []byte, user, password string) ([]byte, error)

type NTSAuthHash added in v2.3.5

type NTSAuthHash struct {
	NTSAuthDefault
}

func (*NTSAuthHash) ProcessChallenge added in v2.3.5

func (nts *NTSAuthHash) ProcessChallenge(chaMsgData []byte, user, password string) ([]byte, error)

type NTSAuthInterface added in v2.3.3

type NTSAuthInterface interface {
	NewNegotiateMessage(domain, machine string) ([]byte, error)
	ProcessChallenge(chaMsgData []byte, user, password string) ([]byte, error)
}
var NTSAuth NTSAuthInterface = &NTSAuthDefault{}

Directories

Path Synopsis
Package ntlmssp provides NTLM/Negotiate authentication over HTTP Protocol details from https://msdn.microsoft.com/en-us/library/cc236621.aspx, implementation hints from http://davenport.sourceforge.net/ntlm.html .
Package ntlmssp provides NTLM/Negotiate authentication over HTTP Protocol details from https://msdn.microsoft.com/en-us/library/cc236621.aspx, implementation hints from http://davenport.sourceforge.net/ntlm.html .

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL