J2ME Foundation

Uses of Class
java.security.spec.InvalidKeySpecException

Packages that use InvalidKeySpecException
java.security Provides the classes and interfaces for the security framework. 
 

Uses of InvalidKeySpecException in java.security
 

Methods in java.security that throw InvalidKeySpecException
 PublicKey KeyFactory.generatePublic(KeySpec keySpec)
          Generates a public key object from the provided key specification (key material).
 PrivateKey KeyFactory.generatePrivate(KeySpec keySpec)
          Generates a private key object from the provided key specification (key material).
 KeySpec KeyFactory.getKeySpec(Key key, Class keySpec)
          Returns a specification (key material) of the given key object.
protected abstract  PublicKey KeyFactorySpi.engineGeneratePublic(KeySpec keySpec)
          Generates a public key object from the provided key specification (key material).
protected abstract  PrivateKey KeyFactorySpi.engineGeneratePrivate(KeySpec keySpec)
          Generates a private key object from the provided key specification (key material).
protected abstract  KeySpec KeyFactorySpi.engineGetKeySpec(Key key, Class keySpec)
          Returns a specification (key material) of the given key object.
 


J2ME Foundation

Java is a trademark or registred trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo, Alto, California, 94303, U.S.A All Rights Reserved. < /font >