Java in a Nutshell, 5th Edition [Electronic resources]

نسخه متنی -صفحه : 1191/ 636
نمايش فراداده

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 ); }

Thrown By

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( )}