summaryrefslogtreecommitdiff
path: root/spnego.h
blob: cff67ca2a73c2383951cccf6ba71a5f7d9f2be1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef  _SPNEGO_H
#define  _SPNEGO_H

/* needed OID's */
#define OID_SPNEGO "1.3.6.1.5.5.2"
#define OID_NTLMSSP "1.3.6.1.4.1.311.2.2.10"
#define OID_KERBEROS5_OLD "1.2.840.48018.1.2.2"
#define OID_KERBEROS5 "1.2.840.113554.1.2.2"

/* not really SPNEGO but GSSAPI (RFC 1964) */
#define TOK_ID_KRB_AP_REQ	(unsigned char *)"\x01\x00"
#define TOK_ID_KRB_AP_REP	(unsigned char *)"\x02\x00"
#define TOK_ID_KRB_ERROR	(unsigned char *)"\x03\x00"
#define TOK_ID_GSS_GETMIC	(unsigned char *)"\x01\x01"
#define TOK_ID_GSS_WRAP		(unsigned char *)"\x02\x01"

#endif /* _SPNEGO_H */