Package java.security

 A runtime exception for Provider exceptions (such as misconfiguration errors or unrecoverable internal errors), which may be subclassed by… API Doc
 This class extends ClassLoader with additional support for defining classes with an associated code source and permissions which are retrieved by… API Doc
 A parameter that contains a URI pointing to data intended for a PolicySpi or ConfigurationSpi implementation. API Doc
 An AccessControlContext is used to make system resource access decisions based on the context it encapsulates. More specifically, it encapsulates… API Doc
  This exception is thrown by the AccessController to indicate that a requested access (to a critical system resource such as the file system or… API Doc
 This class is used as an opaque representation of cryptographic parameters. An AlgorithmParameters object for managing the parameters for a… API Doc
 The AllPermission is a permission that implies all other permissions. Note: Granting AllPermission should be done with extreme care, as it… API Doc
 The BasicPermission class extends the Permission class, and can be used as the base class for permissions that want to follow the same naming… API Doc
 This class encapsulates information about a code signer. It is immutable. API Doc
 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… API Doc
 A transparent stream that updates the associated message digest using the bits going through the stream. To complete the message digest… API Doc
 A GuardedObject is an object that is used to protect access to another object. A GuardedObject encapsulates a target object and a Guard object, … API Doc
  This class is deprecated. This class is no longer used. Its functionality has been replaced by java.security.KeyStore, the … API Doc
  This class is deprecated. This class is no longer used. Its functionality has been replaced by java.security.KeyStore, the … API Doc
 Standardized representation for serialized Key objects. Note that a serialized Key may contain sensitive information which should not be… API Doc
 A marker interface for KeyStore load and store parameters. API Doc
 Abstract class for representing access to a system resource. All permissions have a name (whose interpretation depends on the subclass), as well… API Doc
 Abstract class representing a collection of Permission objects. With a PermissionCollection, you can: add a permission to the collection using… API Doc
 A Policy object is responsible for determining whether code executing in the Java runtime environment has permission to perform a … API Doc
 A computation to be performed with privileges enabled. The computation is performed by invoking AccessController.doPrivileged on the … API Doc
 A computation to be performed with privileges enabled, that throws one or more checked exceptions. The computation is performed by invoking … API Doc
  This ProtectionDomain class encapsulates the characteristics of a domain, which encloses a set of classes whose instances are granted a set of… API Doc
 The description of a security service. It encapsulates the properties of a service and contains a factory method to obtain new implementation … API Doc
 This class is for security permissions. A SecurityPermission contains a name (also referred to as a "target name") but no actions list; you either… API Doc
  SignedObject is a class for the purpose of creating authentic runtime objects whose integrity cannot be compromised without being detected. … API Doc
 This class encapsulates information about a signed timestamp. It is immutable. It includes the timestamp's date and time as well as information… API Doc
 The UnresolvedPermission class is used to hold Permissions that were "unresolved" when the Policy was initialized. An unresolved permission is one… API Doc
 This is the generic Message Digest exception. API Doc
 This exception is thrown when a particular security provider is requested but is not available in the environment. API Doc
 This exception is thrown by doPrivileged(PrivilegedExceptionAction) and doPrivileged(PrivilegedExceptionAction, AccessControlContext context) to… API Doc
 This is the generic Signature exception. API Doc
 This exception is thrown if an entry in the keystore cannot be recovered. API Doc
 This is the basic key exception. API Doc
 A transparent stream that updates the associated message digest using the bits going through the stream. To complete the message digest… API Doc
 The GeneralSecurityException class is a generic security exception class that provides type safety for all the security-related exception classes… API Doc
 This is the exception for invalid or inappropriate algorithm parameters. API Doc
 This is the exception for invalid Keys (invalid encoding, wrong length, uninitialized, etc). API Doc
 This exception, designed for use by the JCA/JCE engine classes, is thrown when an invalid parameter is passed to a method. API Doc
 The Key interface is the top-level interface for all keys. It defines the functionality shared by all key objects. All keys have three… API Doc
 Key factories are used to convert keys (opaque cryptographic keys of type Key) into key specifications (transparent representations of the… API Doc
 This is the general key management exception for all operations dealing with key management. Examples of subclasses of KeyManagementException that… API Doc
 This class is a simple holder for a key pair (a public key and a private key). It does not enforce any security, and, when initialized, should be… API Doc
 The KeyPairGenerator class is used to generate pairs of public and private keys. Key pair generators are constructed using the getInstance factory… API Doc
 A KeyStore entry that holds a PrivateKey and corresponding certificate chain. API Doc
 A KeyStore entry that holds a SecretKey. API Doc
 This class represents a storage facility for cryptographic keys and certificates. A KeyStore manages different types of entries. Each type of… API Doc
 This is the generic KeyStore exception. API Doc
 This MessageDigest class provides applications the functionality of a message digest algorithm, such as SHA-1 or SHA-256. Message digests are… API Doc
 This exception is thrown when a particular cryptographic algorithm is requested but is not available in the environment. API Doc
 This class represents a heterogeneous collection of Permissions. That is, it contains different types of Permission objects, organized into … API Doc
 This interface represents the abstract notion of a principal, which can be used to represent any entity, such as an individual, a corporation, and… API Doc
 A private key. The purpose of this interface is to group (and provide type safety for) all private key interfaces. Note: The specialized… API Doc
 This class represents a "provider" for the Java Security API, where a provider implements some or all parts of Java Security. Services that a… API Doc
 A public key. This interface contains no methods or constants. It merely serves to group (and provide type safety for) all public key … API Doc
 This class provides a cryptographically strong random number generator (RNG). A cryptographically strong random number minimally complies with… API Doc
 The Signature class is used to provide applications the functionality of a digital signature algorithm. Digital signatures are used for … API Doc
 This exception is thrown if a key in the keystore cannot be recovered. API Doc
 A password-based implementation of ProtectionParameter. API Doc