Versions in this module Expand all Collapse all v0 v0.9.1 Dec 2, 2022 v0.9.0 Dec 2, 2022 Changes in this version + const MsvAvChannelBindings + const MsvAvDnsComputerName + const MsvAvDnsDomainName + const MsvAvDnsTreeName + const MsvAvEOL + const MsvAvFlags + const MsvAvNbComputerName + const MsvAvNbDomainName + const MsvAvSingleHost + const MsvAvTargetName + const MsvAvTimestamp + const NTLMSSP_ANONYMOUS + const NTLMSSP_NEGOTIATE_128 + const NTLMSSP_NEGOTIATE_56 + const NTLMSSP_NEGOTIATE_ALWAYS_SIGN + const NTLMSSP_NEGOTIATE_DATAGRAM + const NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY + const NTLMSSP_NEGOTIATE_IDENTIFY + const NTLMSSP_NEGOTIATE_KEY_EXCH + const NTLMSSP_NEGOTIATE_LM_KEY + const NTLMSSP_NEGOTIATE_NTLM + const NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED + const NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED + const NTLMSSP_NEGOTIATE_SEAL + const NTLMSSP_NEGOTIATE_SIGN + const NTLMSSP_NEGOTIATE_TARGET_INFO + const NTLMSSP_NEGOTIATE_UNICODE + const NTLMSSP_NEGOTIATE_VERSION + const NTLMSSP_REQUEST_NON_NT_SESSION_KEY + const NTLMSSP_REQUEST_TARGET + const NTLMSSP_REVISION_W2K3 + const NTLMSSP_TARGET_TYPE_DOMAIN + const NTLMSSP_TARGET_TYPE_SERVER + const NTLM_NEGOTIATE_OEM + const NtLmAuthenticate + const NtLmChallenge + const NtLmNegotiate + const WINDOWS_MAJOR_VERSION_10 + const WINDOWS_MAJOR_VERSION_5 + const WINDOWS_MAJOR_VERSION_6 + const WINDOWS_MINOR_VERSION_0 + const WINDOWS_MINOR_VERSION_1 + const WINDOWS_MINOR_VERSION_2 + const WINDOWS_MINOR_VERSION_3 + type Client struct + Domain string + Hash []byte + Password string + TargetSPN string + User string + Workstation string + func (c *Client) Authenticate(cmsg []byte) (amsg []byte, err error) + func (c *Client) Negotiate() (nmsg []byte, err error) + func (c *Client) Session() *Session + type InfoMap struct + DnsComputerName string + DnsDomainName string + DnsTreeName string + NbComputerName string + NbDomainName string + type Server struct + func NewServer(targetName string) *Server + func (s *Server) AddAccount(user, password string) + func (s *Server) Authenticate(amsg []byte) (err error) + func (s *Server) Challenge(nmsg []byte) (cmsg []byte, err error) + func (s *Server) Session() *Session + type Session struct + func (s *Session) CheckSum(sum, plaintext []byte, seqNum uint32) (bool, uint32) + func (s *Session) InfoMap() *InfoMap + func (s *Session) Overhead() int + func (s *Session) Seal(dst, plaintext []byte, seqNum uint32) ([]byte, uint32) + func (s *Session) SessionKey() []byte + func (s *Session) Sum(plaintext []byte, seqNum uint32) ([]byte, uint32) + func (s *Session) Unseal(dst, ciphertext []byte, seqNum uint32) ([]byte, uint32, error) + func (s *Session) User() string