4593d0a641
- script/vendor received an update in order to work with Glide - import paths have been rewritten to work with GO15VENDOREXPERIMENT
28 lines
919 B
Go
28 lines
919 B
Go
//Copyright 2013 Thomson Reuters Global Resources. BSD License please see License file for more information
|
|
|
|
package ntlm
|
|
|
|
type NegotiateMessage struct {
|
|
// All bytes of the message
|
|
Bytes []byte
|
|
|
|
// sig - 8 bytes
|
|
Signature []byte
|
|
// message type - 4 bytes
|
|
MessageType uint32
|
|
// negotiate flags - 4bytes
|
|
NegotiateFlags uint32
|
|
// If the NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED flag is not set in NegotiateFlags,
|
|
// indicating that no DomainName is supplied in Payload - then this should have Len 0 / MaxLen 0
|
|
// this contains a domain name
|
|
DomainNameFields *PayloadStruct
|
|
// If the NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED flag is not set in NegotiateFlags,
|
|
// indicating that no WorkstationName is supplied in Payload - then this should have Len 0 / MaxLen 0
|
|
WorkstationFields *PayloadStruct
|
|
// version - 8 bytes
|
|
Version *VersionStruct
|
|
// payload - variable
|
|
Payload []byte
|
|
PayloadOffset int
|
|
}
|