Android
package

java.security

Classes | Description

This package provides all the classes and all the interfaces needed by Java security framework. more...

Interfaces

Certificate This interface is deprecated. Replaced by behavior in javax.security.cert  
DomainCombiner A DomainCombiner is a way to update the protection domains from an AccessControlContext  
Guard This interface is implemented by objects which wish to control access to other objects. 
Key Defines the basic properties of all key objects. 
KeyStore.Entry  
KeyStore.LoadStoreParameter  
KeyStore.ProtectionParameter  
Principal Principals are objects which have identities. 
PrivateKey  
PrivilegedAction<T>  
PrivilegedExceptionAction<T>  
PublicKey Superinterface for all specific public key interfaces 

Classes

AccessControlContext  
AccessController  
AlgorithmParameterGenerator  
AlgorithmParameterGeneratorSpi  
AlgorithmParameters  
AlgorithmParametersSpi  
AllPermission Subclass of Permission whose instances imply all other permissions. 
AuthProvider  
BasicPermission Superclass of permissions which have names but no action lists. 
CodeSigner  
CodeSource  
DigestInputStream  
DigestOutputStream  
GuardedObject GuardedObject controls access to an object, by checking all requests for the object with a Guard. 
Identity  
IdentityScope  
KeyFactory  
KeyFactorySpi  
KeyPair  
KeyPairGenerator  
KeyPairGeneratorSpi  
KeyRep  
KeyStore  
KeyStore.Builder  
KeyStore.CallbackHandlerProtection  
KeyStore.PasswordProtection  
KeyStore.PrivateKeyEntry  
KeyStore.SecretKeyEntry  
KeyStore.TrustedCertificateEntry  
KeyStoreSpi  
MessageDigest  
MessageDigestSpi This class is a Service Provider Interface (therefore the Spi suffix) for digest algorithms to be supplied by providers. 
Permission Abstract superclass of all classes which represent permission to access system resources. 
PermissionCollection Abstract superclass of classes which are collections of Permission objects. 
Permissions A heterogeneous collection of permissions. 
Policy Abstract superclass of classes which represent the system security policy. 
ProtectionDomain This class represents a domain in which classes from the same source (URL) and signed by the same keys are stored. 
Provider  
Provider.Service  
SecureClassLoader SecureClassLoaders are used to dynamically load, link and install classes into a running image. 
SecureRandom  
SecureRandomSpi This class is a Service Provider Interface (therefore the Spi suffix) for secure random number generation algorithms to be supplied by providers. 
Security For access to security providers and properties. 
SecurityPermission SecurityPermission objects guard access to the mechanisms which implement security. 
Signature  
SignatureSpi  
SignedObject  
Signer This class is deprecated. Replaced by behavior in java.security.cert package and Principal  
Timestamp  
UnresolvedPermission Holds permissions which are of an unknown type when a policy file is read. 

Enums

KeyRep.Type Supported key types  

Exceptions

AccessControlException This runtime exception is thrown when an access control check indicates that access should not be granted. 
DigestException This class represents exceptions for message digest computation. 
GeneralSecurityException This class represents the general security exception. 
InvalidAlgorithmParameterException This class represents invalid algorithm parameters to cryptographic services. 
InvalidKeyException Used when invalid cryptography keys are used. 
InvalidParameterException This exception is thrown when an invalid parameter is passed to a method. 
KeyException This class is the superclass of all classes which represent problems with keys. 
KeyManagementException  
KeyStoreException  
NoSuchAlgorithmException Instances of this class are thrown when an attempt is made to access an algorithm which is not provided by the library. 
NoSuchProviderException Instances of this class are thrown when an attempt is made to access a provider by name which is not currently available. 
PrivilegedActionException Instances of this class are used to wrap exceptions which occur within privileged operations. 
ProviderException  
SignatureException This class represents generic security exceptions. 
UnrecoverableEntryException  
UnrecoverableKeyException This class represents exceptions if a key cannot be found in the keystore. 
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48