org.gudy.bouncycastle.jce.provider
Class JDKKeyFactory.EC

java.lang.Object
  extended by java.security.KeyFactorySpi
      extended by org.gudy.bouncycastle.jce.provider.JDKKeyFactory
          extended by org.gudy.bouncycastle.jce.provider.JDKKeyFactory.EC
Direct Known Subclasses:
JDKKeyFactory.ECDSA
Enclosing class:
JDKKeyFactory

public static class JDKKeyFactory.EC
extends JDKKeyFactory


Nested Class Summary
 
Nested classes/interfaces inherited from class org.gudy.bouncycastle.jce.provider.JDKKeyFactory
JDKKeyFactory.EC, JDKKeyFactory.ECDSA
 
Constructor Summary
JDKKeyFactory.EC()
           
JDKKeyFactory.EC(java.lang.String algorithm)
           
 
Method Summary
protected  java.security.PrivateKey engineGeneratePrivate(java.security.spec.KeySpec keySpec)
           
protected  java.security.PublicKey engineGeneratePublic(java.security.spec.KeySpec keySpec)
           
 
Methods inherited from class org.gudy.bouncycastle.jce.provider.JDKKeyFactory
engineGetKeySpec, engineTranslateKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDKKeyFactory.EC

public JDKKeyFactory.EC()
                 throws java.security.NoSuchAlgorithmException
Throws:
java.security.NoSuchAlgorithmException

JDKKeyFactory.EC

public JDKKeyFactory.EC(java.lang.String algorithm)
Method Detail

engineGeneratePrivate

protected java.security.PrivateKey engineGeneratePrivate(java.security.spec.KeySpec keySpec)
                                                  throws java.security.spec.InvalidKeySpecException
Specified by:
engineGeneratePrivate in class java.security.KeyFactorySpi
Throws:
java.security.spec.InvalidKeySpecException

engineGeneratePublic

protected java.security.PublicKey engineGeneratePublic(java.security.spec.KeySpec keySpec)
                                                throws java.security.spec.InvalidKeySpecException
Specified by:
engineGeneratePublic in class java.security.KeyFactorySpi
Throws:
java.security.spec.InvalidKeySpecException