jsdsi.sexp
Class KeyFactory

java.lang.Object
  extended byjava.security.KeyFactorySpi
      extended byjsdsi.sexp.KeyFactory

public class KeyFactory
extends java.security.KeyFactorySpi

Creates public keys from S-expressions.

Version:
$Revision: 1.1.6.1 $ $Date: 2005/11/08 03:12:52 $
Author:
Sameer Ajmani

Constructor Summary
KeyFactory()
           
 
Method Summary
protected  java.security.PrivateKey engineGeneratePrivate(java.security.spec.KeySpec spec)
           
protected  java.security.PublicKey engineGeneratePublic(java.security.spec.KeySpec spec)
           
protected  java.security.spec.KeySpec engineGetKeySpec(java.security.Key key, java.lang.Class spec)
           
protected  java.security.Key engineTranslateKey(java.security.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

engineGeneratePublic

protected java.security.PublicKey engineGeneratePublic(java.security.spec.KeySpec spec)
                                                throws java.security.spec.InvalidKeySpecException
Throws:
java.security.spec.InvalidKeySpecException

engineGeneratePrivate

protected java.security.PrivateKey engineGeneratePrivate(java.security.spec.KeySpec spec)
                                                  throws java.security.spec.InvalidKeySpecException
Throws:
java.security.spec.InvalidKeySpecException

engineGetKeySpec

protected java.security.spec.KeySpec engineGetKeySpec(java.security.Key key,
                                                      java.lang.Class spec)
                                               throws java.security.spec.InvalidKeySpecException
Throws:
java.security.spec.InvalidKeySpecException

engineTranslateKey

protected java.security.Key engineTranslateKey(java.security.Key key)
                                        throws java.security.InvalidKeyException
Throws:
java.security.InvalidKeyException


Copyright © 2002-2006 JSDSI. All Rights Reserved.