Package | Description |
---|---|
java.security |
Provides the classes and interfaces for the security framework.
|
java.security.spec |
Provides classes and interfaces for key specifications and algorithm parameter
specifications.
|
javax.crypto |
Provides the classes and interfaces for cryptographic operations.
|
Modifier and Type | Class and Description |
---|---|
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 |
NoSuchAlgorithmException
This exception is thrown when a particular cryptographic algorithm is
requested but is not available in the environment.
|
class |
SignatureException
This is the generic Signature exception.
|
Modifier and Type | Class and Description |
---|---|
class |
InvalidKeySpecException
This is the exception for invalid key specifications.
|
Modifier and Type | Class and Description |
---|---|
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 |
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.
|
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.