2 * Copyright 1993 by OpenVision Technologies, Inc.
4 * Permission to use, copy, modify, distribute, and sell this software
5 * and its documentation for any purpose is hereby granted without fee,
6 * provided that the above copyright notice appears in all copies and
7 * that both that copyright notice and this permission notice appear in
8 * supporting documentation, and that the name of OpenVision not be used
9 * in advertising or publicity pertaining to distribution of the software
10 * without specific, written prior permission. OpenVision makes no
11 * representations about the suitability of this software for any
12 * purpose. It is provided "as is" without express or implied warranty.
14 * OPENVISION DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
15 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
16 * EVENT SHALL OPENVISION BE LIABLE FOR ANY SPECIAL, INDIRECT OR
17 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
18 * USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
19 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20 * PERFORMANCE OF THIS SOFTWARE.
26 * See krb5/gssapi_krb5.c for a description of the algorithm for
27 * encoding an object identifier.
31 * The OID of user_name is:
32 * iso(1) member-body(2) US(840) mit(113554) infosys(1) gssapi(2)
33 * generic(1) user_name(1) = 1.2.840.113554.1.2.1.1
35 * iso(1) member-body(2) US(840) mit(113554) infosys(1) gssapi(2)
36 * generic(1) machine_uid_name(2) = 1.2.840.113554.1.2.1.2
38 * iso(1) member-body(2) US(840) mit(113554) infosys(1) gssapi(2)
39 * generic(1) string_uid_name(3) = 1.2.840.113554.1.2.1.3
41 * iso(1) member-body(2) US(840) mit(113554) infosys(1) gssapi(2)
42 * generic(1) service_name(4) = 1.2.840.113554.1.2.1.4
44 * iso(1) org(3) dod(6) internet(1) security(5) nametypes(6)
45 * gss-anonymous-name(3) = 1.3.6.1.5.6.3
47 * iso(1) org(3) dod(6) internet(1) security(5) nametypes(6)
48 * gss-api-exported-name(4) = 1.3.6.1.5.6.4
52 static const gss_OID_desc oids[] = {
53 {10, "\052\206\110\206\367\022\001\002\001\001"},
54 {10, "\052\206\110\206\367\022\001\002\001\002"},
55 {10, "\052\206\110\206\367\022\001\002\001\003"},
56 {10, "\052\206\110\206\367\022\001\002\001\004"},
57 {6, "\053\006\001\005\006\003"},
58 {6, "\053\006\001\005\006\004"},
63 * rfc2744 defines the UPPERCASE names, the lowercase names are
64 * the original MIT names and should not be used in new applications
66 const gss_OID_desc * const GSS_C_NT_USER_NAME = oids+0;
67 const gss_OID_desc * const gss_nt_user_name = oids+0;
69 const gss_OID_desc * const GSS_C_NT_MACHINE_UID_NAME = oids+1;
70 const gss_OID_desc * const gss_nt_machine_uid_name = oids+1;
72 const gss_OID_desc * const GSS_C_NT_STRING_UID_NAME = oids+2;
73 const gss_OID_desc * const gss_nt_string_uid_name = oids+2;
75 const gss_OID_desc * const GSS_C_NT_HOSTBASED_SERVICE = oids+3;
76 const gss_OID_desc * const gss_nt_service_name = oids+3;
78 const gss_OID_desc * const GSS_C_NT_ANONYMOUS = oids+4;
80 const gss_OID_desc * const GSS_C_NT_EXPORT_NAME = oids+5;