constants.go 825 B

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