jdk/src/share/classes/sun/security/pkcs11/P11ECKeyFactory.java
changeset 13661 7c894680910a
parent 10781 f8a00c400655
child 17491 7a33824ec8c5
equal deleted inserted replaced
13659:18f4e55bb34b 13661:7c894680910a
     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 }