mirror of
https://github.com/fhmq/hmq.git
synced 2026-09-01 15:24:53 +00:00
* modify * update * add acl * add feature * update dockerfile * add deploy * update * update * plugins * plugins * update * update * update * fixed * remove * fixed * add log * update * fixed * update * fix config * add http api * add http api * resp * add config for work chan * update * fixed * update * disable trace * fixed * change acl * fixed * fixed res * dd * dd * ddd * dd * update * fixed * update * add * fixed * update key * add log * update * format * update * update auth * update * update readme * added * update * fixed * fixed * fix * upade * update * update
26 lines
538 B
Go
26 lines
538 B
Go
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
|
|
type ContextFlags asn1.BitString
|
|
|
|
// NewContextFlags creates a new ContextFlags instance.
|
|
func NewContextFlags() ContextFlags {
|
|
var c ContextFlags
|
|
c.BitLength = 32
|
|
c.Bytes = make([]byte, 4)
|
|
return c
|
|
}
|