Botan: src/libstate/policy.cpp Source File

Botan 1.10.16

policy.cpp
Go to the documentation of this file.
1 /*
2 * Default Policy
3 * (C) 1999-2010 Jack Lloyd
4 *
5 * Distributed under the terms of the Botan license
6 */
7
8 #include <botan/libstate.h>
9
10 namespace Botan {
11
12 namespace {
13
14 /*
15 * OID loading helper function
16 */
17 void add_oid(Library_State& config,
18 const std::string& oid_str,
19 const std::string& name)
20 {
21 if(!config.is_set("oid2str", oid_str))
22 config.set("oid2str", oid_str, name);
23 if(!config.is_set("str2oid", name))
24 config.set("str2oid", name, oid_str);
25 }
26
27 /*
28 * Load all of the default OIDs
29 */
30 void set_default_oids(Library_State& config)
31 {
32 /* Public key types */
33 add_oid(config, "1.2.840.113549.1.1.1", "RSA");
34 add_oid(config, "2.5.8.1.1", "RSA"); // RSA alternate
35 add_oid(config, "1.2.840.10040.4.1", "DSA");
36 add_oid(config, "1.2.840.10046.2.1", "DH");
37 add_oid(config, "1.3.6.1.4.1.3029.1.2.1", "ElGamal");
38 add_oid(config, "1.3.6.1.4.1.25258.1.1", "RW");
39 add_oid(config, "1.3.6.1.4.1.25258.1.2", "NR");
40
41 // X9.62 ecPublicKey, valid for ECDSA and ECDH (RFC 3279 sec 2.3.5)
42 add_oid(config, "1.2.840.10045.2.1", "ECDSA");
43
44 /*
45 * This is an OID defined for ECDH keys though rarely used for such.
46 * In this configuration it is accepted on decoding, but not used for
47 * encoding. You can enable it for encoding by calling
48 * global_state().set("str2oid", "ECDH", "1.3.132.1.12")
49 * from your application code.
50 */
51 config.set("oid2str", "1.3.132.1.12", "ECDH");
52
53 add_oid(config, "1.2.643.2.2.19", "GOST-34.10"); // RFC 4491
54
55 /* Ciphers */
56 add_oid(config, "1.3.14.3.2.7", "DES/CBC");
57 add_oid(config, "1.2.840.113549.3.7", "TripleDES/CBC");
58 add_oid(config, "1.2.840.113549.3.2", "RC2/CBC");
59 add_oid(config, "1.2.840.113533.7.66.10", "CAST-128/CBC");
60 add_oid(config, "2.16.840.1.101.3.4.1.2", "AES-128/CBC");
61 add_oid(config, "2.16.840.1.101.3.4.1.22", "AES-192/CBC");
62 add_oid(config, "2.16.840.1.101.3.4.1.42", "AES-256/CBC");
63 add_oid(config, "1.2.410.200004.1.4", "SEED/CBC"); // RFC 4010
64 add_oid(config, "1.3.6.1.4.1.25258.3.1", "Serpent/CBC");
65
66 /* Hash Functions */
67 add_oid(config, "1.2.840.113549.2.5", "MD5");
68 add_oid(config, "1.3.6.1.4.1.11591.12.2", "Tiger(24,3)");
69
70 add_oid(config, "1.3.14.3.2.26", "SHA-160");
71 add_oid(config, "2.16.840.1.101.3.4.2.4", "SHA-224");
72 add_oid(config, "2.16.840.1.101.3.4.2.1", "SHA-256");
73 add_oid(config, "2.16.840.1.101.3.4.2.2", "SHA-384");
74 add_oid(config, "2.16.840.1.101.3.4.2.3", "SHA-512");
75
76 /* MACs */
77 add_oid(config, "1.2.840.113549.2.7", "HMAC(SHA-1)");
78 add_oid(config, "1.2.840.113549.2.8", "HMAC(SHA-224)");
79 add_oid(config, "1.2.840.113549.2.9", "HMAC(SHA-256)");
80 add_oid(config, "1.2.840.113549.2.10", "HMAC(SHA-384)");
81 add_oid(config, "1.2.840.113549.2.11", "HMAC(SHA-512)");
82
83 /* Key Wrap */
84 add_oid(config, "1.2.840.113549.1.9.16.3.6", "KeyWrap.TripleDES");
85 add_oid(config, "1.2.840.113549.1.9.16.3.7", "KeyWrap.RC2");
86 add_oid(config, "1.2.840.113533.7.66.15", "KeyWrap.CAST-128");
87 add_oid(config, "2.16.840.1.101.3.4.1.5", "KeyWrap.AES-128");
88 add_oid(config, "2.16.840.1.101.3.4.1.25", "KeyWrap.AES-192");
89 add_oid(config, "2.16.840.1.101.3.4.1.45", "KeyWrap.AES-256");
90
91 /* Compression */
92 add_oid(config, "1.2.840.113549.1.9.16.3.8", "Compression.Zlib");
93
94 /* Public key signature schemes */
95 add_oid(config, "1.2.840.113549.1.1.1", "RSA/EME-PKCS1-v1_5");
96 add_oid(config, "1.2.840.113549.1.1.2", "RSA/EMSA3(MD2)");
97 add_oid(config, "1.2.840.113549.1.1.4", "RSA/EMSA3(MD5)");
98 add_oid(config, "1.2.840.113549.1.1.5", "RSA/EMSA3(SHA-160)");
99 add_oid(config, "1.2.840.113549.1.1.11", "RSA/EMSA3(SHA-256)");
100 add_oid(config, "1.2.840.113549.1.1.12", "RSA/EMSA3(SHA-384)");
101 add_oid(config, "1.2.840.113549.1.1.13", "RSA/EMSA3(SHA-512)");
102 add_oid(config, "1.3.36.3.3.1.2", "RSA/EMSA3(RIPEMD-160)");
103
104 add_oid(config, "1.2.840.10040.4.3", "DSA/EMSA1(SHA-160)");
105 add_oid(config, "2.16.840.1.101.3.4.3.1", "DSA/EMSA1(SHA-224)");
106 add_oid(config, "2.16.840.1.101.3.4.3.2", "DSA/EMSA1(SHA-256)");
107
108 add_oid(config, "0.4.0.127.0.7.1.1.4.1.1", "ECDSA/EMSA1_BSI(SHA-160)");
109 add_oid(config, "0.4.0.127.0.7.1.1.4.1.2", "ECDSA/EMSA1_BSI(SHA-224)");
110 add_oid(config, "0.4.0.127.0.7.1.1.4.1.3", "ECDSA/EMSA1_BSI(SHA-256)");
111 add_oid(config, "0.4.0.127.0.7.1.1.4.1.4", "ECDSA/EMSA1_BSI(SHA-384)");
112 add_oid(config, "0.4.0.127.0.7.1.1.4.1.5", "ECDSA/EMSA1_BSI(SHA-512)");
113 add_oid(config, "0.4.0.127.0.7.1.1.4.1.6", "ECDSA/EMSA1_BSI(RIPEMD-160)");
114
115 add_oid(config, "1.2.840.10045.4.1", "ECDSA/EMSA1(SHA-160)");
116 add_oid(config, "1.2.840.10045.4.3.1", "ECDSA/EMSA1(SHA-224)");
117 add_oid(config, "1.2.840.10045.4.3.2", "ECDSA/EMSA1(SHA-256)");
118 add_oid(config, "1.2.840.10045.4.3.3", "ECDSA/EMSA1(SHA-384)");
119 add_oid(config, "1.2.840.10045.4.3.4", "ECDSA/EMSA1(SHA-512)");
120
121 add_oid(config, "1.2.643.2.2.3", "GOST-34.10/EMSA1(GOST-R-34.11-94)");
122
123 add_oid(config, "1.3.6.1.4.1.25258.2.1.1.1", "RW/EMSA2(RIPEMD-160)");
124 add_oid(config, "1.3.6.1.4.1.25258.2.1.1.2", "RW/EMSA2(SHA-160)");
125 add_oid(config, "1.3.6.1.4.1.25258.2.1.1.3", "RW/EMSA2(SHA-224)");
126 add_oid(config, "1.3.6.1.4.1.25258.2.1.1.4", "RW/EMSA2(SHA-256)");
127 add_oid(config, "1.3.6.1.4.1.25258.2.1.1.5", "RW/EMSA2(SHA-384)");
128 add_oid(config, "1.3.6.1.4.1.25258.2.1.1.6", "RW/EMSA2(SHA-512)");
129
130 add_oid(config, "1.3.6.1.4.1.25258.2.1.2.1", "RW/EMSA4(RIPEMD-160)");
131 add_oid(config, "1.3.6.1.4.1.25258.2.1.2.2", "RW/EMSA4(SHA-160)");
132 add_oid(config, "1.3.6.1.4.1.25258.2.1.2.3", "RW/EMSA4(SHA-224)");
133 add_oid(config, "1.3.6.1.4.1.25258.2.1.2.4", "RW/EMSA4(SHA-256)");
134 add_oid(config, "1.3.6.1.4.1.25258.2.1.2.5", "RW/EMSA4(SHA-384)");
135 add_oid(config, "1.3.6.1.4.1.25258.2.1.2.6", "RW/EMSA4(SHA-512)");
136
137 add_oid(config, "1.3.6.1.4.1.25258.2.2.1.1", "NR/EMSA2(RIPEMD-160)");
138 add_oid(config, "1.3.6.1.4.1.25258.2.2.1.2", "NR/EMSA2(SHA-160)");
139 add_oid(config, "1.3.6.1.4.1.25258.2.2.1.3", "NR/EMSA2(SHA-224)");
140 add_oid(config, "1.3.6.1.4.1.25258.2.2.1.4", "NR/EMSA2(SHA-256)");
141 add_oid(config, "1.3.6.1.4.1.25258.2.2.1.5", "NR/EMSA2(SHA-384)");
142 add_oid(config, "1.3.6.1.4.1.25258.2.2.1.6", "NR/EMSA2(SHA-512)");
143
144 add_oid(config, "2.5.4.3", "X520.CommonName");
145 add_oid(config, "2.5.4.4", "X520.Surname");
146 add_oid(config, "2.5.4.5", "X520.SerialNumber");
147 add_oid(config, "2.5.4.6", "X520.Country");
148 add_oid(config, "2.5.4.7", "X520.Locality");
149 add_oid(config, "2.5.4.8", "X520.State");
150 add_oid(config, "2.5.4.10", "X520.Organization");
151 add_oid(config, "2.5.4.11", "X520.OrganizationalUnit");
152 add_oid(config, "2.5.4.12", "X520.Title");
153 add_oid(config, "2.5.4.42", "X520.GivenName");
154 add_oid(config, "2.5.4.43", "X520.Initials");
155 add_oid(config, "2.5.4.44", "X520.GenerationalQualifier");
156 add_oid(config, "2.5.4.46", "X520.DNQualifier");
157 add_oid(config, "2.5.4.65", "X520.Pseudonym");
158
159 add_oid(config, "1.2.840.113549.1.5.12", "PKCS5.PBKDF2");
160 add_oid(config, "1.2.840.113549.1.5.1", "PBE-PKCS5v15(MD2,DES/CBC)");
161 add_oid(config, "1.2.840.113549.1.5.4", "PBE-PKCS5v15(MD2,RC2/CBC)");
162 add_oid(config, "1.2.840.113549.1.5.3", "PBE-PKCS5v15(MD5,DES/CBC)");
163 add_oid(config, "1.2.840.113549.1.5.6", "PBE-PKCS5v15(MD5,RC2/CBC)");
164 add_oid(config, "1.2.840.113549.1.5.10", "PBE-PKCS5v15(SHA-160,DES/CBC)");
165 add_oid(config, "1.2.840.113549.1.5.11", "PBE-PKCS5v15(SHA-160,RC2/CBC)");
166 add_oid(config, "1.2.840.113549.1.5.13", "PBE-PKCS5v20");
167
168 add_oid(config, "1.2.840.113549.1.9.1", "PKCS9.EmailAddress");
169 add_oid(config, "1.2.840.113549.1.9.2", "PKCS9.UnstructuredName");
170 add_oid(config, "1.2.840.113549.1.9.3", "PKCS9.ContentType");
171 add_oid(config, "1.2.840.113549.1.9.4", "PKCS9.MessageDigest");
172 add_oid(config, "1.2.840.113549.1.9.7", "PKCS9.ChallengePassword");
173 add_oid(config, "1.2.840.113549.1.9.14", "PKCS9.ExtensionRequest");
174
175 add_oid(config, "1.2.840.113549.1.7.1", "CMS.DataContent");
176 add_oid(config, "1.2.840.113549.1.7.2", "CMS.SignedData");
177 add_oid(config, "1.2.840.113549.1.7.3", "CMS.EnvelopedData");
178 add_oid(config, "1.2.840.113549.1.7.5", "CMS.DigestedData");
179 add_oid(config, "1.2.840.113549.1.7.6", "CMS.EncryptedData");
180 add_oid(config, "1.2.840.113549.1.9.16.1.2", "CMS.AuthenticatedData");
181 add_oid(config, "1.2.840.113549.1.9.16.1.9", "CMS.CompressedData");
182
183 add_oid(config, "2.5.29.14", "X509v3.SubjectKeyIdentifier");
184 add_oid(config, "2.5.29.15", "X509v3.KeyUsage");
185 add_oid(config, "2.5.29.17", "X509v3.SubjectAlternativeName");
186 add_oid(config, "2.5.29.18", "X509v3.IssuerAlternativeName");
187 add_oid(config, "2.5.29.19", "X509v3.BasicConstraints");
188 add_oid(config, "2.5.29.20", "X509v3.CRLNumber");
189 add_oid(config, "2.5.29.21", "X509v3.ReasonCode");
190 add_oid(config, "2.5.29.23", "X509v3.HoldInstructionCode");
191 add_oid(config, "2.5.29.24", "X509v3.InvalidityDate");
192 add_oid(config, "2.5.29.32", "X509v3.CertificatePolicies");
193 add_oid(config, "2.5.29.35", "X509v3.AuthorityKeyIdentifier");
194 add_oid(config, "2.5.29.36", "X509v3.PolicyConstraints");
195 add_oid(config, "2.5.29.37", "X509v3.ExtendedKeyUsage");
196
197 add_oid(config, "2.5.29.32.0", "X509v3.AnyPolicy");
198
199 add_oid(config, "1.3.6.1.5.5.7.3.1", "PKIX.ServerAuth");
200 add_oid(config, "1.3.6.1.5.5.7.3.2", "PKIX.ClientAuth");
201 add_oid(config, "1.3.6.1.5.5.7.3.3", "PKIX.CodeSigning");
202 add_oid(config, "1.3.6.1.5.5.7.3.4", "PKIX.EmailProtection");
203 add_oid(config, "1.3.6.1.5.5.7.3.5", "PKIX.IPsecEndSystem");
204 add_oid(config, "1.3.6.1.5.5.7.3.6", "PKIX.IPsecTunnel");
205 add_oid(config, "1.3.6.1.5.5.7.3.7", "PKIX.IPsecUser");
206 add_oid(config, "1.3.6.1.5.5.7.3.8", "PKIX.TimeStamping");
207 add_oid(config, "1.3.6.1.5.5.7.3.9", "PKIX.OCSPSigning");
208
209 add_oid(config, "1.3.6.1.5.5.7.8.5", "PKIX.XMPPAddr");
210
211 /* ECC domain parameters */
212
213 /* Disabled.
214 add_oid(config, "1.3.132.0.6", "secp112r1");
215 add_oid(config, "1.3.132.0.7", "secp112r2");
216 add_oid(config, "1.3.132.0.8", "secp160r1");
217 add_oid(config, "1.3.132.0.9", "secp160k1");
218 add_oid(config, "1.3.132.0.10", "secp256k1");
219 add_oid(config, "1.3.132.0.28", "secp128r1");
220 add_oid(config, "1.3.132.0.29", "secp128r2");
221 add_oid(config, "1.3.132.0.30", "secp160r2");
222 add_oid(config, "1.3.132.0.31", "secp192k1");
223 add_oid(config, "1.3.132.0.32", "secp224k1");
224 add_oid(config, "1.3.132.0.33", "secp224r1");
225 */
226 add_oid(config, "1.3.132.0.34", "secp384r1");
227 /* Disabled.
228 add_oid(config, "1.3.132.0.35", "secp521r1");
229
230 add_oid(config, "1.2.840.10045.3.1.1", "secp192r1");
231 add_oid(config, "1.2.840.10045.3.1.2", "x962_p192v2");
232 add_oid(config, "1.2.840.10045.3.1.3", "x962_p192v3");
233 add_oid(config, "1.2.840.10045.3.1.4", "x962_p239v1");
234 add_oid(config, "1.2.840.10045.3.1.5", "x962_p239v2");
235 add_oid(config, "1.2.840.10045.3.1.6", "x962_p239v3");
236 */
237 add_oid(config, "1.2.840.10045.3.1.7", "secp256r1");
238
239 /* Disabled.
240 add_oid(config, "1.3.36.3.3.2.8.1.1.1", "brainpool160r1");
241 add_oid(config, "1.3.36.3.3.2.8.1.1.3", "brainpool192r1");
242 add_oid(config, "1.3.36.3.3.2.8.1.1.5", "brainpool224r1");
243 add_oid(config, "1.3.36.3.3.2.8.1.1.7", "brainpool256r1");
244 add_oid(config, "1.3.36.3.3.2.8.1.1.9", "brainpool320r1");
245 add_oid(config, "1.3.36.3.3.2.8.1.1.11", "brainpool384r1");
246 add_oid(config, "1.3.36.3.3.2.8.1.1.13", "brainpool512r1");
247
248 add_oid(config, "1.2.643.2.2.35.1", "gost_256A");
249 add_oid(config, "1.2.643.2.2.36.0", "gost_256A");
250 */
251
252 /* CVC */
253 add_oid(config, "0.4.0.127.0.7.3.1.2.1",
254 "CertificateHolderAuthorizationTemplate");
255 }
256
257 /*
258 * Set the default algorithm aliases
259 */
260 void set_default_aliases(Library_State& config)
261 {
262 config.add_alias("OpenPGP.Cipher.1", "IDEA");
263 config.add_alias("OpenPGP.Cipher.2", "TripleDES");
264 config.add_alias("OpenPGP.Cipher.3", "CAST-128");
265 config.add_alias("OpenPGP.Cipher.4", "Blowfish");
266 config.add_alias("OpenPGP.Cipher.5", "SAFER-SK(13)");
267 config.add_alias("OpenPGP.Cipher.7", "AES-128");
268 config.add_alias("OpenPGP.Cipher.8", "AES-192");
269 config.add_alias("OpenPGP.Cipher.9", "AES-256");
270 config.add_alias("OpenPGP.Cipher.10", "Twofish");
271
272 config.add_alias("OpenPGP.Digest.1", "MD5");
273 config.add_alias("OpenPGP.Digest.2", "SHA-1");
274 config.add_alias("OpenPGP.Digest.3", "RIPEMD-160");
275 config.add_alias("OpenPGP.Digest.5", "MD2");
276 config.add_alias("OpenPGP.Digest.6", "Tiger(24,3)");
277 config.add_alias("OpenPGP.Digest.8", "SHA-256");
278
279 config.add_alias("TLS.Digest.0", "Parallel(MD5,SHA-160)");
280
281 config.add_alias("EME-PKCS1-v1_5", "PKCS1v15");
282 config.add_alias("OAEP-MGF1", "EME1");
283 config.add_alias("EME-OAEP", "EME1");
284 config.add_alias("X9.31", "EMSA2");
285 config.add_alias("EMSA-PKCS1-v1_5", "EMSA3");
286 config.add_alias("PSS-MGF1", "EMSA4");
287 config.add_alias("EMSA-PSS", "EMSA4");
288
289 config.add_alias("3DES", "TripleDES");
290 config.add_alias("DES-EDE", "TripleDES");
291 config.add_alias("CAST5", "CAST-128");
292 config.add_alias("SHA1", "SHA-160");
293 config.add_alias("SHA-1", "SHA-160");
294 config.add_alias("MARK-4", "ARC4(256)");
295 config.add_alias("OMAC", "CMAC");
296 config.add_alias("GOST", "GOST-28147-89");
297 }
298
299 /*
300 * Set the built-in discrete log groups
301 */
302 void set_default_dl_groups(Library_State& config)
303 {
304 config.set("dl", "modp/ietf/768",
305 "-----BEGIN X942 DH PARAMETERS-----"
306 "MIHIAmEA///////////JD9qiIWjCNMTGYouA3BzRKQJOCIpnzHQCC76mOxObIlFK"
307 "CHmONATd75UZs806QxswKwpt8l8UN0/hNW1tUcJF5IW1dmJefsb0TELppjo2IP//"
308 "////////AgECAmB//////////+SH7VEQtGEaYmMxRcBuDmiUgScERTPmOgEF31Md"
309 "ic2RKKUEPMcaAm73yozZ5p0hjZgVhTb5L4obp/Catrao4SLyQtq7MS8/Y3omIXTT"
310 "HRsQf/////////8="
311 "-----END X942 DH PARAMETERS-----");
312
313 config.set("dl", "modp/ietf/1024",
314 "-----BEGIN X942 DH PARAMETERS-----"
315 "MIIBCgKBgQD//////////8kP2qIhaMI0xMZii4DcHNEpAk4IimfMdAILvqY7E5si"
316 "UUoIeY40BN3vlRmzzTpDGzArCm3yXxQ3T+E1bW1RwkXkhbV2Yl5+xvRMQummN+1r"
317 "C/9ctvQGt+3uOGv7Womfpa6fJBF8Sx/mSShmUezmU4H//////////wIBAgKBgH//"
318 "////////5IftURC0YRpiYzFFwG4OaJSBJwRFM+Y6AQXfUx2JzZEopQQ8xxoCbvfK"
319 "jNnmnSGNmBWFNvkvihun8Jq2tqjhIvJC2rsxLz9jeiYhdNMb9rWF/65begNb9vcc"
320 "Nf2tRM/S10+SCL4lj/MklDMo9nMpwP//////////"
321 "-----END X942 DH PARAMETERS-----");
322
323 config.set("dl", "modp/srp/1024",
324 "-----BEGIN X942 DH PARAMETERS-----"
325 "MIIBCgKBgQDurwq5rbON1pwz+Ar6j8XoYHJhh3X/PAueojFMnCVldtZ033SW6oHT"
326 "ODtIE9aSxuDg1djiULmL5I5JXB1gidrRXcfXtGFU1rbOjvStabFdSYJVmyl7zxiF"
327 "xSn1ZmYOV+xo7bw8BXJswC/Uy/SXbqqa/VE4/oN2Q1ufxh0vwOsG4wIBAgKBgHdX"
328 "hVzW2cbrThn8BX1H4vQwOTDDuv+eBc9RGKZOErK7azpvukt1QOmcHaQJ60ljcHBq"
329 "7HEoXMXyRySuDrBE7Wiu4+vaMKprW2dHela02K6kwSrNlL3njELilPqzMwcr9jR2"
330 "3h4CuTZgF+pl+ku3VU1+qJx/Qbshrc/jDpfgdYNx"
331 "-----END X942 DH PARAMETERS-----");
332
333 config.set("dl", "modp/ietf/1536",
334 "-----BEGIN X942 DH PARAMETERS-----"
335 "MIIBigKBwQD//////////8kP2qIhaMI0xMZii4DcHNEpAk4IimfMdAILvqY7E5si"
336 "UUoIeY40BN3vlRmzzTpDGzArCm3yXxQ3T+E1bW1RwkXkhbV2Yl5+xvRMQummN+1r"
337 "C/9ctvQGt+3uOGv7Womfpa6fJBF8Sx/mSShmUezkWz3CAHy4oWO/BZjaSDYcVdOa"
338 "aRY/qP0kz1+DZV0j3KOtlhxi81YghVK7ntUpB3CWlm1nDDVOSryYBPF0bAjKI3Mn"
339 "//////////8CAQICgcB//////////+SH7VEQtGEaYmMxRcBuDmiUgScERTPmOgEF"
340 "31Mdic2RKKUEPMcaAm73yozZ5p0hjZgVhTb5L4obp/Catrao4SLyQtq7MS8/Y3om"
341 "IXTTG/a1hf+uW3oDW/b3HDX9rUTP0tdPkgi+JY/zJJQzKPZyLZ7hAD5cULHfgsxt"
342 "JBsOKunNNIsf1H6SZ6/Bsq6R7lHWyw4xeasQQqldz2qUg7hLSzazhhqnJV5MAni6"
343 "NgRlEbmT//////////8="
344 "-----END X942 DH PARAMETERS-----");
345
346 config.set("dl", "modp/srp/1536",
347 "-----BEGIN DH PARAMETERS-----"
348 "MIHHAoHBAJ3vPK+5OSd6sfEqhheke7vbpR30maxMgL7uqWFLGcxNX09fVW4ny95R"
349 "xqlL5GB6KRVYkDug0PhDgLZVu5oi6NzfAop87Gfw0IE0sci5eYkUm2CeC+O6tj1H"
350 "VIOB28Wx/HZOP0tT3Z2hFYv9PiucjPVu3wGVOTSWJ9sv1T0kt8SGZXcuQ31sf4zk"
351 "QnNK98y3roN8Jkrjqb64f4ov6bi1KS5aAh//XpFHnoznoowkQsbzFRgPk0maI03P"
352 "duP+0TX5uwIBAg=="
353 "-----END DH PARAMETERS-----");
354
355 config.set("dl", "modp/ietf/2048",
356 "-----BEGIN X942 DH PARAMETERS-----"
357 "MIICDAKCAQEA///////////JD9qiIWjCNMTGYouA3BzRKQJOCIpnzHQCC76mOxOb"
358 "IlFKCHmONATd75UZs806QxswKwpt8l8UN0/hNW1tUcJF5IW1dmJefsb0TELppjft"
359 "awv/XLb0Brft7jhr+1qJn6WunyQRfEsf5kkoZlHs5Fs9wgB8uKFjvwWY2kg2HFXT"
360 "mmkWP6j9JM9fg2VdI9yjrZYcYvNWIIVSu57VKQdwlpZtZww1Tkq8mATxdGwIyhgh"
361 "fDKQXkYuNs474553LBgOhgObJ4Oi7Aeij7XFXfBvTFLJ3ivL9pVYFxg5lUl86pVq"
362 "5RXSJhiY+gUQFXKOWoqsqmj//////////wIBAgKCAQB//////////+SH7VEQtGEa"
363 "YmMxRcBuDmiUgScERTPmOgEF31Mdic2RKKUEPMcaAm73yozZ5p0hjZgVhTb5L4ob"
364 "p/Catrao4SLyQtq7MS8/Y3omIXTTG/a1hf+uW3oDW/b3HDX9rUTP0tdPkgi+JY/z"
365 "JJQzKPZyLZ7hAD5cULHfgsxtJBsOKunNNIsf1H6SZ6/Bsq6R7lHWyw4xeasQQqld"
366 "z2qUg7hLSzazhhqnJV5MAni6NgRlDBC+GUgvIxcbZx3xzzuWDAdDAc2TwdF2A9FH"
367 "2uKu+DemKWTvFeX7SqwLjBzKpL51SrVyiukTDEx9AogKuUctRVZVNH//////////"
368 "-----END X942 DH PARAMETERS-----");
369
370 config.set("dl", "modp/srp/2048",
371 "-----BEGIN X942 DH PARAMETERS-----"
372 "MIICDAKCAQEArGvbQTJKmpvxZt5eE4lYL69ytmUZh+4H/DGSlD21YFCjcynLtKCZ"
373 "7YGT4HV3Z6E91SMSq0sDMQ3Nf0ip2gT9UOgIOWntt2ewz2CVF5oWOrNmGgX71fqq"
374 "6CkYqZYvC5O4Vfl5k+yXXuqoDXQK2/T/dHNZ0EHVwz6nHSgeRGsUdzvKl7Q6I/uA"
375 "Fna9IHpDbGSB8dK5B4cXRhpbnTLmiPh3SFRFI7UksNV9Xqd6J3XS7PoDLPvb9S+z"
376 "eGFgJ5AE5Xrmr4dOcwPOUymczAQce8MI2CpWmPOo0MOCca41+Onb+7aUtcgD2J96"
377 "5DXeI21SX1R1m2XjcvzWjvIPpxEfnkr/cwIBAgKCAQBWNe2gmSVNTfizby8JxKwX"
378 "17lbMozD9wP+GMlKHtqwKFG5lOXaUEz2wMnwOruz0J7qkYlVpYGYhua/pFTtAn6o"
379 "dAQctPbbs9hnsEqLzQsdWbMNAv3q/VV0FIxUyxeFydwq/LzJ9kuvdVQGugVt+n+6"
380 "OazoIOrhn1OOlA8iNYo7neVL2h0R/cALO16QPSG2MkD46VyDw4ujDS3OmXNEfDuk"
381 "KiKR2pJYar6vU70Tuul2fQGWfe36l9m8MLATyAJyvXNXw6c5gecplM5mAg494YRs"
382 "FStMedRoYcE41xr8dO3920pa5AHsT71yGu8RtqkvqjrNsvG5fmtHeQfTiI/PJX+5"
383 "-----END X942 DH PARAMETERS-----");
384
385 config.set("dl", "modp/ietf/3072",
386 "-----BEGIN X942 DH PARAMETERS-----"
387 "MIIDDAKCAYEA///////////JD9qiIWjCNMTGYouA3BzRKQJOCIpnzHQCC76mOxOb"
388 "IlFKCHmONATd75UZs806QxswKwpt8l8UN0/hNW1tUcJF5IW1dmJefsb0TELppjft"
389 "awv/XLb0Brft7jhr+1qJn6WunyQRfEsf5kkoZlHs5Fs9wgB8uKFjvwWY2kg2HFXT"
390 "mmkWP6j9JM9fg2VdI9yjrZYcYvNWIIVSu57VKQdwlpZtZww1Tkq8mATxdGwIyhgh"
391 "fDKQXkYuNs474553LBgOhgObJ4Oi7Aeij7XFXfBvTFLJ3ivL9pVYFxg5lUl86pVq"
392 "5RXSJhiY+gUQFXKOWoqqxC2tMxcNBFB6M6hVIavfHLpk7PuFBFjb7wqK6nFXXQYM"
393 "fbOXD4Wm4eTHq/WujNsJM9cejJTgSiVhnc7j0iYa0u5r8S/6BtmKCGTYdgJzPshq"
394 "ZFIfKxgXeyAMu+EXV3phXWx3CYjAutlG4gjiT6B05asxQ9tb/OD9EI5LgtEgqTrS"
395 "yv//////////AgECAoIBgH//////////5IftURC0YRpiYzFFwG4OaJSBJwRFM+Y6"
396 "AQXfUx2JzZEopQQ8xxoCbvfKjNnmnSGNmBWFNvkvihun8Jq2tqjhIvJC2rsxLz9j"
397 "eiYhdNMb9rWF/65begNb9vccNf2tRM/S10+SCL4lj/MklDMo9nItnuEAPlxQsd+C"
398 "zG0kGw4q6c00ix/UfpJnr8GyrpHuUdbLDjF5qxBCqV3PapSDuEtLNrOGGqclXkwC"
399 "eLo2BGUMEL4ZSC8jFxtnHfHPO5YMB0MBzZPB0XYD0Ufa4q74N6YpZO8V5ftKrAuM"
400 "HMqkvnVKtXKK6RMMTH0CiAq5Ry1FVWIW1pmLhoIoPRnUKpDV745dMnZ9woIsbfeF"
401 "RXU4q66DBj7Zy4fC03DyY9X610ZthJnrj0ZKcCUSsM7ncekTDWl3NfiX/QNsxQQy"
402 "bDsBOZ9kNTIpD5WMC72QBl3wi6u9MK62O4TEYF1so3EEcSfQOnLVmKHtrf5wfohH"
403 "JcFokFSdaWV//////////w=="
404 "-----END X942 DH PARAMETERS-----");
405
406 config.set("dl", "modp/srp/3072",
407 "-----BEGIN DH PARAMETERS-----"
408 "MIIBiAKCAYEA///////////JD9qiIWjCNMTGYouA3BzRKQJOCIpnzHQCC76mOxOb"
409 "IlFKCHmONATd75UZs806QxswKwpt8l8UN0/hNW1tUcJF5IW1dmJefsb0TELppjft"
410 "awv/XLb0Brft7jhr+1qJn6WunyQRfEsf5kkoZlHs5Fs9wgB8uKFjvwWY2kg2HFXT"
411 "mmkWP6j9JM9fg2VdI9yjrZYcYvNWIIVSu57VKQdwlpZtZww1Tkq8mATxdGwIyhgh"
412 "fDKQXkYuNs474553LBgOhgObJ4Oi7Aeij7XFXfBvTFLJ3ivL9pVYFxg5lUl86pVq"
413 "5RXSJhiY+gUQFXKOWoqqxC2tMxcNBFB6M6hVIavfHLpk7PuFBFjb7wqK6nFXXQYM"
414 "fbOXD4Wm4eTHq/WujNsJM9cejJTgSiVhnc7j0iYa0u5r8S/6BtmKCGTYdgJzPshq"
415 "ZFIfKxgXeyAMu+EXV3phXWx3CYjAutlG4gjiT6B05asxQ9tb/OD9EI5LgtEgqTrS"
416 "yv//////////AgEF"
417 "-----END DH PARAMETERS-----");
418
419 config.set("dl", "modp/ietf/4096",
420 "-----BEGIN X942 DH PARAMETERS-----"
421 "MIIEDAKCAgEA///////////JD9qiIWjCNMTGYouA3BzRKQJOCIpnzHQCC76mOxOb"
422 "IlFKCHmONATd75UZs806QxswKwpt8l8UN0/hNW1tUcJF5IW1dmJefsb0TELppjft"
423 "awv/XLb0Brft7jhr+1qJn6WunyQRfEsf5kkoZlHs5Fs9wgB8uKFjvwWY2kg2HFXT"
424 "mmkWP6j9JM9fg2VdI9yjrZYcYvNWIIVSu57VKQdwlpZtZww1Tkq8mATxdGwIyhgh"
425 "fDKQXkYuNs474553LBgOhgObJ4Oi7Aeij7XFXfBvTFLJ3ivL9pVYFxg5lUl86pVq"
426 "5RXSJhiY+gUQFXKOWoqqxC2tMxcNBFB6M6hVIavfHLpk7PuFBFjb7wqK6nFXXQYM"
427 "fbOXD4Wm4eTHq/WujNsJM9cejJTgSiVhnc7j0iYa0u5r8S/6BtmKCGTYdgJzPshq"
428 "ZFIfKxgXeyAMu+EXV3phXWx3CYjAutlG4gjiT6B05asxQ9tb/OD9EI5LgtEgqSEI"
429 "ARpyPBKnh+bXiHGaEL26WyaZwycYavTiPBqUaDS2FQvaJYPpyirUTOjbu8LbBN6O"
430 "+S6O/BQfvsqmKHxZR05rwF2ZspZPoJDDoiM7oYZRW+ftH2EpcM7i16+4G912IXBI"
431 "HNAGkSfVsFqpk7TqmI2P3cGG/7fckKbAj030Nck0BjGZ//////////8CAQICggIA"
432 "f//////////kh+1RELRhGmJjMUXAbg5olIEnBEUz5joBBd9THYnNkSilBDzHGgJu"
433 "98qM2eadIY2YFYU2+S+KG6fwmra2qOEi8kLauzEvP2N6JiF00xv2tYX/rlt6A1v2"
434 "9xw1/a1Ez9LXT5IIviWP8ySUMyj2ci2e4QA+XFCx34LMbSQbDirpzTSLH9R+kmev"
435 "wbKuke5R1ssOMXmrEEKpXc9qlIO4S0s2s4YapyVeTAJ4ujYEZQwQvhlILyMXG2cd"
436 "8c87lgwHQwHNk8HRdgPRR9rirvg3pilk7xXl+0qsC4wcyqS+dUq1corpEwxMfQKI"
437 "CrlHLUVVYhbWmYuGgig9GdQqkNXvjl0ydn3Cgixt94VFdTirroMGPtnLh8LTcPJj"
438 "1frXRm2EmeuPRkpwJRKwzudx6RMNaXc1+Jf9A2zFBDJsOwE5n2Q1MikPlYwLvZAG"
439 "XfCLq70wrrY7hMRgXWyjcQRxJ9A6ctWYoe2t/nB+iEclwWiQVJCEAI05HglTw/Nr"
440 "xDjNCF7dLZNM4ZOMNXpxHg1KNBpbCoXtEsH05RVqJnRt3eFtgm9HfJdHfgoP32VT"
441 "FD4so6c14C7M2Usn0Ehh0RGd0MMorfP2j7CUuGdxa9fcDe67ELgkDmgDSJPq2C1U"
442 "ydp1TEbH7uDDf9vuSFNgR6b6GuSaAxjM//////////8="
443 "-----END X942 DH PARAMETERS-----");
444
445 config.set("dl", "modp/srp/4096",
446 "-----BEGIN DH PARAMETERS-----"
447 "MIICCAKCAgEA///////////JD9qiIWjCNMTGYouA3BzRKQJOCIpnzHQCC76mOxOb"
448 "IlFKCHmONATd75UZs806QxswKwpt8l8UN0/hNW1tUcJF5IW1dmJefsb0TELppjft"
449 "awv/XLb0Brft7jhr+1qJn6WunyQRfEsf5kkoZlHs5Fs9wgB8uKFjvwWY2kg2HFXT"
450 "mmkWP6j9JM9fg2VdI9yjrZYcYvNWIIVSu57VKQdwlpZtZww1Tkq8mATxdGwIyhgh"
451 "fDKQXkYuNs474553LBgOhgObJ4Oi7Aeij7XFXfBvTFLJ3ivL9pVYFxg5lUl86pVq"
452 "5RXSJhiY+gUQFXKOWoqqxC2tMxcNBFB6M6hVIavfHLpk7PuFBFjb7wqK6nFXXQYM"
453 "fbOXD4Wm4eTHq/WujNsJM9cejJTgSiVhnc7j0iYa0u5r8S/6BtmKCGTYdgJzPshq"
454 "ZFIfKxgXeyAMu+EXV3phXWx3CYjAutlG4gjiT6B05asxQ9tb/OD9EI5LgtEgqSEI"
455 "ARpyPBKnh+bXiHGaEL26WyaZwycYavTiPBqUaDS2FQvaJYPpyirUTOjbu8LbBN6O"
456 "+S6O/BQfvsqmKHxZR05rwF2ZspZPoJDDoiM7oYZRW+ftH2EpcM7i16+4G912IXBI"
457 "HNAGkSfVsFqpk7TqmI2P3cGG/7fckKbAj030Nck0BjGZ//////////8CAQU="
458 "-----END DH PARAMETERS-----");
459
460 config.set("dl", "modp/ietf/6144",
461 "-----BEGIN X942 DH PARAMETERS-----"
462 "MIIGDAKCAwEA///////////JD9qiIWjCNMTGYouA3BzRKQJOCIpnzHQCC76mOxOb"
463 "IlFKCHmONATd75UZs806QxswKwpt8l8UN0/hNW1tUcJF5IW1dmJefsb0TELppjft"
464 "awv/XLb0Brft7jhr+1qJn6WunyQRfEsf5kkoZlHs5Fs9wgB8uKFjvwWY2kg2HFXT"
465 "mmkWP6j9JM9fg2VdI9yjrZYcYvNWIIVSu57VKQdwlpZtZww1Tkq8mATxdGwIyhgh"
466 "fDKQXkYuNs474553LBgOhgObJ4Oi7Aeij7XFXfBvTFLJ3ivL9pVYFxg5lUl86pVq"
467 "5RXSJhiY+gUQFXKOWoqqxC2tMx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483 "vnVKtXKK6RMMTH0CiAq5Ry1FVWIW1pmLhoIoPRnUKpDV745dMnZ9woIsbfeFRXU4"
484 "q66DBj7Zy4fC03DyY9X610ZthJnrj0ZKcCUSsM7ncekTDWl3NfiX/QNsxQQybDsB"
485 "OZ9kNTIpD5WMC72QBl3wi6u9MK62O4TEYF1so3EEcSfQOnLVmKHtrf5wfohHJcFo"
486 "kFSQhACNOR4JU8Pza8Q4zQhe3S2TTOGTjDV6cR4NSjQaWwqF7RLB9OUVaiZ0bd3h"
487 "bYJvR3yXR34KD99lUxQ+LKOnNeAuzNlLJ9BIYdERndDDKK3z9o+wlLhncWvX3A3u"
488 "uxC4JA5oA0iT6tgtVMnadUxGx+7gw3/b7khTYEem+hrkmgFCSRth/VppPjgTYOpu"
489 "WTATI29kuo87Ht0b3vx/ygNWzymHcu2cF6CYANdYNSn2yBPsGIvLk9hDLUSMbR9t"
490 "9efNinaiZzZdZ2pdje2/iiPzZhKlmZAoqJXr16E33HoAm8ZpX6zB5QDjJcl2eBl1"
491 "Cui5DoH6QWvnNzp/e2qvOBejTAZBWtQgGMgFjk8s8+S/32P0eZHUvT8bZkRfB46i"
492 "2/+sLWKl6gPZFaCqVWZHtr9fpHDsCmYvaQfAG/BTy4r3eU3xlANQ6sXb4u07eqhV"
493 "HsUP3/h1jOZY0Ynqrm0rZPYXeUsZHD/0a7ceAjQCH0ezH6Qwdwlflq2Fujprc0p8"
494 "jzbmIBJ//////////wIBAg=="
495 "-----END X942 DH PARAMETERS-----");
496
497 config.set("dl", "modp/srp/6144",
498 "-----BEGIN DH PARAMETERS-----"
499 "MIIDCAKCAwEA///////////JD9qiIWjCNMTGYouA3BzRKQJOCIpnzHQCC76mOxOb"
500 "IlFKCHmONATd75UZs806QxswKwpt8l8UN0/hNW1tUcJF5IW1dmJefsb0TELppjft"
501 "awv/XLb0Brft7jhr+1qJn6WunyQRfEsf5kkoZlHs5Fs9wgB8uKFjvwWY2kg2HFXT"
502 "mmkWP6j9JM9fg2VdI9yjrZYcYvNWIIVSu57VKQdwlpZtZww1Tkq8mATxdGwIyhgh"
503 "fDKQXkYuNs474553LBgOhgObJ4Oi7Aeij7XFXfBvTFLJ3ivL9pVYFxg5lUl86pVq"
504 "5RXSJhiY+gUQFXKOWoqqxC2tMxcNBFB6M6hVIavfHLpk7PuFBFjb7wqK6nFXXQYM"
505 "fbOXD4Wm4eTHq/WujNsJM9cejJTgSiVhnc7j0iYa0u5r8S/6BtmKCGTYdgJzPshq"
506 "ZFIfKxgXeyAMu+EXV3phXWx3CYjAutlG4gjiT6B05asxQ9tb/OD9EI5LgtEgqSEI"
507 "ARpyPBKnh+bXiHGaEL26WyaZwycYavTiPBqUaDS2FQvaJYPpyirUTOjbu8LbBN6O"
508 "+S6O/BQfvsqmKHxZR05rwF2ZspZPoJDDoiM7oYZRW+ftH2EpcM7i16+4G912IXBI"
509 "HNAGkSfVsFqpk7TqmI2P3cGG/7fckKbAj030Nck0AoSSNsP6tNJ8cCbB1NyyYCZG"
510 "3sl1HnY9uje9+P+UBq2eUw7l2zgvQTABrrBqU+2QJ9gxF5cnsIZaiRjaPtvrz5sU"
511 "7UTObLrO1Lsb238UR+bMJUszIFFRK9evQm+49AE3jNK/WYPKAcZLkuzwMuoV0XId"
512 "A/SC185udP721V5wL0aYDIK1qEAxkAscnlnnyX++x+jzI6l6fjbMiL4PHUW3/1ha"
513 "xUvUB7IrQVSqzI9tfr9I4dgUzF7SD4A34KeXFe7ym+MoBqHVi7fF2nb1UKo9ih+/"
514 "8OsZzLGjE9Vc2lbJ7C7yljI4f+jXbjwEaAQ+j2Y/SGDuEr8tWwt0dNbmlPkebcxA"
515 "JP//////////AgEF"
516 "-----END DH PARAMETERS-----");
517
518 config.set("dl", "modp/ietf/8192",
519 "-----BEGIN X942 DH PARAMETERS-----"
520 "MIIIDAKCBAEA///////////JD9qiIWjCNMTGYouA3BzRKQJOCIpnzHQCC76mOxOb"
521 "IlFKCHmONATd75UZs806QxswKwpt8l8UN0/hNW1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Vs8ph3LtnBegmADXWDUp"
553 "9sgT7BiLy5PYQy1EjG0fbfXnzYp2omc2XWdqXY3tv4oj82YSpZmQKKiV69ehN9x6"
554 "AJvGaV+sweUA4yXJdngZdQrouQ6B+kFr5zc6f3tqrzgXo0wGQVrUIBjIBY5PLPPk"
555 "v99j9HmR1L0/G2ZEXweOotv/rC1ipeoD2RWgqlVmR7a/X6Rw7ApmL2kHwBvwU8uK"
556 "93lN8ZQDUOrF2+LtO3qoVR7FD9/4dYzmWNGJ6q5tK2T2F3lLGRw/9Gu3HgI0Ah9H"
557 "sx+kMHcJX5athbo6a3NKfI823wisulHJN4l/cvIcO75bVJlvxmxfYmg53JjdHeQZ"
558 "W0bO6YA6D9PfxX4j9pK7e0m10hIzHVWxzi1yerQaEdo6FfjkvBHHi2XxzrKW8f7c"
559 "X35CRWyRERcCUgG+A4n1q9QNEfhjmjn+MjZ1GDWl5eRDF8HC7v1Opb/RYEP0PLQZ"
560 "gfat7p0DFZ562dE8UzaVCfwfonwW75iHcDpVtRsiy/RM0BKu4LJ5jmKEI0KO/NWk"
561 "DK72v1DY6ohev3Omuf15teGPZ9E0GsgjenXDz8kgBKHFpA42a8RNABdq9xwV5IyG"
562 "034BNyPKrHIjqzv01U8YKHE7K0pv5A+rdEBctziwZMBuzHbp7///////////AgEC"
563 "-----END X942 DH PARAMETERS-----");
564
565 config.set("dl", "modp/srp/8192",
566 "-----BEGIN DH PARAMETERS-----"
567 "MIIECAKCBAEA///////////JD9qiIWjCNMTGYouA3BzRKQJOCIpnzHQCC76mOxOb"
568 "IlFKCHmONATd75UZs806QxswKwpt8l8UN0/hNW1tUcJF5IW1dmJefsb0TELppjft"
569 "awv/XLb0Brft7jhr+1qJn6WunyQRfEsf5kkoZlHs5Fs9wgB8uKFjvwWY2kg2HFXT"
570 "mmkWP6j9JM9fg2VdI9yjrZYcYvNWIIVSu57VKQdwlpZtZww1Tkq8mATxdGwIyhgh"
571 "fDKQXkYuNs474553LBgOhgObJ4Oi7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i"
587 "aDWQRvTrh5+SQAlDi0gcbNeImgAu1e44K8kZDab8Am5HlVjkR1Z36aqeMFDidlaU"
588 "38gfVuiAuW5xYMmA3Zjt09///////////wIBEw=="
589 "-----END DH PARAMETERS-----");
590
591 config.set("dl", "dsa/jce/512",
592 "-----BEGIN DSA PARAMETERS-----"
593 "MIGdAkEA/KaCzo4Syrom78z3EQ5SbbB4sF7ey80etKII864WF64B81uRpH5t9jQT"
594 "xeEu0ImbzRMqzVDZkVG9xD7nN1kuFwIVAJYu3cw2nLqOuyYO5rahJtk0bjjFAkEA"
595 "3gtU76vylwh+5iPVylWIxkgo70/eT/uuHs0gBndrBbEbgeo83pvDlkwWh8UyW/Q9"
596 "fM76DQqGvl3/3dDRFD3NdQ=="
597 "-----END DSA PARAMETERS-----");
598
599 config.set("dl", "dsa/jce/768",
600 "-----BEGIN DSA PARAMETERS-----"
601 "MIHdAmEA6eZCWZ01XzfJf/01ZxILjiXJzUPpJ7OpZw++xdiQFBki0sOzrSSACTeZ"
602 "hp0ehGqrSfqwrSbSzmoiIZ1HC859d31KIfvpwnC1f2BwAvPO+Dk2lM9F7jaIwRqM"
603 "VqsSej2vAhUAnNvYTJ8awvOND4D0KrlS5zOL9RECYQDe7p717RUWzn5pXmcrjO5F"
604 "5s17NuDmOF+JS6hhY/bz5sbU6KgRRtQBfe/dccvZD6Akdlm4i3zByJT0gmn9Txqs"
605 "CjBTjf9rP8ds+xMcnnlltYhYqwpDtVczWRKoqlR/lWg="
606 "-----END DSA PARAMETERS-----");
607
608 config.set("dl", "dsa/jce/1024",
609 "-----BEGIN DSA PARAMETERS-----"
610 "MIIBHgKBgQD9f1OBHXUSKVLfSpwu7OTn9hG3UjzvRADDHj+AtlEmaUVdQCJR+1k9"
611 "jVj6v8X1ujD2y5tVbNeBO4AdNG/yZmC3a5lQpaSfn+gEexAiwk+7qdf+t8Yb+DtX"
612 "58aophUPBPuD9tPFHsMCNVQTWhaRMvZ1864rYdcq7/IiAxmd0UgBxwIVAJdgUI8V"
613 "IwvMspK5gqLrhAvwWBz1AoGARpYDUS4wJ4zTlHWV2yLuyYJqYyKtyXNE9B10DDJX"
614 "JMj577qn1NgD/4xgnc0QDrxb38+tfGpCX66nhuogUOvpg1HqH9of3yTWlHqmuaoj"
615 "dmlTgC9NfUqOy6BtGXaKJJH/sW0O+cQ6mbX3FnL/bwoktETQc20E04oaEyLa9s3Y"
616 "jJ0="
617 "-----END DSA PARAMETERS-----");
618
619 config.set("dl", "dsa/botan/2048",
620 "-----BEGIN DSA PARAMETERS-----"
621 "MIICLAKCAQEAkcSKT9+898Aq6V59oSYSK13Shk9Vm4fo50oobVL1m9HeaN/WRdDg"
622 "DGDAgAMYkZgDdO61lKUyv9Z7mgnqxLhmOgeRDmjzlGX7cEDSXfE5MuusQ0elMOy6"
623 "YchU+biA08DDZgCAWHxFVm2t4mvVo5S+CTtMDyS1r/747GxbPlf7iQJam8FnaZMh"
624 "MeFtPJTvyrGNDfBhIDzFPmEDvHLVWUv9QMplOA9EqahR3LB1SV/AM6ilgHGhvXj+"
625 "BS9mVVZI60txnSr+i0iA+NrW8VgYuhePiSdMhwvpuW6wjEbEAEDMLv4d+xsYaN0x"
626 "nePDSjKmOrbrEiQgmkGWgMx5AtFyjU354QIhAIzX1FD4bwrZTu5M5GmodW0evRBY"
627 "JBlD6v+ws1RYXpJNAoIBAA2fXgdhtNvRgz1qsalhoJlsXyIwP3LYTBQPZ8Qx2Uq1"
628 "cVvqgaDJjTnOS8941rnryJXTT+idlAkdWEhhXvFfXobxHZb2yWniA936WDVkIKSc"
629 "tES1lbkBqTPP4HZ7WU8YoHt/kd7NukRriJkPePL/kfL+fNQ/0uRtGOraH3u2YCxh"
630 "f27zpLKE8v2boQo2BC3o+oeiyjZZf+yBFXoUheRAQd8CgwERy4gLvm7UlIFIhvll"
631 "zcMTX1zPE4Nyi/ZbgG+WksCxDWxMCcdabKO0ATyxarLBBfa+I66pAA6rIXiYX5cs"
632 "mAV+HIbkTnIYaI6krg82NtzKdFydzU5q/7Z8y8E9YTE="
633 "-----END DSA PARAMETERS-----");
634
635 config.set("dl", "dsa/botan/3072",
636 "-----BEGIN DSA PARAMETERS-----"
637 "MIIDLAKCAYEA5LUIgHWWY1heFCRgyi2d/xMviuTIQN2jomZoiRJP5WOLhOiim3rz"
638 "+hIJvmv8S1By7Tsrc4e68/hX9HioAijvNgC3az3Pth0g00RlslBtLK+H3259wM6R"
639 "vS0Wekb2rcwxxTHk+cervbkq3fNbCoBsZikqX14X6WTdCZkDczrEKKs12A6m9oW/"
640 "uovkBo5UGK5eytno/wc94rY+Tn6tNciptwtb1Hz7iNNztm83kxk5sKtxvVWVgJCG"
641 "2gFVM30YWg5Ps2pRmxtiArhZHmACRJzxzTpmOE9tIHOxzXO+ypO68eGmEX0COPIi"
642 "rh7X/tGFqJDn9n+rj+uXU8wTSlGD3+h64llfe1wtn7tCJJ/dWVE+HTOWs+sv2GaE"
643 "8oWoRI/nV6ApiBxAdguU75Gb35dAw4OJWZ7FGm6btRmo4GhJHpzgovz+PLYNZs8N"
644 "+tIKjsaEBIaEphREV1vRck1zUrRKdgB3s71r04XOWwpyUMwL92jagpI4Buuc+7E4"
645 "hDcxthggjHWbAiEAs+vTZOxp74zzuvZDt1c0sWM5suSeXN4bWcHp+0DuDFsCggGA"
646 "K+0h7vg5ZKIwrom7px2ffDnFL8gim047x+WUTTKdoQ8BDqyee69sAJ/E6ylgcj4r"
647 "Vt9GY+TDrIAOkljeL3ZJ0gZ4KJP4Ze/KSY0u7zAHTqXop6smJxKk2UovOwuaku5A"
648 "D7OKPMWaXcfkNtXABLIuNQKDgbUck0B+sy1K4P1Cy0XhLQ7O6KJiOO3iCCp7FSIR"
649 "PGbO+NdFxs88uUX4TS9N4W1Epx3hmCcOE/A1U8iLjTI60LlIob8hA6lJl5tu0W+1"
650 "88lT2Vt8jojKZ9z1pjb7nKOdkkIV96iE7Wx+48ltjZcVQnl0t8Q1EoLhPTdz99KL"
651 "RS8QiSoTx1hzKN6kgntrNpsqjcFyrcWD9R8qZZjFSD5bxGewL5HQWcQC0Y4sJoD3"
652 "dqoG9JKAoscsF8xC1bbnQMXEsas8UcLtCSviotiwU65Xc9FCXtKwjwbi3VBZLfGk"
653 "eMFVkc39EVZP+I/zi3IdQjkv2kcyEtz9jS2IqXagCv/m//tDCjWeZMorNRyiQSOU"
654 "-----END DSA PARAMETERS-----");
655
656 config.set("ec", "secp112r1",
657 "-----BEGIN EC PARAMETERS-----"
658 "MHQCAQEwGgYHKoZIzj0BAQIPANt8Kr9i415mgHa+rSCLMCAEDtt8Kr9i415mgHa+"
659 "rSCIBA5lnvi6BDkW7t6JEXArIgQdBAlIcjmZWl7na1X5wvCYqJzlr4ckwKI+Dg/3"
660 "dQACDwDbfCq/YuNedijfrGVhxQIBAQ=="
661 "-----END EC PARAMETERS-----");
662
663 config.set("ec", "secp112r2",
664 "-----BEGIN EC PARAMETERS-----"
665 "MHMCAQEwGgYHKoZIzj0BAQIPANt8Kr9i415mgHa+rSCLMCAEDmEnwkwF84oKqvZc"
666 "DvAsBA5R3vGBXbXtdPzDTIXXCQQdBEujCrXokrThZJ3QkoZDrc1G9YguN0fe826V"
667 "bpcCDjbfCq/YuNdZfKEFINBLAgEB"
668 "-----END EC PARAMETERS-----");
669
670 config.set("ec", "secp128r1",
671 "-----BEGIN EC PARAMETERS-----"
672 "MIGAAgEBMBwGByqGSM49AQECEQD////9////////////////MCQEEP////3/////"
673 "//////////wEEOh1ecEQefQ92CSZPCzuXtMEIQQWH/dSi4mbLQwoYHylLFuGz1rI"
674 "OVuv6xPALaKS3e16gwIRAP////4AAAAAdaMNG5A4oRUCAQE="
675 "-----END EC PARAMETERS-----");
676
677 config.set("ec", "secp128r2",
678 "-----BEGIN EC PARAMETERS-----"
679 "MH8CAQEwHAYHKoZIzj0BAQIRAP////3///////////////8wJAQQ1gMZmNGzu/6/"
680 "Wcybv/mu4QQQXu78o4DQKRncLGVYu22KXQQhBHtqpdheVymD5vsyp83rwUAntpFq"
681 "iU067nEG/oBfw0tEAhA/////f////74AJHIGE7WjAgEE"
682 "-----END EC PARAMETERS-----");
683
684 config.set("ec", "secp160k1",
685 "-----BEGIN EC PARAMETERS-----"
686 "MIGYAgEBMCAGByqGSM49AQECFQD////////////////////+//+sczAsBBQAAAAA"
687 "AAAAAAAAAAAAAAAAAAAAAAQUAAAAAAAAAAAAAAAAAAAAAAAAAAcEKQQ7TDgs43qh"
688 "kqQBnnYwNvT13U1+u5OM+TUxj9zta8KChlMXM8PwPE/uAhUBAAAAAAAAAAAAAbj6"
689 "Ft+rmsoWtrMCAQE="
690 "-----END EC PARAMETERS-----");
691
692 config.set("ec", "secp160r1",
693 "-----BEGIN EC PARAMETERS-----"
694 "MIGYAgEBMCAGByqGSM49AQECFQD/////////////////////f////zAsBBT/////"
695 "////////////////f////AQUHJe+/FS9eotlrPifgdTUrcVl+kUEKQRKlrVojvVz"
696 "KEZkaYlow4u5E8v8giOmKFUxaJR9WdzJEgQjUTd6xfsyAhUBAAAAAAAAAAAAAfTI"
697 "+Seu08p1IlcCAQE="
698 "-----END EC PARAMETERS-----");
699
700 config.set("ec", "secp160r2",
701 "-----BEGIN EC PARAMETERS-----"
702 "MIGYAgEBMCAGByqGSM49AQECFQD////////////////////+//+sczAsBBT/////"
703 "///////////////+//+scAQUtOE00/tZ64urVydJBGZNWvUDiLoEKQRS3LA0KToR"
704 "fh9P8Rsw9xmdMUTObf6v/vLjMfKW4HH6DfmYLP6n1D8uAhUBAAAAAAAAAAAAADUe"
705 "54aoGPOhoWsCAQE="
706 "-----END EC PARAMETERS-----");
707
708 config.set("ec", "secp192k1",
709 "-----BEGIN EC PARAMETERS-----"
710 "MIGwAgEBMCQGByqGSM49AQECGQD//////////////////////////v//7jcwNAQY"
711 "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
712 "AAMEMQTbT/EOwFfpriawfQKAt/Q0HaXRsergbH2bLy9tnFYop4RBY9AVvoY0QIKq"
713 "iNleL50CGQD///////////////4m8vwXD2lGanTe/Y0CAQE="
714 "-----END EC PARAMETERS-----");
715
716 config.set("ec", "secp192r1",
717 "-----BEGIN EC PARAMETERS-----"
718 "MIGwAgEBMCQGByqGSM49AQECGQD////////////////////+//////////8wNAQY"
719 "/////////////////////v/////////8BBhkIQUZ5ZyA5w+n6atyJDBJ/rje7MFG"
720 "ubEEMQQYjagOsDCQ9ny/IOtDoYgA9P8K/YL/EBIHGSuV/8jaeGMQEe1rJM3Vc/l3"
721 "oR55SBECGQD///////////////+Z3vg2FGvJsbTSKDECAQE="
722 "-----END EC PARAMETERS-----");
723
724 config.set("ec", "secp224k1",
725 "-----BEGIN EC PARAMETERS-----"
726 "MIHIAgEBMCgGByqGSM49AQECHQD///////////////////////////////7//+Vt"
727 "MDwEHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEHAAAAAAAAAAAAAAAAAAA"
728 "AAAAAAAAAAAAAAAAAAUEOQShRVszTfCZ3zD8KKFppGfp5HB1qQ9+ZQ62t6Rcfgif"
729 "7X+6NEKCyvvW9+MZ98CwvVniykvbVW1hpQIdAQAAAAAAAAAAAAAAAAAB3OjS7GGE"
730 "yvCpcXafsfcCAQE="
731 "-----END EC PARAMETERS-----");
732
733 config.set("ec", "secp224r1",
734 "-----BEGIN EC PARAMETERS-----"
735 "MIHIAgEBMCgGByqGSM49AQECHQD/////////////////////AAAAAAAAAAAAAAAB"
736 "MDwEHP////////////////////7///////////////4EHLQFCoUMBLOr9UEyVlBE"
737 "sLfXv9i6Jws5QyNV/7QEOQS3Dgy9a7S/fzITkLlKA8HTVsIRIjQygNYRXB0hvTdj"
738 "iLX3I/tMIt/mzUN1oFoHR2RE1YGZhQB+NAIdAP//////////////////FqLguPA+"
739 "E90pRVxcKj0CAQE="
740 "-----END EC PARAMETERS-----");
741
742 config.set("ec", "secp256k1",
743 "-----BEGIN EC PARAMETERS-----"
744 "MIHgAgEBMCwGByqGSM49AQECIQD////////////////////////////////////+"
745 "///8LzBEBCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQgAAAAAAAA"
746 "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcEQQR5vmZ++dy7rFWgYpXOhwsHApv8"
747 "2y3OKNlZ8oFbFvgXmEg62ncmo8RlXaT7/A4RCKj9F7RIpoVUGZxH0I/7ENS4AiEA"
748 "/////////////////////rqu3OavSKA7v9JejNA2QUECAQE="
749 "-----END EC PARAMETERS-----");
750
751 config.set("ec", "secp256r1",
752 "-----BEGIN EC PARAMETERS-----"
753 "MIHgAgEBMCwGByqGSM49AQECIQD/////AAAAAQAAAAAAAAAAAAAAAP//////////"
754 "/////zBEBCD/////AAAAAQAAAAAAAAAAAAAAAP///////////////AQgWsY12Ko6"
755 "k+ez671VdpiGvGUdBrDMU7D2O848PifSYEsEQQRrF9Hy4SxCR/i85uVjpEDydwN9"
756 "gS3rM6D0oTlF2JjClk/jQuL+Gn+bjufrSnwPnhYrzjNXazFezsu2QGg3v1H1AiEA"
757 "/////wAAAAD//////////7zm+q2nF56E87nKwvxjJVECAQE="
758 "-----END EC PARAMETERS-----");
759
760 config.set("ec", "secp384r1",
761 "-----BEGIN EC PARAMETERS-----"
762 "MIIBQAIBATA8BgcqhkjOPQEBAjEA////////////////////////////////////"
763 "//////7/////AAAAAAAAAAD/////MGQEMP//////////////////////////////"
764 "///////////+/////wAAAAAAAAAA/////AQwszEvp+I+5+SYjgVr4/gtGRgdnG7+"
765 "gUESAxQIj1ATh1rGVjmNii7RnSqFyO3T7CrvBGEEqofKIr6LBTeOscce8yCtdG4d"
766 "O2KLp5uYWfdB4IJUKjhVAvJdv1UpbDpUXjhydgq3NhfeSpYmLG9dnpi/kpLcKfj0"
767 "Hb0omhR86doxE7XwuMAKYLHOHX6BnXpDHXyQ6g5fAjEA////////////////////"
768 "////////////x2NNgfQ3Ld9YGg2ySLCneuzsGWrMxSlzAgEB"
769 "-----END EC PARAMETERS-----");
770
771 config.set("ec", "secp521r1",
772 "-----BEGIN EC PARAMETERS-----"
773 "MIIBrAIBATBNBgcqhkjOPQEBAkIB////////////////////////////////////"
774 "//////////////////////////////////////////////////8wgYgEQgH/////"
775 "////////////////////////////////////////////////////////////////"
776 "/////////////////ARCAFGVPrlhjhyaH5KaIaC2hUDuotpyW5mzFfO4tImRjvEJ"
777 "4VYZOVHsfpN7FlLAvTuxvwc1c9+IPSw08e9FH9RrUD8ABIGFBADGhY4GtwQE6c2e"
778 "PstmI5W0QpxkgTkFP7Uh+CivYGtNPbqhS1537+dZKP4dwSei/6jeM0izwYVqQpv5"
779 "fn4xwuW9ZgEYOSlqeJo7wARcil+0LH0b2Zj1RElXm0RoF6+9Fyc+ZiyX7nKZXvQm"
780 "QMVQuQE/rQdhNTxwhqJywkCIvpR2n9FmUAJCAf//////////////////////////"
781 "////////////////+lGGh4O/L5Zrf8wBSPcJpdA7tcm4iZxHrrtvtx6ROGQJAgEB"
782 "-----END EC PARAMETERS-----");
783
784 config.set("ec", "1.3.6.1.4.1.8301.3.1.2.9.0.38",
785 "-----BEGIN EC PARAMETERS-----"
786 "MIIBrAIBATBNBgcqhkjOPQEBAkIB////////////////////////////////////"
787 "//////////////////////////////////////////////////8wgYgEQgH/////"
788 "////////////////////////////////////////////////////////////////"
789 "/////////////////ARCAFGVPrlhjhyaH5KaIaC2hUDuotpyW5mzFfO4tImRjvEJ"
790 "4VYZOVHsfpN7FlLAvTuxvwc1c9+IPSw08e9FH9RrUD8ABIGFBADGhY4GtwQE6c2e"
791 "PstmI5W0QpxkgTkFP7Uh+CivYGtNPbqhS1537+dZKP4dwSei/6jeM0izwYVqQpv5"
792 "fn4xwuW9ZgEYOSlqeJo7wARcil+0LH0b2Zj1RElXm0RoF6+9Fyc+ZiyX7nKZXvQm"
793 "QMVQuQE/rQdhNTxwhqJywkCIvpR2n9FmUAJCAf//////////////////////////"
794 "////////////////+lGGh4O/L5Zrf8wBSPcJpdA7tcm4iZxHrrtvtx6ROGQJAgEB"
795 "-----END EC PARAMETERS-----");
796
797 config.set("ec", "brainpool160r1",
798 "-----BEGIN EC PARAMETERS-----"
799 "MIGYAgEBMCAGByqGSM49AQECFQDpXkpfc3BZ3GDfx62Vs9gTlRViDzAsBBQ0Dnvi"
800 "ooDrdOK+YbradF2X6PfDAAQUHliahZVCNBITT6otveyVyNhnXlgEKQS+1a8W6j9q"
801 "T2KTjEYx61r3vbzbwxZny0d6Go7DOPlHQWacl2MW2mMhAhUA6V5KX3NwWdxg31mR"
802 "1FApQJ5g/AkCAQE="
803 "-----END EC PARAMETERS-----");
804
805 config.set("ec", "brainpool192r1",
806 "-----BEGIN EC PARAMETERS-----"
807 "MIGwAgEBMCQGByqGSM49AQECGQDDAvQdkyo2zaejRjCT0Y23j85HbeGoYpcwNAQY"
808 "apEXQHax4OGcOcAx/oaFwcrgQOXGmijvBBhGmijvfCjMo9xyHQRPRJa8yn70FG+/"
809 "JckEMQTAoGR+qrakh1OwM8VssPCQCi9cSFM3X9YUtpCGar1buItfSCjBSQAC5nc/"
810 "ovopm48CGQDDAvQdkyo2zaejRi+enpFrW+jxAprErMECAQE="
811 "-----END EC PARAMETERS-----");
812
813 config.set("ec", "brainpool224r1",
814 "-----BEGIN EC PARAMETERS-----"
815 "MIHIAgEBMCgGByqGSM49AQECHQDXwTSqJkNmhioYMCV10deHsJ8HV5faifV+yMD/"
816 "MDwEHGil5iypzmwcKZgDpsFTC1FOGCrYsAQqWcrSn0MEHCWA9jzP5EE4hwcTsakj"
817 "aeM+ITXSZtuzcjhsQAsEOQQNkCmtLH5c9DQII7KofcaMnkzjF0webv3uEsB9WKpW"
818 "93LAcm8kxrieTs2sJDVLnpnKo/bTdhQCzQIdANfBNKomQ2aGKhgwJXXQ+5jRFrxL"
819 "bd68o6Wnk58CAQE="
820 "-----END EC PARAMETERS-----");
821
822 config.set("ec", "brainpool256r1",
823 "-----BEGIN EC PARAMETERS-----"
824 "MIHgAgEBMCwGByqGSM49AQECIQCp+1fboe6pvD5mCpCdg41ybjv2I9UmICggE0gd"
825 "H25TdzBEBCB9Wgl1/CwwV+72dTBBev/n+4BVwSbcXGzpSktE8zC12QQgJtxcbOlK"
826 "S0TzMLXZu9d8v5WEFilc9+HOa8zcGP+MB7YEQQSL0q65y35XyyxLSC/8gbevud4n"
827 "4eO9I8I6RFO9ms4yYlR++DXD2sT9l/hGGhRhHcnCd0UTLe2OVFwdVMcvBGmXAiEA"
828 "qftX26Huqbw+ZgqQnYONcYw5eqO1Yab3kB4OgpdIVqcCAQE="
829 "-----END EC PARAMETERS-----");
830
831 config.set("ec", "brainpool320r1",
832 "-----BEGIN EC PARAMETERS-----"
833 "MIIBEAIBATA0BgcqhkjOPQEBAikA015HIDa8T7fhPHhe0gHgZfmPz6b29A3vT5K5"
834 "7HiT7Cj81BKx8bMuJzBUBCg+4wtWj7qw+IPM69RtPzu4oqc1E/XredpmGQ6whf+p"
835 "9JLzdal9hg60BChSCIOUnf28QtOtGYZAaIpv4T9BNJVUtJrMMdzNiEU5gW9etKyP"
836 "sfGmBFEEQ71+mvtT2LhSibzEjuW/5vIBN9EKCH6254ceKhClmccQr40NOeIGERT9"
837 "0FVF7BzIq0CTJH93J14HQ//tEXGC6qnHeHeqrGrH01JF0WkujuECKQDTXkcgNrxP"
838 "t+E8eF7SAeBl+Y/PpbaPEqMtSC7H7oZY6YaRVVtExZMRAgEB"
839 "-----END EC PARAMETERS-----");
840
841 config.set("ec", "brainpool384r1",
842 "-----BEGIN EC PARAMETERS-----"
843 "MIIBQAIBATA8BgcqhkjOPQEBAjEAjLkegqM4bSgPXW9+UOZB3xUvcQntVFa0ErHa"
844 "GX+3ESOs06cpkB0acYdHABMxB+xTMGQEMHvDgsY9jBUMPHIICs4Fr6DCvqKOT7In"
845 "hxORZe+6kfkPiqWBSlA61OsEqMfdIs4oJgQwBKjH3SLOKCaLObVUFvBEfC+3feEH"
846 "3NKmLogOpT7rYtV8tDkCldvJlDq3hpb6UEwRBGEEHRxk8GjPRf+ipjqBt8E/a4hH"
847 "o+d+8U/j23/K/gy9EOjoJuA0NtZGqu+HsuJH1K8eir4ddSD5wqRcseuOlc/VUmK3"
848 "Cyn+7Fhk4ZwFT/mRKSgORkYhd5GBEUKCA0EmPFMVAjEAjLkegqM4bSgPXW9+UOZB"
849 "3xUvcQntVFazHxZubKwEJafPOrava3/DEDuIMgLpBGVlAgEB"
850 "-----END EC PARAMETERS-----");
851
852 config.set("ec", "brainpool512r1",
853 "-----BEGIN EC PARAMETERS-----"
854 "MIIBogIBATBMBgcqhkjOPQEBAkEAqt2duNvpxIs/1OauM8n8B8swjbOzydIO1mOc"
855 "ynAzCHF9TZsAm8ZoQq7NoSrmo4DmKIH/Ly2CxoUoqmBWWDpI8zCBhARAeDCjMYtg"
856 "O4niMnFFrCNMxZTL3Y09+RYQqDRByuqYY7wt7V1aqCU6oQou8cmLmsi1fxEXpyvy"
857 "x7nnwaxNd/yUygRAPfkWEKg0QcrqmGO8Le1dWqglOqEKLvHJi5rItX8RF6cr8se5"
858 "58GsTXf8lMrcCD5nmEBQt1665d0oCb1jgBb3IwSBgQSBruS92C7ZZFohMi6cTGqT"
859 "he2fcLXZFsG0O2Lu9NAJjv87H3ji0NSNUNFoe5O5fV98bVBHQGpeaIs1Igm8ufgi"
860 "fd44XVZjMuzA6r+pz3gi/fIJ9wAkpXsaoADFW4gfgRGy3N5JSl9IXlvKS9iKJ2Ou"
861 "0corL6jwVAZ4zR4POtgIkgJBAKrdnbjb6cSLP9TmrjPJ/AfLMI2zs8nSDtZjnMpw"
862 "MwhwVT5cQUypJhlBhmEZf6wQRx2x04EIXdrdtYeWgpypAGkCAQE="
863 "-----END EC PARAMETERS-----");
864
865 config.set("ec", "x962_p192v2",
866 "-----BEGIN EC PARAMETERS-----"
867 "MIGwAgEBMCQGByqGSM49AQECGQD////////////////////+//////////8wNAQY"
868 "/////////////////////v/////////8BBjMItbfuVxrJeScDWNkpOWYDDk6ohZo"
869 "2VMEMQTuorrn4Ul4QvLed2nP6cmJwHKtaW9IA0pldNEdabbsemcruCoIPfLysIR9"
870 "6XCy3hUCGQD///////////////5fsack3IBBhkjY3TECAQE="
871 "-----END EC PARAMETERS-----");
872
873 config.set("ec", "x962_p192v3",
874 "-----BEGIN EC PARAMETERS-----"
875 "MIGwAgEBMCQGByqGSM49AQECGQD////////////////////+//////////8wNAQY"
876 "/////////////////////v/////////8BBgiEj3COVoFyqdCPa7MyUdgp9RiJWvV"
877 "aRYEMQR9KXeBAMZaHaF4NxZYjc4ri0rujiKPGJY4qQ8iY3M3M0tJ3LZqbcj5l4rK"
878 "dkipQ7ACGQD///////////////96YtAxyD9ClPZA7BMCAQE="
879 "-----END EC PARAMETERS-----");
880
881 config.set("ec", "x962_p239v1",
882 "-----BEGIN EC PARAMETERS-----"
883 "MIHSAgEBMCkGByqGSM49AQECHn///////////////3///////4AAAAAAAH//////"
884 "/zBABB5///////////////9///////+AAAAAAAB///////wEHmsBbDvc8YlB0NZU"
885 "khR1ynGp2y+yfR03eWGFwpQsCgQ9BA/6ljzcqIFszDO4ZCvt+QXD01hXPT8n+707"
886 "PLmqr33r6OTpCl2ubkBUylMLoEZUs2gYziJrOfzLewLxrgIef///////////////"
887 "f///nl6an12QcfvRUiaIkJ0LAgEB"
888 "-----END EC PARAMETERS-----");
889
890 config.set("ec", "x962_p239v2",
891 "-----BEGIN EC PARAMETERS-----"
892 "MIHSAgEBMCkGByqGSM49AQECHn///////////////3///////4AAAAAAAH//////"
893 "/zBABB5///////////////9///////+AAAAAAAB///////wEHmF/q2gyV2y7/tUN"
894 "mfAknD/uWLlLoAOMeuhMjIMvLAQ9BDivCdmHJ3BRIMkhu16eJilqPNzy81dXoOr9"
895 "h7gw51sBJeTb6g7HIG2g/AHZsIEyn7VV3m70YCN9/4vkugIef///////////////"
896 "gAAAz6foWUN31BTAOCG8WCBjAgEB"
897 "-----END EC PARAMETERS-----");
898
899 config.set("ec", "x962_p239v3",
900 "-----BEGIN EC PARAMETERS-----"
901 "MIHSAgEBMCkGByqGSM49AQECHn///////////////3///////4AAAAAAAH//////"
902 "/zBABB5///////////////9///////+AAAAAAAB///////wEHiVXBfoqMGZUsfTL"
903 "A9anUKMMJQEC1JiHF9m6FattPgQ9BGdoro4Yu5LPzwBclJqixtlIU9DmYLv4VLHJ"
904 "UF/pWhYH5omPOQwGvB1VK60ibztvz+SLboGEma8Y4+1s8wIef///////////////"
905 "f///l13rQbOmBXw8QyFGUmVRAgEB"
906 "-----END EC PARAMETERS-----");
907
908 config.set("ec", "gost_256A",
909 "-----BEGIN EC PARAMETERS-----"
910 "MIHgAgEBMCwGByqGSM49AQECIQD/////////////////////////////////////"
911 "///9lzBEBCD////////////////////////////////////////9lAQgAAAAAAAA"
912 "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKYEQQQAAAAAAAAAAAAAAAAAAAAAAAAA"
913 "AAAAAAAAAAAAAAAAAY2R5HHgmJzaJ99QWkU/K3Y1KU8t3yPjsSKsyZyenx4UAiEA"
914 "/////////////////////2xhEHCZWtEARYQbCbdhuJMCAQE="
915 "-----END EC PARAMETERS-----");
916 }
917 }
918
919 /*
920 * Set the default policy
921 */
922 void Library_State::load_default_config()
923 {
924 set_default_aliases(*this);
925 set_default_oids(*this);
926 set_default_dl_groups(*this);
927 }
928
929 }
Botan
Definition: algo_base.h:14
Botan::OIDS::add_oid
void add_oid(const OID &oid, const std::string &name)
Definition: oids.cpp:18