java.security - JRE Emulation | JRE Emulation
package

java.security

Extensible cryptographic service provider infrastructure (SPI) for using and defining services such as Certificates, Keys, KeyStores, MessageDigests, and Signatures.

Interfaces

DomainCombiner Legacy security code; do not use. 
Guard Guard implementors protect access to other objects. 
Key Key is the common interface for all keys. 
KeyStore.Entry Entry is the common marker interface for a KeyStore entry. 
KeyStore.LoadStoreParameter LoadStoreParameter represents a parameter that specifies how a KeyStore can be loaded and stored. 
KeyStore.ProtectionParameter ProtectionParameter is a marker interface for protection parameters. 
Policy.Parameters Legacy security code; do not use. 
Principal Principals are objects which have identities. 
PrivateKey PrivateKey is the common interface for private keys. 
PrivilegedAction<T> Legacy security code; do not use. 
PrivilegedExceptionAction<T> Legacy security code; do not use. 
PublicKey PublicKey is the common interface for public keys. 

Classes

AccessControlContext Legacy security code; do not use. 
AccessController Legacy security code; do not use. 
AlgorithmParameterGenerator AlgorithmParameterGenerator is an engine class which is capable of generating parameters for the algorithm it was initialized with. 
AlgorithmParameterGeneratorSpi AlgorithmParameterGeneratorSpi is the Service Provider Interface (SPI) definition for AlgorithmParameterGenerator
AlgorithmParameters AlgorithmParameters is an engine class which provides algorithm parameters. 
AlgorithmParametersSpi AlgorithmParametersSpi is the Service Provider Interface (SPI) definition for AlgorithmParameters
AllPermission Legacy security code; do not use. 
BasicPermission Legacy security code; do not use. 
CodeSigner CodeSigner represents a signer of code. 
CodeSource Legacy security code; do not use. 
GuardedObject GuardedObject controls access to an object, by checking all requests for the object with a Guard
KeyFactory KeyFactory is an engine class that can be used to translate between public and private key objects and convert keys between their external representation, that can be easily transported and their internal representation. 
KeyFactorySpi KeyFactorySpi is the Service Provider Interface (SPI) definition for KeyFactory
KeyPair KeyPair is a container for a public key and a private key. 
KeyPairGenerator KeyPairGenerator is an engine class which is capable of generating a private key and its related public key utilizing the algorithm it was initialized with. 
KeyPairGeneratorSpi KeyPairGeneratorSpi is the Service Provider Interface (SPI) definition for KeyPairGenerator
KeyStore KeyStore is responsible for maintaining cryptographic keys and their owners. 
KeyStore.Builder Builder is used to construct new instances of KeyStore
KeyStore.CallbackHandlerProtection CallbackHandlerProtection is a ProtectionParameter that encapsulates a CallbackHandler
KeyStore.PasswordProtection PasswordProtection is a ProtectionParameter that protects a KeyStore using a password. 
KeyStore.PrivateKeyEntry PrivateKeyEntry represents a KeyStore entry that holds a private key. 
KeyStore.SecretKeyEntry SecretKeyEntry represents a KeyStore entry that holds a secret key. 
KeyStore.TrustedCertificateEntry TrustedCertificateEntry represents a KeyStore entry that holds a trusted certificate. 
KeyStoreSpi KeyStoreSpi is the Service Provider Interface (SPI) definition for KeyStore
MessageDigest Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence. 
MessageDigestSpi MessageDigestSpi is the Service Provider Interface (SPI) definition for MessageDigest
Permission Legacy security code; do not use. 
PermissionCollection Legacy security code; do not use. 
Permissions Legacy security code; do not use. 
Policy Legacy security code; do not use. 
ProtectionDomain Legacy security code; do not use. 
Provider Provider is the abstract superclass for all security providers in the Java security infrastructure. 
Provider.Service Service represents a service in the Java Security infrastructure. 
SecureClassLoader SecureClassLoader represents a ClassLoader which associates the classes it loads with a code source and provide mechanisms to allow the relevant permissions to be retrieved. 
SecureRandom This class generates cryptographically secure pseudo-random numbers. 
SecureRandomSpi SecureRandomSpi is the Service Provider Interface (SPI) definition for SecureRandom
Security Security is the central class in the Java Security API. 
SecurityPermission Legacy security code; do not use. 
Signature Signature is an engine class which is capable of creating and verifying digital signatures, using different algorithms that have been registered with the Security class. 
SignatureSpi SignatureSpi is the Service Provider Interface (SPI) definition for Signature
Timestamp Timestamp represents a signed time stamp. 

Exceptions

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 The GeneralSecurityException class is a generic security exception class that provides type safety for all the security-related exception classes 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, designed for use by the JCA/JCE engine classes, 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. 
PrivilegedActionException Legacy security code; do not use. 
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. 
SignatureException This is the generic Signature exception. 
UnrecoverableEntryException This exception is thrown if an entry in the keystore cannot be recovered. 
UnrecoverableKeyException This exception is thrown if a key in the keystore cannot be recovered.