Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Package java.security

Interface Summary
Certificate

This is an interface of abstract methods for managing a variety of identity certificates. A new certificate handling package is created in JDK1.2. This Certificate interface is entirely deprecated and is here to allow for a smooth transition to the new package.

Guard

This interface represents a guard.

Key The Key interface is the top-level interface for all keys.
Principal This interface represents a principal.
PrivateKey

A private key.

PublicKey

A public key.

 

Class Summary
AccessControlContext An AccessControlContext is used to make system resource access decisions based on the context it encapsulates.
AccessController

The AccessController class is used for three purposes, each of which is described in further detail below:

  • to decide whether an access to a critical system resource is to be allowed or denied, based on the security policy currently in effect,

  • to mark code as being "privileged", thus affecting subsequent access determinations, and

  • to obtain a "snapshot" of the current calling context so access-control decisions from a different context can be made with respect to the saved context.
AlgorithmParameterGenerator The AlgorithmParameterGenerator class is used to generate a set of parameters to be used with a certain algorithm.
AlgorithmParameterGeneratorSpi 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.
AlgorithmParameters This class is used as an opaque representation of cryptographic parameters.
AlgorithmParametersSpi This class defines the Service Provider Interface (SPI) for the AlgorithmParameters class, which is used to manage algorithm parameters.
AllPermission The AllPermission is a permission that implies all other permissions.
BasicPermission The BasicPermission class extends the Permission class.
CodeSource

This class extends the concept of a codebase to encapsulate not only the location (URL) but also the public key(s) that should be used to verify signed code originating from that location.

DigestInputStream A transparent stream that updates the associated message digest using the bits going through the stream.
DigestOutputStream A transparent stream that updates the associated message digest using the bits going through the stream.
GuardedObject A GuardedObject is an object that is used to protect access to another object.
Identity

This class represents identities: real-world objects such as people, companies or organizations whose identities can be authenticated using their public keys.

IdentityScope

This class represents a scope for identities.

KeyFactory 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 This class defines the Service Provider Interface (SPI) for the KeyFactory class.
KeyPair

This class is a simple holder for a key pair (a public key and a private key).

KeyPairGenerator The KeyPairGenerator class is used to generate pairs of public and private keys.
KeyPairGeneratorSpi

This class defines the Service Provider Interface (SPI) for the KeyPairGenerator class, which is used to generate pairs of public and private keys.

KeyStore This abstract class represents an in-memory collection of private keys and associated certificate chains, for use in self-authentication.
MessageDigest This MessageDigest class provides applications the functionality of a message digest algorithm, such as MD5 or SHA.
MessageDigestSpi 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.
Permission Abstract class for representing access to a system resource.
PermissionCollection Abstract class representing a collection of Permission objects.
Permissions This class represents a heterogeneous collection of Permissions.
Policy The policy for a Java runtime (specifying which permissions are available for code from various principals) is represented by a Policy object.
ProtectionDomain

This ProtectionDomain class encapulates the characteristics of a domain, which encloses a set of classes whose instances are granted the same set of permissions.

Provider This class represents a "provider" for the Java Security API.
SecureClassLoader This class extends ClassLoader with additional support for defining classes with an associated code source and set of signers.
SecureRandom

This class provides a crytpographically strong pseudo-random number generator based on the SHA-1 hash algorithm.

Security

This class centralizes all security properties and common security methods.

SecurityPermission This class is for security permissions.
Signature This Signature class is used to provide applications the functionality of a digital signature algorithm.
SignatureSpi This class defines the Service Provider Interface (SPI) for the Signature class, which is used to provide the functionality of a digital signature algorithm.
SignedObject

SignedObject is a class for the purpose of creating authentic runtime objects whose integrity cannot be compromised without being detected.

Signer This class is used to represent an Identity that can also digitally sign data.
UnresolvedPermission The UnresolvedPermission class is used to hold Permissions that were "unresolved" when the Policy was initialized.
 

Exception Summary
AccessControlException

This exception is thrown by the AccessController to indicate that a requested access (to a critical system resource such as the file system or the network) is denied.

DigestException This is the generic Message Digest exception.
GeneralSecurityException This is the general security exception class, which serves to group all the exception classes of the java.security package that extend from it.
InvalidAlgorithmParameterException This is the exception for invalid or inappropriate algorithm parameters.
InvalidKeyException This is the exception for invalid Keys (invalid encoding, wrong length, uninitialized, etc).
InvalidParameterException This exception is thrown when an invalid parameter is passed to a method.
KeyException This is the basic key exception.
KeyManagementException This is the general key management exception, for all operations dealing with key management.
KeyStoreException This is the generic KeyStore exception.
NoSuchAlgorithmException This exception is thrown when a particular cryptographic algorithm is requested but is not available in the environment.
NoSuchProviderException This exception is thrown when a particular security provider is requested but is not available in the environment.
ProviderException A runtime exception for Provider exceptions (such as misconfiguration errors), which may be subclassed by Providers to throw specialized, provider-specific runtime errors.
SignatureException This is the generic Signature exception.
UnrecoverableKeyException This exception is thrown if a key in the key store cannot be recovered.
 


Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Submit a bug or feature
Submit comments/suggestions about new javadoc look.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.