Versions in this module Expand all Collapse all v3 v3.0.0 Jan 14, 2018 Changes in this version + const GSS_C_CONF_FLAG + const GSS_C_DELEG_FLAG + const GSS_C_INTEG_FLAG + const GSS_C_MUTUAL_FLAG + const GSS_C_REPLAY_FLAG + const GSS_C_SEQUENCE_FLAG + const TOK_ID_KRB_AP_REP + const TOK_ID_KRB_AP_REQ + const TOK_ID_KRB_ERROR + var MechTypeOIDKRB5 = asn1.ObjectIdentifier + var MechTypeOIDMSLegacyKRB5 = asn1.ObjectIdentifier + var SPNEGO_OID = asn1.ObjectIdentifier + func NewAuthenticator(creds credentials.Credentials, keyType int, flags []int) (types.Authenticator, error) + func UnmarshalNegToken(b []byte) (bool, interface{}, error) + type ContextFlags asn1.BitString + func NewContextFlags() ContextFlags + type MechToken struct + APRep messages.APRep + APReq messages.APReq + KRBError messages.KRBError + OID asn1.ObjectIdentifier + TokID []byte + func NewAPREQMechToken(creds credentials.Credentials, tkt messages.Ticket, ...) (MechToken, error) + func (m *MechToken) IsAPRep() bool + func (m *MechToken) IsAPReq() bool + func (m *MechToken) IsKRBError() bool + func (m *MechToken) Marshal() ([]byte, error) + func (m *MechToken) Unmarshal(b []byte) error + type NegTokenInit struct + MechToken []byte + MechTokenMIC []byte + MechTypes []asn1.ObjectIdentifier + ReqFlags ContextFlags + func NewNegTokenInitKrb5(creds credentials.Credentials, tkt messages.Ticket, ...) (NegTokenInit, error) + func (n *NegTokenInit) Marshal() ([]byte, error) + type NegTokenResp struct + MechListMIC []byte + NegState asn1.Enumerated + ResponseToken []byte + SupportedMech asn1.ObjectIdentifier + func (n *NegTokenResp) Marshal() ([]byte, error) + type NegTokenTarg NegTokenResp + type SPNEGO struct + Init bool + NegTokenInit NegTokenInit + NegTokenResp NegTokenResp + Resp bool + func GetSPNEGOKrbNegTokenInit(creds credentials.Credentials, tkt messages.Ticket, ...) (SPNEGO, error) + func (s *SPNEGO) Marshal() ([]byte, error) + func (s *SPNEGO) Unmarshal(b []byte) error Other modules containing this package gopkg.in/jcmturner/gokrb5.v1 gopkg.in/jcmturner/gokrb5.v2 gopkg.in/jcmturner/gokrb5.v4 gopkg.in/jcmturner/gokrb5.v5 gopkg.in/jcmturner/gokrb5.v6 gopkg.in/jcmturner/gokrb5.v7 gopkg.in/jcmturner/gokrb5.v8