blob: 787801f8f9945f4dbaaa4244322ab68f8351dc93 [file] [log] [blame]
Holger Hildebrandtfa074992020-03-27 15:42:06 +00001// Package flags provides Kerberos 5 flag assigned numbers.
2package flags
3
4// Flag values for KRB5 messages and tickets.
5const (
6 Reserved = 0
7 Forwardable = 1
8 Forwarded = 2
9 Proxiable = 3
10 Proxy = 4
11 AllowPostDate = 5
12 MayPostDate = 5
13 PostDated = 6
14 Invalid = 7
15 Renewable = 8
16 Initial = 9
17 PreAuthent = 10
18 HWAuthent = 11
19 OptHardwareAuth = 11
20 RequestAnonymous = 12
21 TransitedPolicyChecked = 12
22 OKAsDelegate = 13
23 EncPARep = 15
24 Canonicalize = 15
25 DisableTransitedCheck = 26
26 RenewableOK = 27
27 EncTktInSkey = 28
28 Renew = 30
29 Validate = 31
30
31 // AP Option Flags
32 // 0 Reserved for future use.
33 APOptionUseSessionKey = 1
34 APOptionMutualRequired = 2
35 // 3-31 Reserved for future use.
36)