| java.lang.Object java.security.KeyFactorySpi sun.security.provider.DSAKeyFactory
DSAKeyFactory | public class DSAKeyFactory extends KeyFactorySpi (Code) | | This class implements the DSA key factory of the Sun provider.
author: Jan Luehe version: 1.13, 02/02/00 since: JDK1.2 |
engineGeneratePrivate | protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException(Code) | | Generates a private key object from the provided key specification
(key material).
Parameters: keySpec - the specification (key material) of the private key the private key exception: InvalidKeySpecException - if the given key specificationis inappropriate for this key factory to produce a private key. |
engineGeneratePublic | protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException(Code) | | Generates a public key object from the provided key specification
(key material).
Parameters: keySpec - the specification (key material) of the public key the public key exception: InvalidKeySpecException - if the given key specificationis inappropriate for this key factory to produce a public key. |
engineGetKeySpec | protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException(Code) | | Returns a specification (key material) of the given key object
in the requested format.
Parameters: key - the key Parameters: keySpec - the requested format in which the key material shall bereturned the underlying key specification (key material) in therequested format exception: InvalidKeySpecException - if the requested key specification isinappropriate for the given key, or the given key cannot be processed(e.g., the given key has an unrecognized algorithm or format). |
engineTranslateKey | protected Key engineTranslateKey(Key key) throws InvalidKeyException(Code) | | Translates a key object, whose provider may be unknown or potentially
untrusted, into a corresponding key object of this key factory.
Parameters: key - the key whose provider is unknown or untrusted the translated key exception: InvalidKeyException - if the given key cannot be processed bythis key factory. |
|
|