Documentation
¶
Index ¶
Constants ¶
View Source
const GssStateAcceptCompleted = 0
View Source
const GssStateAcceptIncomplete = 1
View Source
const GssStateReject = 2
View Source
const GssStateRequestMic = 3
View Source
const NtLmSSPMechTypeOid = "1.3.6.1.4.1.311.2.2.10"
View Source
const SpnegoOid = "1.3.6.1.5.5.2"
Variables ¶
This section is empty.
Functions ¶
func ObjectIDStrToInt ¶
Types ¶
type NegTokenInit ¶
type NegTokenInit struct {
OID asn1.ObjectIdentifier
Data NegTokenInitData `asn1:"explicit"`
}
func NewNegTokenInit ¶
func NewNegTokenInit() (NegTokenInit, error)
func (*NegTokenInit) MarshalBinary ¶
func (n *NegTokenInit) MarshalBinary(meta *encoder.Metadata) ([]byte, error)
func (*NegTokenInit) UnmarshalBinary ¶
func (n *NegTokenInit) UnmarshalBinary(buf []byte, meta *encoder.Metadata) error
type NegTokenInitData ¶
type NegTokenResp ¶
type NegTokenResp struct {
State asn1.Enumerated `asn1:"explicit,optional,omitempty,tag:0"`
SupportedMech asn1.ObjectIdentifier `asn1:"explicit,optional,omitempty,tag:1"`
ResponseToken []byte `asn1:"explicit,optional,omitempty,tag:2"`
MechListMIC []byte `asn1:"explicit,optional,omitempty,tag:3"`
}
func NewNegTokenResp ¶
func NewNegTokenResp() (NegTokenResp, error)
func (*NegTokenResp) MarshalBinary ¶
func (r *NegTokenResp) MarshalBinary(meta *encoder.Metadata) ([]byte, error)
func (*NegTokenResp) UnmarshalBinary ¶
func (r *NegTokenResp) UnmarshalBinary(buf []byte, meta *encoder.Metadata) error
Click to show internal directories.
Click to hide internal directories.