jsdsi.sexp
Class KeyFactory
java.lang.Object
|
+--java.security.KeyFactorySpi
|
+--jsdsi.sexp.KeyFactory
- public class KeyFactory
- extends java.security.KeyFactorySpi
Creates public keys from S-expressions.
- Author:
- Sameer Ajmani
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyFactory
public KeyFactory()
engineGeneratePublic
protected java.security.PublicKey engineGeneratePublic(java.security.spec.KeySpec spec)
throws java.security.spec.InvalidKeySpecException
- Specified by:
engineGeneratePublic
in class java.security.KeyFactorySpi
java.security.spec.InvalidKeySpecException
engineGeneratePrivate
protected java.security.PrivateKey engineGeneratePrivate(java.security.spec.KeySpec spec)
throws java.security.spec.InvalidKeySpecException
- Specified by:
engineGeneratePrivate
in class java.security.KeyFactorySpi
java.security.spec.InvalidKeySpecException
engineGetKeySpec
protected java.security.spec.KeySpec engineGetKeySpec(java.security.Key key,
java.lang.Class spec)
throws java.security.spec.InvalidKeySpecException
- Specified by:
engineGetKeySpec
in class java.security.KeyFactorySpi
java.security.spec.InvalidKeySpecException
engineTranslateKey
protected java.security.Key engineTranslateKey(java.security.Key key)
throws java.security.InvalidKeyException
- Specified by:
engineTranslateKey
in class java.security.KeyFactorySpi
java.security.InvalidKeyException