1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 #ifndef _OID_HXX_
25 #define _OID_HXX_
26 
27 typedef struct OIDItemStr OIDItem;
28 
29 struct OIDItemStr {
30 	char *oid;
31 	char *desc;
32 };
33 
34 OIDItem OIDs[] = {
35 	{"1.2.840.113549",	"RSA Data Security Inc."},
36 	{"1.2.840.113549.1",	"PKCS"},
37 	{"1.2.840.113549.2",	"RSA digest algorithm"},
38 	{"1.2.840.113549.3",	"RSA cipher algorithm"},
39 	{"1.2.840.113549.1.1",	"PKCS #1"},
40 	{"1.2.840.113549.1.2",	"Unknown"},
41 	{"1.2.840.113549.1.3",	"Unknown"},
42 	{"1.2.840.113549.1.4",	"Unknown"},
43 	{"1.2.840.113549.1.5",	"PKCS #5"},
44 	{"1.2.840.113549.1.6",	"Unknown"},
45 	{"1.2.840.113549.1.7",	"PKCS #7"},
46 	{"1.2.840.113549.1.8",	"Unknown"},
47 	{"1.2.840.113549.1.9",	"PKCS #9"},
48 	{"1.2.840.113549.1.10",	"Unknown"},
49 	{"1.2.840.113549.1.12",	"PKCS #12"},
50 	{"1.2.840.113549.1.1.2",	"PKCS #1 MD2 With RSA Encryption"},
51 	{"1.2.840.113549.1.1.3",	"PKCS #1 MD4 With RSA Encryption"},
52 	{"1.2.840.113549.1.1.4",	"PKCS #1 MD5 With RSA Encryption"},
53 	{"1.2.840.113549.1.1.1",	"PKCS #1 RSA Encryption"},
54 	{"1.2.840.113549.1.1.2",	"PKCS #1 MD2 With RSA Encryption"},
55 	{"1.2.840.113549.1.1.3",	"PKCS #1 MD4 With RSA Encryption"},
56 	{"1.2.840.113549.1.1.4",	"PKCS #1 MD5 With RSA Encryption"},
57 	{"1.2.840.113549.1.1.5",	"PKCS #1 SHA-1 With RSA Encryption"},
58 	{"1.2.840.113549.1.1.5",	"PKCS #1 SHA-1 With RSA Encryption"},
59 	{"1.2.840.113549.1.3.1",	"Unknown"},
60 	{"1.2.840.113549.1.7.1",	"PKCS #7 Data"},
61 	{"1.2.840.113549.1.7.2",	"PKCS #7 Signed Data"},
62 	{"1.2.840.113549.1.7.3",	"PKCS #7 Enveloped Data"},
63 	{"1.2.840.113549.1.7.4",	"PKCS #7 Signed and Enveloped Data"},
64 	{"1.2.840.113549.1.7.5",	"PKCS #7 Digested Data"},
65 	{"1.2.840.113549.1.7.5",	"PKCS #7 Digested Data"},
66 	{"1.2.840.113549.1.7.6",	"PKCS #7 Encrypted Data"},
67 	{"1.2.840.113549.1.9.1",	"PKCS #9 Email Address"},
68 	{"1.2.840.113549.1.9.2",	"PKCS #9 Unstructured Name"},
69 	{"1.2.840.113549.1.9.3",	"PKCS #9 Content Type"},
70 	{"1.2.840.113549.1.9.4",	"PKCS #9 Message Digest"},
71 	{"1.2.840.113549.1.9.5",	"PKCS #9 Signing Time"},
72 	{"1.2.840.113549.1.9.6",	"PKCS #9 Counter Signature"},
73 	{"1.2.840.113549.1.9.7",	"PKCS #9 Challenge Password"},
74 	{"1.2.840.113549.1.9.8",	"PKCS #9 Unstructured Address"},
75 	{"1.2.840.113549.1.9.9",	"PKCS #9 Extended Certificate Attributes"},
76 	{"1.2.840.113549.1.9.15",	"PKCS #9 S/MIME Capabilities"},
77 	{"1.2.840.113549.1.9.15.1",	"Unknown"},
78 	{"1.2.840.113549.3.2",	"RC2-CBC"},
79 	{"1.2.840.113549.3.4",	"RC4"},
80 	{"1.2.840.113549.3.7",	"DES-EDE3-CBC"},
81 	{"1.2.840.113549.3.9",	"RC5-CBCPad"},
82 	{"1.2.840.10046",	"ANSI X9.42"},
83 	{"1.2.840.10046.2.1",	"Diffie-Hellman Public Key Algorithm"},
84 	{"1.2.840.10040",	"ANSI X9.57"},
85 	{"1.2.840.10040.4.1",	"ANSI X9.57 DSA Signature"},
86 	{"1.2.840.10040.4.3",	"ANSI X9.57 Algorithm DSA Signature with SHA-1 Digest"},
87 	{"2.5",	"Directory"},
88 	{"2.5.8",	"X.500-defined algorithms"},
89 	{"2.5.8.1",	"X.500-defined encryption algorithms"},
90 	{"2.5.8.2",	"Unknown"},
91 	{"2.5.8.3",	"Unknown"},
92 	{"2.5.8.1.1",	"RSA Encryption Algorithm"},
93 	{"1.3.14",	"Open Systems Implementors Workshop"},
94 	{"1.3.14.3.2",	"OIW SECSIG Algorithm"},
95 	{"1.3.14.3.2.2",	"Unknown"},
96 	{"1.3.14.3.2.3",	"Unknown"},
97 	{"1.3.14.3.2.4",	"Unknown"},
98 	{"1.3.14.3.2.6",	"DES-ECB"},
99 	{"1.3.14.3.2.7",	"DES-CBC"},
100 	{"1.3.14.3.2.8",	"DES-OFB"},
101 	{"1.3.14.3.2.9",	"DES-CFB"},
102 	{"1.3.14.3.2.10",	"DES-MAC"},
103 	{"1.3.14.3.2.11",	"Unknown"},
104 	{"1.3.14.3.2.12",	"Unknown"},
105 	{"1.3.14.3.2.13",	"Unknown"},
106 	{"1.3.14.3.2.14",	"Unknown"},
107 	{"1.3.14.3.2.15",	"ISO SHA with RSA Signature"},
108 	{"1.3.14.3.2.16",	"Unknown"},
109 	{"1.3.14.3.2.17",	"DES-EDE"},
110 	{"1.3.14.3.2.18",	"Unknown"},
111 	{"1.3.14.3.2.19",	"Unknown"},
112 	{"1.3.14.3.2.20",	"Unknown"},
113 	{"1.3.14.3.2.21",	"Unknown"},
114 	{"1.3.14.3.2.22",	"Unknown"},
115 	{"1.3.14.3.2.23",	"Unknown"},
116 	{"1.3.14.3.2.24",	"Unknown"},
117 	{"1.3.14.3.2.25",	"Unknown"},
118 	{"1.3.14.3.2.26",	"SHA-1"},
119 	{"1.3.14.3.2.27",	"Forgezza DSA Signature with SHA-1 Digest"},
120 	{"1.3.14.3.2.28",	"Unknown"},
121 	{"1.3.14.3.2.29",	"Unknown"},
122 	{"1.3.14.7.2",	"Unknown"},
123 	{"1.3.14.7.2.1",	"Unknown"},
124 	{"1.3.14.7.2.2",	"Unknown"},
125 	{"1.3.14.7.2.3",	"Unknown"},
126 	{"1.3.14.7.2.2.1",	"Unknown"},
127 	{"1.3.14.7.2.3.1",	"Unknown"},
128 	{"2.16.840.1.101.2.1",	"US DOD Infosec"},
129 	{"2.16.840.1.101.2.1.1.1",	"Unknown"},
130 	{"2.16.840.1.101.2.1.1.2",	"MISSI DSS Algorithm (Old)"},
131 	{"2.16.840.1.101.2.1.1.3",	"Unknown"},
132 	{"2.16.840.1.101.2.1.1.4",	"Skipjack CBC64"},
133 	{"2.16.840.1.101.2.1.1.5",	"Unknown"},
134 	{"2.16.840.1.101.2.1.1.6",	"Unknown"},
135 	{"2.16.840.1.101.2.1.1.7",	"Unknown"},
136 	{"2.16.840.1.101.2.1.1.8",	"Unknown"},
137 	{"2.16.840.1.101.2.1.1.9",	"Unknown"},
138 	{"2.16.840.1.101.2.1.1.10",	"MISSI KEA Algorithm"},
139 	{"2.16.840.1.101.2.1.1.11",	"Unknown"},
140 	{"2.16.840.1.101.2.1.1.12",	"MISSI KEA and DSS Algorithm (Old)"},
141 	{"2.16.840.1.101.2.1.1.13",	"Unknown"},
142 	{"2.16.840.1.101.2.1.1.14",	"Unknown"},
143 	{"2.16.840.1.101.2.1.1.15",	"Unknown"},
144 	{"2.16.840.1.101.2.1.1.16",	"Unknown"},
145 	{"2.16.840.1.101.2.1.1.17",	"Unknown"},
146 	{"2.16.840.1.101.2.1.1.18",	"Unknown"},
147 	{"2.16.840.1.101.2.1.1.19",	"MISSI DSS Algorithm"},
148 	{"2.16.840.1.101.2.1.1.20",	"MISSI KEA and DSS Algorithm"},
149 	{"2.16.840.1.101.2.1.1.21",	"Unknown"}
150 };
151 
152 int nOID = 115;
153 
154 #endif
155