JavaTM 2 Platform
Std. Ed. v1.4.1

Uses of Class
java.security.GeneralSecurityException

Packages that use GeneralSecurityException
java.security Provides the classes and interfaces for the security framework. 
java.security.cert Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths. 
java.security.spec Provides classes and interfaces for key specifications and algorithm parameter specifications. 
javax.crypto Provides the classes and interfaces for cryptographic operations. 
javax.security.auth.login This package provides a pluggable authentication framework. 
 

Uses of GeneralSecurityException in java.security
 

Subclasses of GeneralSecurityException in java.security
 class DigestException
          This is the generic Message Digest exception.
 class InvalidAlgorithmParameterException
          This is the exception for invalid or inappropriate algorithm parameters.
 class InvalidKeyException
          This is the exception for invalid Keys (invalid encoding, wrong length, uninitialized, etc).
 class KeyException
          This is the basic key exception.
 class KeyManagementException
          This is the general key management exception for all operations dealing with key management.
 class KeyStoreException
          This is the generic KeyStore exception.
 class NoSuchAlgorithmException
          This exception is thrown when a particular cryptographic algorithm is requested but is not available in the environment.
 class NoSuchProviderException
          This exception is thrown when a particular security provider is requested but is not available in the environment.
 class SignatureException
          This is the generic Signature exception.
 class UnrecoverableKeyException
          This exception is thrown if a key in the keystore cannot be recovered.
 

Uses of GeneralSecurityException in java.security.cert
 

Subclasses of GeneralSecurityException in java.security.cert
 class CertificateEncodingException
          Certificate Encoding Exception.
 class CertificateException
          This exception indicates one of a variety of certificate problems.
 class CertificateExpiredException
          Certificate Expired Exception.
 class CertificateNotYetValidException
          Certificate is not yet valid exception.
 class CertificateParsingException
          Certificate Parsing Exception.
 class CertPathBuilderException
          An exception indicating one of a variety of problems encountered when building a certification path with a CertPathBuilder.
 class CertPathValidatorException
          An exception indicating one of a variety of problems encountered when validating a certification path.
 class CertStoreException
          An exception indicating one of a variety of problems retrieving certificates and CRLs from a CertStore.
 class CRLException
          CRL (Certificate Revocation List) Exception.
 

Uses of GeneralSecurityException in java.security.spec
 

Subclasses of GeneralSecurityException in java.security.spec
 class InvalidKeySpecException
          This is the exception for invalid key specifications.
 class InvalidParameterSpecException
          This is the exception for invalid parameter specifications.
 

Uses of GeneralSecurityException in javax.crypto
 

Subclasses of GeneralSecurityException in javax.crypto
 class BadPaddingException
          This exception is thrown when a particular padding mechanism is expected for the input data but the data is not padded properly.
 class ExemptionMechanismException
          This is the generic ExemptionMechanism exception.
 class IllegalBlockSizeException
          This exception is thrown when the length of data provided to a block cipher is incorrect, i.e., does not match the block size of the cipher.
 class NoSuchPaddingException
          This exception is thrown when a particular padding mechanism is requested but is not available in the environment.
 class ShortBufferException
          This exception is thrown when an output buffer provided by the user is too short to hold the operation result.
 

Uses of GeneralSecurityException in javax.security.auth.login
 

Subclasses of GeneralSecurityException in javax.security.auth.login
 class AccountExpiredException
          Signals that a user account has expired.
 class CredentialExpiredException
          Signals that a Credential has expired.
 class FailedLoginException
          Signals that user authentication failed.
 class LoginException
          This is the basic login exception.
 


JavaTM 2 Platform
Std. Ed. v1.4.1

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.