Home » openjdk-7 » java » security »

java.security

Sub Packages:

java.security.acl   The classes and interfaces in this package have been superseded by classes in the java.security package.  
java.security.cert   Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths.  
java.security.interfaces   Provides interfaces for generating RSA (Rivest, Shamir and Adleman AsymmetricCipher algorithm) keys as defined in the RSA Laboratory Technical Note PKCS#1, and DSA (Digital Signature Algorithm) keys as defined in NIST's FIPS-186.  
java.security.spec   Provides classes and interfaces for key specifications and algorithm parameter specifications.  

Interfaces:

AlgorithmConstraints   This interface specifies constraints for cryptographic algorithms, keys (key sizes), and other algorithm parameters.  code | html
Certificate  

This is an interface of abstract methods for managing a variety of identity certificates. 

code | html
DomainCombiner   A DomainCombiner provides a means to dynamically update the ProtectionDomains associated with the current AccessControlContext code | html
Guard  

This interface represents a guard, which is an object that is used to protect access to another object. 

code | html
Key   The Key interface is the top-level interface for all keys.  code | html
KeyStore.Entry   A marker interface for KeyStore entry types.  code | html
KeyStore.LoadStoreParameter   A marker interface for KeyStore load and store parameters.  code | html
KeyStore.ProtectionParameter   A marker interface for keystore protection parameters.  code | html
Policy.Parameters   This represents a marker interface for Policy parameters.  code | html
Principal   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.  code | html
PrivateKey  

A private key. 

code | html
PrivilegedAction   A computation to be performed with privileges enabled.  code | html
PrivilegedExceptionAction   A computation to be performed with privileges enabled, that throws one or more checked exceptions.  code | html
PublicKey  

A public key. 

code | html

Abstract Classes:

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.  code | html
AlgorithmParametersSpi   This class defines the Service Provider Interface (SPI) for the AlgorithmParameters class, which is used to manage algorithm parameters.  code | html
AuthProvider   This class defines login and logout methods for a provider.  code | html
BasicPermission   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.  code | html
Identity  

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

code | html
IdentityScope  

This class represents a scope for identities. 

code | html
KeyFactorySpi   This class defines the Service Provider Interface (SPI) for the KeyFactory class.  code | html
KeyPairGenerator   The KeyPairGenerator class is used to generate pairs of public and private keys.  code | html
KeyPairGeneratorSpi  

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

code | html
KeyStore.Builder   A description of a to-be-instantiated KeyStore object.  code | html
KeyStoreSpi   This class defines the Service Provider Interface (SPI) for the KeyStore class.  code | html
MessageDigest   This MessageDigest class provides applications the functionality of a message digest algorithm, such as SHA-1 or SHA-256.  code | html
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.  code | html
Permission   Abstract class for representing access to a system resource.  code | html
PermissionCollection   Abstract class representing a collection of Permission objects.  code | html
Policy   A Policy object is responsible for determining whether code executing in the Java runtime environment has permission to perform a security-sensitive operation.  code | html
PolicySpi   This class defines the Service Provider Interface (SPI) for the Policy class.  code | html
Provider   This class represents a "provider" for the Java Security API, where a provider implements some or all parts of Java Security.  code | html
SecureRandomSpi   This class defines the Service Provider Interface (SPI) for the SecureRandom class.  code | html
Signature   The Signature class is used to provide applications the functionality of a digital signature algorithm.  code | html
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.  code | html
Signer   This class is used to represent an Identity that can also digitally sign data.  code | html

Classes:

CryptoPrimitive   An enumeration of cryptographic primitives.  code | html
KeyRep.Type   Key type.  code | html
AccessControlContext   An AccessControlContext is used to make system resource access decisions based on the context it encapsulates.  code | html
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. 

code | html
AccessController  

The AccessController class is used for access control operations and decisions. 

code | html
AlgorithmParameterGenerator   The AlgorithmParameterGenerator class is used to generate a set of parameters to be used with a certain algorithm.  code | html
AlgorithmParameters   This class is used as an opaque representation of cryptographic parameters.  code | html
AllPermission   The AllPermission is a permission that implies all other permissions.  code | html
AllPermissionCollection   Specific {@code PermissionCollection} for storing {@code AllPermission}s.  code | html
AllPermissionCollection   A AllPermissionCollection stores a collection of AllPermission permissions.  code | html
AllPermissionCollection.SingletonEnumeration   An auxiliary implementation for enumerating a single object.  code | html
BasicPermissionCollection   A BasicPermissionCollection stores a collection of BasicPermission permissions.  code | html
BasicPermissionCollection   Specific {@code PermissionCollection} for storing {@code BasicPermissions} of arbitrary type.  code | html
CodeSigner   This class encapsulates information about a code signer.  code | html
CodeSource  

This class extends the concept of a codebase to encapsulate not only the location (URL) but also the certificate chains that were used to verify signed code originating from that location. 

code | html
DigestException   This is the generic Message Digest exception.  code | html
DigestInputStream   A transparent stream that updates the associated message digest using the bits going through the stream.  code | html
DigestOutputStream   A transparent stream that updates the associated message digest using the bits going through the stream.  code | html
DummyKeyPairGenerator     code | html
DummyMessageDigest     code | html
DummySignature     code | html
GeneralSecurityException   The GeneralSecurityException class is a generic security exception class that provides type safety for all the security-related exception classes that extend from it.  code | html
GuardedObject   A GuardedObject is an object that is used to protect access to another object.  code | html
IntersectingDomainCombiner   A trivial implementation of DomainCombiner that produces the intersection of the supplied ProtectionDomain objects.  code | html
InvalidAlgorithmParameterException   This is the exception for invalid or inappropriate algorithm parameters.  code | html
InvalidKeyException   This is the exception for invalid Keys (invalid encoding, wrong length, uninitialized, etc).  code | html
InvalidParameterException   This exception, designed for use by the JCA/JCE engine classes, is thrown when an invalid parameter is passed to a method.  code | html
KeyException   This is the basic key exception.  code | html
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.  code | html
KeyManagementException   This is the general key management exception for all operations dealing with key management.  code | html
KeyPair   This class is a simple holder for a key pair (a public key and a private key).  code | html
KeyPairGenerator.Delegate     code | html
KeyRep   Standardized representation for serialized Key objects.  code | html
KeyStore   This class represents a storage facility for cryptographic keys and certificates.  code | html
KeyStore.Builder.FileBuilder     code | html
KeyStore.CallbackHandlerProtection   A ProtectionParameter encapsulating a CallbackHandler.  code | html
KeyStore.PasswordProtection   A password-based implementation of ProtectionParameter code | html
KeyStore.PrivateKeyEntry   A KeyStore entry that holds a PrivateKey and corresponding certificate chain.  code | html
KeyStore.SecretKeyEntry   A KeyStore entry that holds a SecretKey code | html
KeyStore.SimpleLoadStoreParameter     code | html
KeyStore.TrustedCertificateEntry   A KeyStore entry that holds a trusted Certificate code | html
KeyStoreException   This is the generic KeyStore exception.  code | html
MessageDigest.Delegate     code | html
NoSuchAlgorithmException   This exception is thrown when a particular cryptographic algorithm is requested but is not available in the environment.  code | html
NoSuchProviderException   This exception is thrown when a particular security provider is requested but is not available in the environment.  code | html
Permissions   This class represents a heterogeneous collection of Permissions.  code | html
PermissionsEnumerator     code | html
PermissionsHash   A PermissionsHash stores a homogeneous set of permissions in a hashtable.  code | html
PermissionsHash   A default {@code PermissionCollection} implementation that uses a hashtable.  code | html
Policy.PolicyDelegate   This subclass is returned by the getInstance calls.  code | html
Policy.UnsupportedEmptyCollection   This class represents a read-only empty PermissionCollection object that is returned from the getPermissions(CodeSource) and getPermissions(ProtectionDomain) methods in the Policy class when those operations are not supported by the Policy implementation.  code | html
PrivilegedActionException   This exception is thrown by doPrivileged(PrivilegedExceptionAction) and doPrivileged(PrivilegedExceptionAction, AccessControlContext context) to indicate that the action being performed threw a checked exception.  code | html
ProtectionDomain  

This ProtectionDomain class encapsulates the characteristics of a domain, which encloses a set of classes whose instances are granted a set of permissions when being executed on behalf of a given set of Principals. 

code | html
ProtectionDomain.Key   Used for storing ProtectionDomains as keys in a Map.  code | html
Provider.EngineDescription     code | html
Provider.Service   The description of a security service.  code | html
Provider.ServiceKey     code | html
Provider.UString     code | html
ProviderException   A runtime exception for Provider exceptions (such as misconfiguration errors or unrecoverable internal errors), which may be subclassed by Providers to throw specialized, provider-specific runtime errors.  code | html
SecureClassLoader   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.  code | html
SecureRandom   This class provides a cryptographically strong random number generator (RNG).  code | html
Security  

This class centralizes all security properties and common security methods. 

code | html
Security.ProviderProperty     code | html
SecurityPermission   This class is for security permissions.  code | html
Signature.CipherAdapter     code | html
Signature.Delegate     code | html
SignatureException   This is the generic Signature exception.  code | html
SignedObject  

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

code | html
Timestamp   This class encapsulates information about a signed timestamp.  code | html
URIParameter   A parameter that contains a URI pointing to data intended for a PolicySpi or ConfigurationSpi implementation.  code | html
UnrecoverableEntryException   This exception is thrown if an entry in the keystore cannot be recovered.  code | html
UnrecoverableKeyException   This exception is thrown if a key in the keystore cannot be recovered.  code | html
UnresolvedPermission   The UnresolvedPermission class is used to hold Permissions that were "unresolved" when the Policy was initialized.  code | html
UnresolvedPermissionCollection   A UnresolvedPermissionCollection stores a collection of UnresolvedPermission permissions.  code | html
VMAccessController     code | html
VMSecureRandom   VM-specific methods for generating real (or almost real) random seeds.  code | html
VMSecureRandom.Spinner     code | html