Update ooo320-m1
[ooovba.git] / xmlsecurity / source / xmlsec / mscrypt / oid.hxx
blob4f1680f0bd7575eb5ad8c53a060f8fc7417dcb2c
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: oid.hxx,v $
10 * $Revision: 1.3 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef _OID_HXX_
32 #define _OID_HXX_
34 typedef struct OIDItemStr OIDItem;
36 struct OIDItemStr {
37 char *oid;
38 char *desc;
41 OIDItem OIDs[] = {
42 {"1.2.840.113549", "RSA Data Security Inc."},
43 {"1.2.840.113549.1", "PKCS"},
44 {"1.2.840.113549.2", "RSA digest algorithm"},
45 {"1.2.840.113549.3", "RSA cipher algorithm"},
46 {"1.2.840.113549.1.1", "PKCS #1"},
47 {"1.2.840.113549.1.2", "Unknown"},
48 {"1.2.840.113549.1.3", "Unknown"},
49 {"1.2.840.113549.1.4", "Unknown"},
50 {"1.2.840.113549.1.5", "PKCS #5"},
51 {"1.2.840.113549.1.6", "Unknown"},
52 {"1.2.840.113549.1.7", "PKCS #7"},
53 {"1.2.840.113549.1.8", "Unknown"},
54 {"1.2.840.113549.1.9", "PKCS #9"},
55 {"1.2.840.113549.1.10", "Unknown"},
56 {"1.2.840.113549.1.12", "PKCS #12"},
57 {"1.2.840.113549.1.1.2", "PKCS #1 MD2 With RSA Encryption"},
58 {"1.2.840.113549.1.1.3", "PKCS #1 MD4 With RSA Encryption"},
59 {"1.2.840.113549.1.1.4", "PKCS #1 MD5 With RSA Encryption"},
60 {"1.2.840.113549.1.1.1", "PKCS #1 RSA Encryption"},
61 {"1.2.840.113549.1.1.2", "PKCS #1 MD2 With RSA Encryption"},
62 {"1.2.840.113549.1.1.3", "PKCS #1 MD4 With RSA Encryption"},
63 {"1.2.840.113549.1.1.4", "PKCS #1 MD5 With RSA Encryption"},
64 {"1.2.840.113549.1.1.5", "PKCS #1 SHA-1 With RSA Encryption"},
65 {"1.2.840.113549.1.1.5", "PKCS #1 SHA-1 With RSA Encryption"},
66 {"1.2.840.113549.1.3.1", "Unknown"},
67 {"1.2.840.113549.1.7.1", "PKCS #7 Data"},
68 {"1.2.840.113549.1.7.2", "PKCS #7 Signed Data"},
69 {"1.2.840.113549.1.7.3", "PKCS #7 Enveloped Data"},
70 {"1.2.840.113549.1.7.4", "PKCS #7 Signed and Enveloped Data"},
71 {"1.2.840.113549.1.7.5", "PKCS #7 Digested Data"},
72 {"1.2.840.113549.1.7.5", "PKCS #7 Digested Data"},
73 {"1.2.840.113549.1.7.6", "PKCS #7 Encrypted Data"},
74 {"1.2.840.113549.1.9.1", "PKCS #9 Email Address"},
75 {"1.2.840.113549.1.9.2", "PKCS #9 Unstructured Name"},
76 {"1.2.840.113549.1.9.3", "PKCS #9 Content Type"},
77 {"1.2.840.113549.1.9.4", "PKCS #9 Message Digest"},
78 {"1.2.840.113549.1.9.5", "PKCS #9 Signing Time"},
79 {"1.2.840.113549.1.9.6", "PKCS #9 Counter Signature"},
80 {"1.2.840.113549.1.9.7", "PKCS #9 Challenge Password"},
81 {"1.2.840.113549.1.9.8", "PKCS #9 Unstructured Address"},
82 {"1.2.840.113549.1.9.9", "PKCS #9 Extended Certificate Attributes"},
83 {"1.2.840.113549.1.9.15", "PKCS #9 S/MIME Capabilities"},
84 {"1.2.840.113549.1.9.15.1", "Unknown"},
85 {"1.2.840.113549.3.2", "RC2-CBC"},
86 {"1.2.840.113549.3.4", "RC4"},
87 {"1.2.840.113549.3.7", "DES-EDE3-CBC"},
88 {"1.2.840.113549.3.9", "RC5-CBCPad"},
89 {"1.2.840.10046", "ANSI X9.42"},
90 {"1.2.840.10046.2.1", "Diffie-Hellman Public Key Algorithm"},
91 {"1.2.840.10040", "ANSI X9.57"},
92 {"1.2.840.10040.4.1", "ANSI X9.57 DSA Signature"},
93 {"1.2.840.10040.4.3", "ANSI X9.57 Algorithm DSA Signature with SHA-1 Digest"},
94 {"2.5", "Directory"},
95 {"2.5.8", "X.500-defined algorithms"},
96 {"2.5.8.1", "X.500-defined encryption algorithms"},
97 {"2.5.8.2", "Unknown"},
98 {"2.5.8.3", "Unknown"},
99 {"2.5.8.1.1", "RSA Encryption Algorithm"},
100 {"1.3.14", "Open Systems Implementors Workshop"},
101 {"1.3.14.3.2", "OIW SECSIG Algorithm"},
102 {"1.3.14.3.2.2", "Unknown"},
103 {"1.3.14.3.2.3", "Unknown"},
104 {"1.3.14.3.2.4", "Unknown"},
105 {"1.3.14.3.2.6", "DES-ECB"},
106 {"1.3.14.3.2.7", "DES-CBC"},
107 {"1.3.14.3.2.8", "DES-OFB"},
108 {"1.3.14.3.2.9", "DES-CFB"},
109 {"1.3.14.3.2.10", "DES-MAC"},
110 {"1.3.14.3.2.11", "Unknown"},
111 {"1.3.14.3.2.12", "Unknown"},
112 {"1.3.14.3.2.13", "Unknown"},
113 {"1.3.14.3.2.14", "Unknown"},
114 {"1.3.14.3.2.15", "ISO SHA with RSA Signature"},
115 {"1.3.14.3.2.16", "Unknown"},
116 {"1.3.14.3.2.17", "DES-EDE"},
117 {"1.3.14.3.2.18", "Unknown"},
118 {"1.3.14.3.2.19", "Unknown"},
119 {"1.3.14.3.2.20", "Unknown"},
120 {"1.3.14.3.2.21", "Unknown"},
121 {"1.3.14.3.2.22", "Unknown"},
122 {"1.3.14.3.2.23", "Unknown"},
123 {"1.3.14.3.2.24", "Unknown"},
124 {"1.3.14.3.2.25", "Unknown"},
125 {"1.3.14.3.2.26", "SHA-1"},
126 {"1.3.14.3.2.27", "Forgezza DSA Signature with SHA-1 Digest"},
127 {"1.3.14.3.2.28", "Unknown"},
128 {"1.3.14.3.2.29", "Unknown"},
129 {"1.3.14.7.2", "Unknown"},
130 {"1.3.14.7.2.1", "Unknown"},
131 {"1.3.14.7.2.2", "Unknown"},
132 {"1.3.14.7.2.3", "Unknown"},
133 {"1.3.14.7.2.2.1", "Unknown"},
134 {"1.3.14.7.2.3.1", "Unknown"},
135 {"2.16.840.1.101.2.1", "US DOD Infosec"},
136 {"2.16.840.1.101.2.1.1.1", "Unknown"},
137 {"2.16.840.1.101.2.1.1.2", "MISSI DSS Algorithm (Old)"},
138 {"2.16.840.1.101.2.1.1.3", "Unknown"},
139 {"2.16.840.1.101.2.1.1.4", "Skipjack CBC64"},
140 {"2.16.840.1.101.2.1.1.5", "Unknown"},
141 {"2.16.840.1.101.2.1.1.6", "Unknown"},
142 {"2.16.840.1.101.2.1.1.7", "Unknown"},
143 {"2.16.840.1.101.2.1.1.8", "Unknown"},
144 {"2.16.840.1.101.2.1.1.9", "Unknown"},
145 {"2.16.840.1.101.2.1.1.10", "MISSI KEA Algorithm"},
146 {"2.16.840.1.101.2.1.1.11", "Unknown"},
147 {"2.16.840.1.101.2.1.1.12", "MISSI KEA and DSS Algorithm (Old)"},
148 {"2.16.840.1.101.2.1.1.13", "Unknown"},
149 {"2.16.840.1.101.2.1.1.14", "Unknown"},
150 {"2.16.840.1.101.2.1.1.15", "Unknown"},
151 {"2.16.840.1.101.2.1.1.16", "Unknown"},
152 {"2.16.840.1.101.2.1.1.17", "Unknown"},
153 {"2.16.840.1.101.2.1.1.18", "Unknown"},
154 {"2.16.840.1.101.2.1.1.19", "MISSI DSS Algorithm"},
155 {"2.16.840.1.101.2.1.1.20", "MISSI KEA and DSS Algorithm"},
156 {"2.16.840.1.101.2.1.1.21", "Unknown"}
159 int nOID = 115;
161 #endif