|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.security.KeyFactorySpi
com.ibm.crypto.provider.DSAKeyFactory
public class DSAKeyFactory
This class is a concrete implementaion of key factory for DSA.
| Constructor Summary | |
|---|---|
DSAKeyFactory()
Constructs a new instance of this class. |
|
| Method Summary | |
|---|---|
protected PrivateKey |
engineGeneratePrivate(KeySpec keySpec)
Generates a private key for the given key specification. |
protected PublicKey |
engineGeneratePublic(KeySpec keySpec)
Generates a public key for the given key specification. |
protected KeySpec |
engineGetKeySpec(Key key,
Class keySpec)
Answers a key specification for a given key. |
protected Key |
engineTranslateKey(Key key)
Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this key factory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DSAKeyFactory()
| Method Detail |
|---|
protected PrivateKey engineGeneratePrivate(KeySpec keySpec)
throws InvalidKeySpecException
engineGeneratePrivate in class KeyFactorySpikeySpec - KeySpec the key specification to be used for key generation.
InvalidKeySpecException - if the provided key specification is not appropriate
protected PublicKey engineGeneratePublic(KeySpec keySpec)
throws InvalidKeySpecException
engineGeneratePublic in class KeyFactorySpikeySpec - KeySpec the key specification to be used for key generation.
InvalidKeySpecException - if the provided key specification is not appropriate
protected KeySpec engineGetKeySpec(Key key,
Class keySpec)
throws InvalidKeySpecException
engineGetKeySpec in class KeyFactorySpikey - Key the key for which the specification is to be computed.keySpec - Class the class of the result specification
keySpec.
InvalidKeySpecException - if the provided key specification is not appropriate
protected Key engineTranslateKey(Key key)
throws InvalidKeyException
engineTranslateKey in class KeyFactorySpikey - the key whose provider is unknown or untrusted
InvalidKeyException - if the given key cannot be processed by
this key factory.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||