Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 1 | // Package keyusage provides Kerberos 5 key usage assigned numbers. |
| 2 | package keyusage |
| 3 | |
| 4 | // Key usage numbers. |
| 5 | const ( |
| 6 | AS_REQ_PA_ENC_TIMESTAMP = 1 |
| 7 | KDC_REP_TICKET = 2 |
| 8 | AS_REP_ENCPART = 3 |
| 9 | TGS_REQ_KDC_REQ_BODY_AUTHDATA_SESSION_KEY = 4 |
| 10 | TGS_REQ_KDC_REQ_BODY_AUTHDATA_SUB_KEY = 5 |
| 11 | TGS_REQ_PA_TGS_REQ_AP_REQ_AUTHENTICATOR_CHKSUM = 6 |
| 12 | TGS_REQ_PA_TGS_REQ_AP_REQ_AUTHENTICATOR = 7 |
| 13 | TGS_REP_ENCPART_SESSION_KEY = 8 |
| 14 | TGS_REP_ENCPART_AUTHENTICATOR_SUB_KEY = 9 |
| 15 | AP_REQ_AUTHENTICATOR_CHKSUM = 10 |
| 16 | AP_REQ_AUTHENTICATOR = 11 |
| 17 | AP_REP_ENCPART = 12 |
| 18 | KRB_PRIV_ENCPART = 13 |
| 19 | KRB_CRED_ENCPART = 14 |
| 20 | KRB_SAFE_CHKSUM = 15 |
| 21 | KERB_NON_KERB_SALT = 16 |
| 22 | KERB_NON_KERB_CKSUM_SALT = 17 |
| 23 | //18. Reserved for future use in Kerberos and related protocols. |
| 24 | AD_KDC_ISSUED_CHKSUM = 19 |
| 25 | //20-21. Reserved for future use in Kerberos and related protocols. |
| 26 | GSSAPI_ACCEPTOR_SEAL = 22 |
| 27 | GSSAPI_ACCEPTOR_SIGN = 23 |
| 28 | GSSAPI_INITIATOR_SEAL = 24 |
| 29 | GSSAPI_INITIATOR_SIGN = 25 |
| 30 | KEY_USAGE_FAST_REQ_CHKSUM = 50 |
| 31 | KEY_USAGE_FAST_ENC = 51 |
| 32 | KEY_USAGE_FAST_REP = 52 |
| 33 | KEY_USAGE_FAST_FINISHED = 53 |
| 34 | KEY_USAGE_ENC_CHALLENGE_CLIENT = 54 |
| 35 | KEY_USAGE_ENC_CHALLENGE_KDC = 55 |
| 36 | KEY_USAGE_AS_REQ = 56 |
| 37 | //26-511. Reserved for future use in Kerberos and related protocols. |
| 38 | //512-1023. Reserved for uses internal to a Kerberos implementation. |
| 39 | //1024. Encryption for application use in protocols that do not specify key usage values |
| 40 | //1025. Checksums for application use in protocols that do not specify key usage values |
| 41 | //1026-2047. Reserved for application use. |
| 42 | ) |