Save This Page
Home » openjdk-7 » com.sun.crypto » provider » [javadoc | source]
com.sun.crypto.provider
public final class: DHKeyFactory [javadoc | source]
java.lang.Object
   java.security.KeyFactorySpi
      com.sun.crypto.provider.DHKeyFactory
This class implements the Diffie-Hellman key factory of the Sun provider.
Constructor:
 public DHKeyFactory() 
Method from com.sun.crypto.provider.DHKeyFactory Summary:
engineGeneratePrivate,   engineGeneratePublic,   engineGetKeySpec,   engineTranslateKey
Methods from java.security.KeyFactorySpi:
engineGeneratePrivate,   engineGeneratePublic,   engineGetKeySpec,   engineTranslateKey
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.crypto.provider.DHKeyFactory Detail:
 protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException 
    Generates a private key object from the provided key specification (key material).
 protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException 
    Generates a public key object from the provided key specification (key material).
 protected KeySpec engineGetKeySpec(Key key,
    Class keySpec) throws InvalidKeySpecException 
    Returns a specification (key material) of the given key object in the requested format.
 protected Key engineTranslateKey(Key key) throws InvalidKeyException 
    Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this key factory.