blob: ad21810b675cb6eebeaabadaf1c1fc62ef0ec7c7 [file] [log] [blame]
Holger Hildebrandtfa074992020-03-27 15:42:06 +00001// Package msgtype provides Kerberos 5 message type assigned numbers.
2package msgtype
3
4// KRB message type IDs.
5const (
6 KRB_AS_REQ = 10 //Request for initial authentication
7 KRB_AS_REP = 11 //Response to KRB_AS_REQ request
8 KRB_TGS_REQ = 12 //Request for authentication based on TGT
9 KRB_TGS_REP = 13 //Response to KRB_TGS_REQ request
10 KRB_AP_REQ = 14 //Application request to server
11 KRB_AP_REP = 15 //Response to KRB_AP_REQ_MUTUAL
12 KRB_RESERVED16 = 16 //Reserved for user-to-user krb_tgt_request
13 KRB_RESERVED17 = 17 //Reserved for user-to-user krb_tgt_reply
14 KRB_SAFE = 20 // Safe (checksummed) application message
15 KRB_PRIV = 21 // Private (encrypted) application message
16 KRB_CRED = 22 //Private (encrypted) message to forward credentials
17 KRB_ERROR = 30 //Error response
18)