1 /*
2 * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
211 map.put("Alg.Alias.AlgorithmParameters.1.3.14.3.2.12", "DSA");
212
213 /*
214 * Key factories
215 */
216 map.put("KeyFactory.DSA", "sun.security.provider.DSAKeyFactory");
217 map.put("Alg.Alias.KeyFactory.OID.1.2.840.10040.4.1", "DSA");
218 map.put("Alg.Alias.KeyFactory.1.2.840.10040.4.1", "DSA");
219 map.put("Alg.Alias.KeyFactory.1.3.14.3.2.12", "DSA");
220
221 /*
222 * Certificates
223 */
224 map.put("CertificateFactory.X.509",
225 "sun.security.provider.X509Factory");
226 map.put("Alg.Alias.CertificateFactory.X509", "X.509");
227
228 /*
229 * KeyStore
230 */
231 map.put("KeyStore.JKS", "sun.security.provider.JavaKeyStore$JKS");
232 map.put("KeyStore.CaseExactJKS",
233 "sun.security.provider.JavaKeyStore$CaseExactJKS");
234 map.put("KeyStore.DKS", "sun.security.provider.DomainKeyStore$DKS");
235
236 /*
237 * Policy
238 */
239 map.put("Policy.JavaPolicy", "sun.security.provider.PolicySpiFile");
240
241 /*
242 * Configuration
243 */
244 map.put("Configuration.JavaLoginConfig",
245 "sun.security.provider.ConfigFile$Spi");
246
247 /*
248 * CertPathBuilder
249 */
250 map.put("CertPathBuilder.PKIX",
251 "sun.security.provider.certpath.SunCertPathBuilder");
|
1 /*
2 * Copyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
211 map.put("Alg.Alias.AlgorithmParameters.1.3.14.3.2.12", "DSA");
212
213 /*
214 * Key factories
215 */
216 map.put("KeyFactory.DSA", "sun.security.provider.DSAKeyFactory");
217 map.put("Alg.Alias.KeyFactory.OID.1.2.840.10040.4.1", "DSA");
218 map.put("Alg.Alias.KeyFactory.1.2.840.10040.4.1", "DSA");
219 map.put("Alg.Alias.KeyFactory.1.3.14.3.2.12", "DSA");
220
221 /*
222 * Certificates
223 */
224 map.put("CertificateFactory.X.509",
225 "sun.security.provider.X509Factory");
226 map.put("Alg.Alias.CertificateFactory.X509", "X.509");
227
228 /*
229 * KeyStore
230 */
231 map.put("KeyStore.JKS",
232 "sun.security.provider.JavaKeyStore$DualFormatJKS");
233 map.put("KeyStore.CaseExactJKS",
234 "sun.security.provider.JavaKeyStore$CaseExactJKS");
235 map.put("KeyStore.DKS", "sun.security.provider.DomainKeyStore$DKS");
236
237 /*
238 * Policy
239 */
240 map.put("Policy.JavaPolicy", "sun.security.provider.PolicySpiFile");
241
242 /*
243 * Configuration
244 */
245 map.put("Configuration.JavaLoginConfig",
246 "sun.security.provider.ConfigFile$Spi");
247
248 /*
249 * CertPathBuilder
250 */
251 map.put("CertPathBuilder.PKIX",
252 "sun.security.provider.certpath.SunCertPathBuilder");
|