equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2006, 2012, 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 |
302 + "and PKCS8EncodedKeySpec supported for EC private keys"); |
302 + "and PKCS8EncodedKeySpec supported for EC private keys"); |
303 } |
303 } |
304 } |
304 } |
305 |
305 |
306 KeyFactory implGetSoftwareFactory() throws GeneralSecurityException { |
306 KeyFactory implGetSoftwareFactory() throws GeneralSecurityException { |
307 return sun.security.ec.ECKeyFactory.INSTANCE; |
307 return KeyFactory.getInstance("EC", "SunEC"); |
308 } |
308 } |
309 |
309 |
310 } |
310 } |