tdf#130857 qt weld: Implement QtInstanceWidget::get_text_height
[LibreOffice.git] / xmlsecurity / source / xmlsec / mscrypt / oid.hxx
blobce573d88271475a2b0a15de65aee6b916d752e1f
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #pragma once
22 #include <sal/macros.h>
24 typedef struct {
25 char const *oid;
26 char const *desc;
27 } OIDItem;
29 OIDItem OIDs[] = {
30 {"1.2.840.113549", "RSA Data Security Inc."},
31 {"1.2.840.113549.1", "PKCS"},
32 {"1.2.840.113549.2", "RSA digest algorithm"},
33 {"1.2.840.113549.3", "RSA cipher algorithm"},
34 {"1.2.840.113549.1.1", "PKCS #1"},
35 {"1.2.840.113549.1.2", "Unknown"},
36 {"1.2.840.113549.1.3", "Unknown"},
37 {"1.2.840.113549.1.4", "Unknown"},
38 {"1.2.840.113549.1.5", "PKCS #5"},
39 {"1.2.840.113549.1.6", "Unknown"},
40 {"1.2.840.113549.1.7", "PKCS #7"},
41 {"1.2.840.113549.1.8", "Unknown"},
42 {"1.2.840.113549.1.9", "PKCS #9"},
43 {"1.2.840.113549.1.10", "Unknown"},
44 {"1.2.840.113549.1.12", "PKCS #12"},
45 {"1.2.840.113549.1.1.2", "PKCS #1 MD2 With RSA Encryption"},
46 {"1.2.840.113549.1.1.3", "PKCS #1 MD4 With RSA Encryption"},
47 {"1.2.840.113549.1.1.4", "PKCS #1 MD5 With RSA Encryption"},
48 {"1.2.840.113549.1.1.1", "PKCS #1 RSA Encryption"},
49 {"1.2.840.113549.1.1.2", "PKCS #1 MD2 With RSA Encryption"},
50 {"1.2.840.113549.1.1.3", "PKCS #1 MD4 With RSA Encryption"},
51 {"1.2.840.113549.1.1.4", "PKCS #1 MD5 With RSA Encryption"},
52 {"1.2.840.113549.1.1.5", "PKCS #1 SHA-1 With RSA Encryption"},
53 {"1.2.840.113549.1.1.5", "PKCS #1 SHA-1 With RSA Encryption"},
54 {"1.2.840.113549.1.3.1", "Unknown"},
55 {"1.2.840.113549.1.7.1", "PKCS #7 Data"},
56 {"1.2.840.113549.1.7.2", "PKCS #7 Signed Data"},
57 {"1.2.840.113549.1.7.3", "PKCS #7 Enveloped Data"},
58 {"1.2.840.113549.1.7.4", "PKCS #7 Signed and Enveloped Data"},
59 {"1.2.840.113549.1.7.5", "PKCS #7 Digested Data"},
60 {"1.2.840.113549.1.7.6", "PKCS #7 Encrypted Data"},
61 {"1.2.840.113549.1.9.1", "PKCS #9 Email Address"},
62 {"1.2.840.113549.1.9.2", "PKCS #9 Unstructured Name"},
63 {"1.2.840.113549.1.9.3", "PKCS #9 Content Type"},
64 {"1.2.840.113549.1.9.4", "PKCS #9 Message Digest"},
65 {"1.2.840.113549.1.9.5", "PKCS #9 Signing Time"},
66 {"1.2.840.113549.1.9.6", "PKCS #9 Counter Signature"},
67 {"1.2.840.113549.1.9.7", "PKCS #9 Challenge Password"},
68 {"1.2.840.113549.1.9.8", "PKCS #9 Unstructured Address"},
69 {"1.2.840.113549.1.9.9", "PKCS #9 Extended Certificate Attributes"},
70 {"1.2.840.113549.1.9.15", "PKCS #9 S/MIME Capabilities"},
71 {"1.2.840.113549.1.9.15.1", "Unknown"},
72 {"1.2.840.113549.3.2", "RC2-CBC"},
73 {"1.2.840.113549.3.4", "RC4"},
74 {"1.2.840.113549.3.7", "DES-EDE3-CBC"},
75 {"1.2.840.113549.3.9", "RC5-CBCPad"},
76 {"1.2.840.10046", "ANSI X9.42"},
77 {"1.2.840.10046.2.1", "Diffie-Hellman Public Key Algorithm"},
78 {"1.2.840.10040", "ANSI X9.57"},
79 {"1.2.840.10040.4.1", "ANSI X9.57 DSA Signature"},
80 {"1.2.840.10040.4.3", "ANSI X9.57 Algorithm DSA Signature with SHA-1 Digest"},
81 {"2.5", "Directory"},
82 {"2.5.8", "X.500-defined algorithms"},
83 {"2.5.8.1", "X.500-defined encryption algorithms"},
84 {"2.5.8.2", "Unknown"},
85 {"2.5.8.3", "Unknown"},
86 {"2.5.8.1.1", "RSA Encryption Algorithm"},
87 {"1.3.14", "Open Systems Implementors Workshop"},
88 {"1.3.14.3.2", "OIW SECSIG Algorithm"},
89 {"1.3.14.3.2.2", "Unknown"},
90 {"1.3.14.3.2.3", "Unknown"},
91 {"1.3.14.3.2.4", "Unknown"},
92 {"1.3.14.3.2.6", "DES-ECB"},
93 {"1.3.14.3.2.7", "DES-CBC"},
94 {"1.3.14.3.2.8", "DES-OFB"},
95 {"1.3.14.3.2.9", "DES-CFB"},
96 {"1.3.14.3.2.10", "DES-MAC"},
97 {"1.3.14.3.2.11", "Unknown"},
98 {"1.3.14.3.2.12", "Unknown"},
99 {"1.3.14.3.2.13", "Unknown"},
100 {"1.3.14.3.2.14", "Unknown"},
101 {"1.3.14.3.2.15", "ISO SHA with RSA Signature"},
102 {"1.3.14.3.2.16", "Unknown"},
103 {"1.3.14.3.2.17", "DES-EDE"},
104 {"1.3.14.3.2.18", "Unknown"},
105 {"1.3.14.3.2.19", "Unknown"},
106 {"1.3.14.3.2.20", "Unknown"},
107 {"1.3.14.3.2.21", "Unknown"},
108 {"1.3.14.3.2.22", "Unknown"},
109 {"1.3.14.3.2.23", "Unknown"},
110 {"1.3.14.3.2.24", "Unknown"},
111 {"1.3.14.3.2.25", "Unknown"},
112 {"1.3.14.3.2.26", "SHA-1"},
113 {"1.3.14.3.2.27", "Forgezza DSA Signature with SHA-1 Digest"},
114 {"1.3.14.3.2.28", "Unknown"},
115 {"1.3.14.3.2.29", "Unknown"},
116 {"1.3.14.7.2", "Unknown"},
117 {"1.3.14.7.2.1", "Unknown"},
118 {"1.3.14.7.2.2", "Unknown"},
119 {"1.3.14.7.2.3", "Unknown"},
120 {"1.3.14.7.2.2.1", "Unknown"},
121 {"1.3.14.7.2.3.1", "Unknown"},
122 {"2.16.840.1.101.2.1", "US DOD Infosec"},
123 {"2.16.840.1.101.2.1.1.1", "Unknown"},
124 {"2.16.840.1.101.2.1.1.2", "MISSI DSS Algorithm (Old)"},
125 {"2.16.840.1.101.2.1.1.3", "Unknown"},
126 {"2.16.840.1.101.2.1.1.4", "Skipjack CBC64"},
127 {"2.16.840.1.101.2.1.1.5", "Unknown"},
128 {"2.16.840.1.101.2.1.1.6", "Unknown"},
129 {"2.16.840.1.101.2.1.1.7", "Unknown"},
130 {"2.16.840.1.101.2.1.1.8", "Unknown"},
131 {"2.16.840.1.101.2.1.1.9", "Unknown"},
132 {"2.16.840.1.101.2.1.1.10", "MISSI KEA Algorithm"},
133 {"2.16.840.1.101.2.1.1.11", "Unknown"},
134 {"2.16.840.1.101.2.1.1.12", "MISSI KEA and DSS Algorithm (Old)"},
135 {"2.16.840.1.101.2.1.1.13", "Unknown"},
136 {"2.16.840.1.101.2.1.1.14", "Unknown"},
137 {"2.16.840.1.101.2.1.1.15", "Unknown"},
138 {"2.16.840.1.101.2.1.1.16", "Unknown"},
139 {"2.16.840.1.101.2.1.1.17", "Unknown"},
140 {"2.16.840.1.101.2.1.1.18", "Unknown"},
141 {"2.16.840.1.101.2.1.1.19", "MISSI DSS Algorithm"},
142 {"2.16.840.1.101.2.1.1.20", "MISSI KEA and DSS Algorithm"},
143 {"2.16.840.1.101.2.1.1.21", "Unknown"},
144 {"1.2.643.2.2.35.0", "GOST_R_34.10-2001_Test"},
145 {"1.2.643.2.2.35.1", "GOST_R_34.10-2001_Sign_DH_PRO"},
146 {"1.2.643.2.2.35.2", "GOST_R_34.10-2001_Sign_DH_CARD"},
147 {"1.2.643.2.2.35.3", "GOST_R_34.10-2001_Sign_DH"},
148 {"1.2.643.2.2.36.0", "GOST_R_34.10-2001_Sign_DH_PRO"}
151 const int nOID = SAL_N_ELEMENTS(OIDs);
153 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */