net.i2p.crypto.eddsa
Class KeyFactory

java.lang.Object
  extended by java.security.KeyFactorySpi
      extended by net.i2p.crypto.eddsa.KeyFactory

public class KeyFactory
extends KeyFactorySpi

Since:
0.9.15
Author:
str4d

Constructor Summary
KeyFactory()
           
 
Method Summary
protected  PrivateKey engineGeneratePrivate(KeySpec keySpec)
           
protected  PublicKey engineGeneratePublic(KeySpec keySpec)
           
protected
<T extends KeySpec>
T
engineGetKeySpec(Key key, Class<T> keySpec)
           
protected  Key engineTranslateKey(Key key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyFactory

public KeyFactory()
Method Detail

engineGeneratePrivate

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

engineGeneratePublic

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

engineGetKeySpec

protected <T extends KeySpec> T engineGetKeySpec(Key key,
                                                 Class<T> keySpec)
                                      throws InvalidKeySpecException
Specified by:
engineGetKeySpec in class KeyFactorySpi
Throws:
InvalidKeySpecException

engineTranslateKey

protected Key engineTranslateKey(Key key)
                          throws InvalidKeyException
Specified by:
engineTranslateKey in class KeyFactorySpi
Throws:
InvalidKeyException