Scott Baker | 8461e15 | 2019-10-01 14:44:30 -0700 | [diff] [blame] | 1 | // Package flags provides Kerberos 5 flag assigned numbers. |
| 2 | package flags |
| 3 | |
| 4 | // Flag values for KRB5 messages and tickets. |
| 5 | const ( |
| 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 | ) |