March 2005
Intermediate to advanced
1254 pages
104h 21m
English
InvalidKeySpecException
Signals
a problem with a KeySpec.
Figure 14-94. java.security.spec.InvalidKeySpecException
public class InvalidKeySpecException extends java.security.GeneralSecurityException { // Public Constructors public InvalidKeySpecException( ); 5.0 public InvalidKeySpecException(Throwable cause); public InvalidKeySpecException(String msg); 5.0 public InvalidKeySpecException(String message, Throwable cause); }
java.security.KeyFactory.{generatePrivate( ),
generatePublic( ), getKeySpec(
)},
java.security.KeyFactorySpi.{engineGeneratePrivate(
), engineGeneratePublic( ),
engineGetKeySpec( )},
javax.crypto.EncryptedPrivateKeyInfo.getKeySpec(
), javax.crypto.SecretKeyFactory.{generateSecret(
), getKeySpec( )},
javax.crypto.SecretKeyFactorySpi.{engineGenerateSecret(
), engineGetKeySpec( )}