Package java.security
Interface Summary
Key
Untamed: The Key interface is the top-level interface for all keys.
Principal
Untamed: This interface represents the abstract notion of a principal, which
can be used to represent any entity, such as an individual, a
corporation, and a login id.
PrivilegedExceptionAction
Untamed: A computation to be performed with privileges enabled, that throws one or
more checked exceptions.
Class Summary
AlgorithmParameterGenerator
Untamed: The
AlgorithmParameterGenerator class is used to generate a
set of
parameters to be used with a certain algorithm.
AlgorithmParameterGeneratorSpi
Untamed: This class defines the
Service Provider Interface (
SPI)
for the
AlgorithmParameterGenerator class, which
is used to generate a set of parameters to be used with a certain algorithm.
BasicPermission
Untamed: The BasicPermission class extends the Permission class, and
can be used as the base class for permissions that want to
follow the same naming convention as BasicPermission.
DigestInputStream
Untamed: A transparent stream that updates the associated message digest using
the bits going through the stream.
DigestOutputStream
Untamed: A transparent stream that updates the associated message digest using
the bits going through the stream.
GuardedObject
Untamed: A GuardedObject is an object that is used to protect access to
another object.
Identity
Deprecated. This class is no longer used.
KeyFactory
Safe: Key factories are used to convert
keys (opaque
cryptographic keys of type
Key) into
key specifications
(transparent representations of the underlying key material), and vice
versa.
KeyFactorySpi
Untamed: This class defines the
Service Provider Interface (
SPI)
for the
KeyFactory class.
KeyPairGenerator
Untamed: The KeyPairGenerator class is used to generate pairs of
public and private keys.
KeyStore
Untamed: This class represents an in-memory collection of keys and certificates.
KeyStoreSpi
Untamed: This class defines the
Service Provider Interface (
SPI)
for the
KeyStore class.
MessageDigestSpi
Untamed: This class defines the
Service Provider Interface (
SPI)
for the
MessageDigest class, which provides the functionality
of a message digest algorithm, such as MD5 or SHA.
Permissions
Untamed:
This class represents a heterogeneous collection of Permissions.
PermissionsHash
A PermissionsHash stores a homogeneous set of permissions in a hashtable.
Policy
Untamed: This is an abstract class for representing the system security
policy for a Java application environment (specifying
which permissions are available for code from various sources).
SecureClassLoader
Untamed:
This class extends ClassLoader with additional support for defining
classes with an associated code source and permissions which are
retrieved by the system policy by default.
SignatureSpi
Untamed: This class defines the
Service Provider Interface (
SPI)
for the
Signature class, which is used to provide the
functionality of a digital signature algorithm.
Signer
Deprecated. This class is no longer used.
UnresolvedPermission
Untamed: The UnresolvedPermission class is used to hold Permissions that
were "unresolved" when the Policy was initialized.
Exception Summary
GeneralSecurityException
Untamed: This is the general security exception class, which serves to group all
the exception classes of the
java.security package that
extend from it.
InvalidKeyException
Untamed: This is the exception for invalid Keys (invalid encoding, wrong
length, uninitialized, etc).
InvalidParameterException
Untamed: This exception, designed for use by the JCA/JCE engine classes,
is thrown when an invalid parameter is passed
to a method.
KeyManagementException
Untamed: This is the general key management exception for all operations
dealing with key management.
NoSuchAlgorithmException
Untamed: This exception is thrown when a particular cryptographic algorithm is
requested but is not available in the environment.
NoSuchProviderException
Untamed: This exception is thrown when a particular security provider is
requested but is not available in the environment.
PrivilegedActionException
Untamed: This exception is thrown by
doPrivileged(PrivilegedExceptionAction) and
doPrivileged(PrivilegedExceptionAction,
AccessControlContext context) to indicate
that the action being performed threw a checked exception.
ProviderException
Untamed: A runtime exception for Provider exceptions (such as
misconfiguration errors), which may be subclassed by Providers to
throw specialized, provider-specific runtime errors.