equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2009, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
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 |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
65 useFullImplementation = false; |
65 useFullImplementation = false; |
66 } |
66 } |
67 } |
67 } |
68 |
68 |
69 public SunEC() { |
69 public SunEC() { |
70 super("SunEC", 1.8d, "Sun Elliptic Curve provider (EC, ECDSA, ECDH)"); |
70 super("SunEC", 1.9d, "Sun Elliptic Curve provider (EC, ECDSA, ECDH)"); |
71 |
71 |
72 // if there is no security manager installed, put directly into |
72 // if there is no security manager installed, put directly into |
73 // the provider. Otherwise, create a temporary map and use a |
73 // the provider. Otherwise, create a temporary map and use a |
74 // doPrivileged() call at the end to transfer the contents |
74 // doPrivileged() call at the end to transfer the contents |
75 if (System.getSecurityManager() == null) { |
75 if (System.getSecurityManager() == null) { |