blob: 8c91859b89ff2a8afdb97867854def2e01dbc76c [file] [log] [blame]
package gssapi
import "github.com/jcmturner/gofork/encoding/asn1"
// GSS-API context flags assigned numbers.
const (
ContextFlagDeleg = 1
ContextFlagMutual = 2
ContextFlagReplay = 4
ContextFlagSequence = 8
ContextFlagConf = 16
ContextFlagInteg = 32
ContextFlagAnon = 64
)
// ContextFlags flags for GSSAPI
// DEPRECATED - do not use
type ContextFlags asn1.BitString
// NewContextFlags creates a new ContextFlags instance
// DEPRECATED - do not use
func NewContextFlags() ContextFlags {
var c ContextFlags
c.BitLength = 32
c.Bytes = make([]byte, 4)
return c
}