|
|||||||||
| Home >> All >> java >> [ security overview ] | PREV NEXT | ||||||||
A
- ALGORITHM_PARAMETERS - Static variable in class java.security.AlgorithmParameters
- Service name for algorithm parameters.
- ALGORITHM_PARAMETER_GENERATOR - Static variable in class java.security.AlgorithmParameterGenerator
- Service name for algorithm parameter generators.
- ALG_ALIAS - Static variable in class java.security.Security
- AccessControlContext - class java.security.AccessControlContext.
- AccessControlContext makes system resource access decsion based on permission rights.
- AccessControlContext(ProtectionDomain[]) - Constructor for class java.security.AccessControlContext
- Construct a new AccessControlContext with the specified ProtectionDomains.
- AccessControlContext(AccessControlContext, DomainCombiner) - Constructor for class java.security.AccessControlContext
- Construct a new AccessControlContext with the specified ProtectionDomains and DomainCombiner.
- AccessControlContext(ProtectionDomain[], AccessControlContext, DomainCombiner) - Constructor for class java.security.AccessControlContext
- AccessControlException - exception java.security.AccessControlException.
- This exception is thrown when the
AccessControllerdenies an attempt to perform an operation. - AccessControlException(String) - Constructor for class java.security.AccessControlException
- Create a new instance with a descriptive error message, and a null
Permissionobject. - AccessControlException(String, Permission) - Constructor for class java.security.AccessControlException
- Create a new instance with a descriptive error message and an associated
Permissionobject. - AccessController - class java.security.AccessController.
- Access control context and permission checker.
- AccessController() - Constructor for class java.security.AccessController
- This class only has static methods so there is no public contructor.
- AlgorithmParameterGenerator - class java.security.AlgorithmParameterGenerator.
AlgorithmParameterGeneratoris used to generate algorithm parameters for specified algorithms.- AlgorithmParameterGenerator(AlgorithmParameterGeneratorSpi, Provider, String) - Constructor for class java.security.AlgorithmParameterGenerator
- Constructs a new instance of
AlgorithmParameterGenerator. - AlgorithmParameterGeneratorSpi - class java.security.AlgorithmParameterGeneratorSpi.
- AlgorithmParameterGeneratorSpi is the Service Provider Interface for the AlgorithmParameterGenerator class.
- AlgorithmParameterGeneratorSpi() - Constructor for class java.security.AlgorithmParameterGeneratorSpi
- Constructs a new AlgorithmParameterGeneratorSpi
- AlgorithmParameters - class java.security.AlgorithmParameters.
AlgorithmParametersis an Algorithm Parameters class which provides an interface through which the user can manage the parameters of an Algorithm.- AlgorithmParameters(AlgorithmParametersSpi, Provider, String) - Constructor for class java.security.AlgorithmParameters
- Constructs a new instance of
AlgorithmParameters. - AlgorithmParametersSpi - class java.security.AlgorithmParametersSpi.
- AlgorithmParametersSpi is the Service Provider Interface for the Algorithm Parameters class.
- AlgorithmParametersSpi() - Constructor for class java.security.AlgorithmParametersSpi
- Creates a new instance of AlgorithmParametersSpi
- AllPermission - class java.security.AllPermission.
- This class is a permission that implies all other permissions.
- AllPermission() - Constructor for class java.security.AllPermission
- Create a new AllPermission object.
- AllPermission(String, String) - Constructor for class java.security.AllPermission
- Create a new AllPermission object.
- AllPermission.AllPermissionCollection - class java.security.AllPermission.AllPermissionCollection.
- Implements AllPermission.newPermissionCollection, and obeys serialization of JDK.
- AllPermission.AllPermissionCollection() - Constructor for class java.security.AllPermission.AllPermissionCollection
- actions - Variable in class java.security.UnresolvedPermission
- The list of actions associated with this permission object.
- add(Permission) - Method in class java.security.AllPermission.AllPermissionCollection
- Add an AllPermission.
- add(Permission) - Method in class java.security.BasicPermission.BasicPermissionCollection
- Add a Permission.
- add(Permission) - Method in class java.security.PermissionCollection
- This method adds a new
Permissionobject to the collection. - add(Permission) - Method in class java.security.Permissions.PermissionsHash
- Add a permission.
- add(Permission) - Method in class java.security.Permissions
- This method adds a new
Permissionto this collection. - add(Permission) - Method in class java.security.UnresolvedPermissionCollection
- Add a permission.
- addCertificate(Certificate) - Method in class java.security.Identity
- Deprecated. Adds a certificate to the list of ceritificates for this identity.
- addIdentity(Identity) - Method in class java.security.IdentityScope
- Deprecated. Adds an identity to his scope.
- addProvider(Provider) - Static method in class java.security.Security
- Appends the designated new Provider to the current list of installed Providers.
- algorithm - Variable in class java.security.AlgorithmParameterGenerator
- algorithm - Variable in class java.security.AlgorithmParameters
- algorithm - Variable in class java.security.KeyFactory
- algorithm - Variable in class java.security.KeyPairGenerator
- algorithm - Variable in class java.security.MessageDigest
- algorithm - Variable in class java.security.SecureRandom
- algorithm - Variable in class java.security.Signature
- aliases() - Method in class java.security.KeyStore
- Generates a list of all the aliases in the keystore.
- allPermission - Variable in class java.security.Permissions
- Holds instances of
AllPermission. - all_allowed - Variable in class java.security.AllPermission.AllPermissionCollection
- Whether an AllPermission has been added to the collection.
- all_allowed - Variable in class java.security.BasicPermission.BasicPermissionCollection
- If "*" is in the collection.
- appRandom - Variable in class java.security.SignatureSpi
- Source of randomness.
B
- BasicPermission - class java.security.BasicPermission.
- This class implements a simple model for named permissions without an associated action list.
- BasicPermission(String) - Constructor for class java.security.BasicPermission
- Create a new instance with the specified permission name.
- BasicPermission(String, String) - Constructor for class java.security.BasicPermission
- Create a new instance with the specified permission name.
- BasicPermission.BasicPermissionCollection - class java.security.BasicPermission.BasicPermissionCollection.
- Implements AllPermission.newPermissionCollection, and obeys serialization of JDK.
- BasicPermission.BasicPermissionCollection(Class) - Constructor for class java.security.BasicPermission.BasicPermissionCollection
- Construct a collection over the given runtime class.
C
- Certificate - interface java.security.Certificate.
- Deprecated. use
java.security.certinstead - CodeSource - class java.security.CodeSource.
- This class represents a location from which code is loaded (as represented by a URL), and the list of certificates that are used to check the signatures of signed code loaded from this source.
- CodeSource(URL, Certificate[]) - Constructor for class java.security.CodeSource
- This creates a new instance of
CodeSourcethat loads code from the specified URL location and which uses the specified certificates for verifying signatures. - certificates - Variable in class java.security.Identity
- Deprecated.
- certificates() - Method in class java.security.Identity
- Deprecated.
- certs - Variable in class java.security.CodeSource
- The set of certificates for this code base.
- certs - Variable in class java.security.UnresolvedPermission
- The list of
Certificatesassociated with this object. - checkGuard(Object) - Method in interface java.security.Guard
- This method tests whether or not access is allowed to the specified guarded object.
- checkGuard(Object) - Method in class java.security.Permission
- This method implements the
Guardinterface for this class. - checkPermission(Permission) - Method in class java.security.AccessControlContext
- Determines whether or not the specific permission is granted depending on the context it is within.
- checkPermission(Permission) - Static method in class java.security.AccessController
- Checks wether the access control context of the current thread allows the given Permission.
- classloader - Variable in class java.security.ProtectionDomain
- The java.lang.ClassLoader associated with this domain.
- clear() - Method in class java.security.Provider
- This method clears the entire property list such that it no longer
contains the properties used to look up the services provided by
the
Provider. - clone() - Method in class java.security.DummyKeyPairGenerator
- clone() - Method in class java.security.DummyMessageDigest
- clone() - Method in class java.security.DummySignature
- clone() - Method in class java.security.KeyPairGeneratorSpi
- We override clone here to make it accessible for use by DummyKeyPairGenerator.
- clone() - Method in class java.security.MessageDigest
- Returns a clone of this instance if cloning is supported.
- clone() - Method in class java.security.MessageDigestSpi
- Returns a clone of this class.
- clone() - Method in class java.security.Signature
- Returns a clone of this instance.
- clone() - Method in class java.security.SignatureSpi
- Returns a clone of this instance.
- code_source - Variable in class java.security.ProtectionDomain
- This is the
CodeSourcefor this protection domain. - combine(ProtectionDomain[], ProtectionDomain[]) - Method in interface java.security.DomainCombiner
- Combines the current ProtectionDomains of the Thread with new ProtectionDomains.
- combine(ProtectionDomain[], ProtectionDomain[]) - Method in class java.security.IntersectingDomainCombiner
- combiner - Variable in class java.security.AccessControlContext
- containsAlias(String) - Method in class java.security.KeyStore
- Determines if the keystore contains the specified alias.
- content - Variable in class java.security.SignedObject
- contexts - Static variable in class java.security.VMAccessController
- This is a per-thread stack of AccessControlContext objects (which can be null) for each call to AccessController.doPrivileged in each thread's call stack.
- counter - Variable in class java.security.SecureRandom
- currentPolicy - Static variable in class java.security.Policy
D
- DEBUG - Static variable in class java.security.VMAccessController
- DEFAULT_CONTEXT - Static variable in class java.security.VMAccessController
- And we return this all-permissive context to ensure that privileged methods called from getContext succeed.
- DigestException - exception java.security.DigestException.
- This exception indicates that a generic message digest exception has occurred.
- DigestException() - Constructor for class java.security.DigestException
- Create a new instance with no descriptive message.
- DigestException(String) - Constructor for class java.security.DigestException
- Create a new instance with a descriptive error message.
- DigestException(String, Throwable) - Constructor for class java.security.DigestException
- Create a new instance with a descriptive error message and a cause.
- DigestException(Throwable) - Constructor for class java.security.DigestException
- Create a new instance with a cause.
- DigestInputStream - class java.security.DigestInputStream.
- DigestInputStream is a class that ties an InputStream with a MessageDigest.
- DigestInputStream(InputStream, MessageDigest) - Constructor for class java.security.DigestInputStream
- Constructs a new DigestInputStream.
- DigestOutputStream - class java.security.DigestOutputStream.
- DigestOutputStream is a class that ties an OutputStream with a MessageDigest.
- DigestOutputStream(OutputStream, MessageDigest) - Constructor for class java.security.DigestOutputStream
- Constructs a new DigestOutputStream.
- DomainCombiner - interface java.security.DomainCombiner.
- A public interface used to combine two ProtectionDomains in a new ProtectionDomain and update the current Protection Domains associated with the current AccessControlContext.
- DummyKeyPairGenerator - class java.security.DummyKeyPairGenerator.
- DummyKeyPairGenerator(KeyPairGeneratorSpi, String) - Constructor for class java.security.DummyKeyPairGenerator
- DummyMessageDigest - class java.security.DummyMessageDigest.
- DummyMessageDigest(MessageDigestSpi, String) - Constructor for class java.security.DummyMessageDigest
- DummySignature - class java.security.DummySignature.
- DummySignature(SignatureSpi, String) - Constructor for class java.security.DummySignature
- debug(String) - Static method in class java.security.VMAccessController
- decode(InputStream) - Method in interface java.security.Certificate
- Deprecated. This method reads an encoded certificate from an
InputStream. - defineClass(String, byte[], int, int, CodeSource) - Method in class java.security.SecureClassLoader
- Creates a class using an array of bytes and a CodeSource.
- deleteEntry(String) - Method in class java.security.KeyStore
- Deletes the entry for the specified entry.
- digest - Variable in class java.security.DigestInputStream
- The message digest for the DigestInputStream
- digest - Variable in class java.security.DigestOutputStream
- The message digest for the DigestOutputStream
- digest() - Method in class java.security.MessageDigest
- Computes the final digest of the stored data.
- digest(byte[], int, int) - Method in class java.security.MessageDigest
- Computes the final digest of the stored bytes and returns the result.
- digest(byte[]) - Method in class java.security.MessageDigest
- Computes a final update using the input array of bytes, then computes a final digest and returns it.
- digestToString() - Method in class java.security.MessageDigest
- doPrivileged(PrivilegedAction) - Static method in class java.security.AccessController
- Calls the
run()method of the given action with as (initial) access control context only the protection domain of the calling class. - doPrivileged(PrivilegedAction, AccessControlContext) - Static method in class java.security.AccessController
- Calls the
run()method of the given action with as (initial) access control context the given context combined with the protection domain of the calling class. - doPrivileged(PrivilegedExceptionAction) - Static method in class java.security.AccessController
- Calls the
run()method of the given action with as (initial) access control context only the protection domain of the calling class. - doPrivileged(PrivilegedExceptionAction, AccessControlContext) - Static method in class java.security.AccessController
- Calls the
run()method of the given action with as (initial) access control context the given context combined with the protection domain of the calling class.
E
- elements() - Method in class java.security.AllPermission.AllPermissionCollection
- Returns an enumeration of the elements in the collection.
- elements() - Method in class java.security.BasicPermission.BasicPermissionCollection
- Enumerate over the collection.
- elements() - Method in class java.security.PermissionCollection
- This method returns an
Enumerationof all the objects in this collection. - elements() - Method in class java.security.Permissions.PermissionsHash
- Return the elements.
- elements() - Method in class java.security.Permissions
- This method returns an
Enumerationwhich contains a list of allPermissionobjects contained in this collection. - elements() - Method in class java.security.UnresolvedPermissionCollection
- Return the elements.
- encode(OutputStream) - Method in interface java.security.Certificate
- Deprecated. This method writes the certificate to an
OutputStreamin a format that can be understood by thedecodemethod. - engineAliases() - Method in class java.security.KeyStoreSpi
- Generates a list of all the aliases in the keystore.
- engineContainsAlias(String) - Method in class java.security.KeyStoreSpi
- Determines if the keystore contains the specified alias.
- engineDeleteEntry(String) - Method in class java.security.KeyStoreSpi
- Deletes the entry for the specified entry.
- engineDigest() - Method in class java.security.DummyMessageDigest
- engineDigest(byte[], int, int) - Method in class java.security.DummyMessageDigest
- engineDigest() - Method in class java.security.MessageDigestSpi
- Computes the final digest of the stored bytes and returns them.
- engineDigest(byte[], int, int) - Method in class java.security.MessageDigestSpi
- Computes the final digest of the stored bytes and returns them.
- engineGenerateParameters() - Method in class java.security.AlgorithmParameterGeneratorSpi
- Generate a new set of AlgorithmParameters.
- engineGeneratePrivate(KeySpec) - Method in class java.security.KeyFactorySpi
- Generates a private key from the provided key specification.
- engineGeneratePublic(KeySpec) - Method in class java.security.KeyFactorySpi
- Generates a public key from the provided key specification.
- engineGenerateSeed(int) - Method in class java.security.SecureRandomSpi
- Gets a user specified number of bytes specified by the parameter.
- engineGetCertificate(String) - Method in class java.security.KeyStoreSpi
- Gets a Certificate for the specified alias.
- engineGetCertificateAlias(Certificate) - Method in class java.security.KeyStoreSpi
- Determines if the keystore contains the specified certificate entry and returns the alias.
- engineGetCertificateChain(String) - Method in class java.security.KeyStoreSpi
- Gets a Certificate chain for the specified alias.
- engineGetCreationDate(String) - Method in class java.security.KeyStoreSpi
- Gets entry creation date for the specified alias.
- engineGetDigestLength() - Method in class java.security.DummyMessageDigest
- engineGetDigestLength() - Method in class java.security.MessageDigestSpi
- Returns the length of the digest.
- engineGetEncoded() - Method in class java.security.AlgorithmParametersSpi
- Returns the parameters in the default encoding format.
- engineGetEncoded(String) - Method in class java.security.AlgorithmParametersSpi
- Returns the parameters in the specified encoding format.
- engineGetKey(String, char[]) - Method in class java.security.KeyStoreSpi
- Returns the key associated with given alias using the supplied password.
- engineGetKeySpec(Key, Class) - Method in class java.security.KeyFactorySpi
- Returns a key specification for the given key.
- engineGetParameter(String) - Method in class java.security.DummySignature
- engineGetParameter(String) - Method in class java.security.SignatureSpi
- Deprecated. use the other getParameter
- engineGetParameterSpec(Class) - Method in class java.security.AlgorithmParametersSpi
- Returns a specification of this AlgorithmParameters object.
- engineGetParameters() - Method in class java.security.SignatureSpi
- The default implementaion of this method always throws a java.lang.UnsupportedOperationException.
- engineInit(int, SecureRandom) - Method in class java.security.AlgorithmParameterGeneratorSpi
- Initializes the parameter generator with the specified size and SecureRandom
- engineInit(AlgorithmParameterSpec, SecureRandom) - Method in class java.security.AlgorithmParameterGeneratorSpi
- Initializes the parameter generator with the specified AlgorithmParameterSpec and SecureRandom classes.
- engineInit(AlgorithmParameterSpec) - Method in class java.security.AlgorithmParametersSpi
- Initializes the engine with the specified AlgorithmParameterSpec class.
- engineInit(byte[]) - Method in class java.security.AlgorithmParametersSpi
- Initializes the engine with the specified parameters stored in the byte array and decodes them according to the ASN.1 specification.
- engineInit(byte[], String) - Method in class java.security.AlgorithmParametersSpi
- Initializes the engine with the specified parameters stored in the byte array and decodes them according to the specified decoding specification.
- engineInitSign(PrivateKey) - Method in class java.security.DummySignature
- engineInitSign(PrivateKey) - Method in class java.security.SignatureSpi
- Initializes this instance with the private key for signing purposes.
- engineInitSign(PrivateKey, SecureRandom) - Method in class java.security.SignatureSpi
- Initializes this instance with the private key and source of randomness for signing purposes.
- engineInitVerify(PublicKey) - Method in class java.security.DummySignature
- engineInitVerify(PublicKey) - Method in class java.security.SignatureSpi
- Initializes this instance with the public key for verification purposes.
- engineIsCertificateEntry(String) - Method in class java.security.KeyStoreSpi
- Determines if the keystore contains a certificate entry for the specified alias.
- engineIsKeyEntry(String) - Method in class java.security.KeyStoreSpi
- Determines if the keystore contains a key entry for the specified alias.
- engineLoad(InputStream, char[]) - Method in class java.security.KeyStoreSpi
- Loads the keystore from the specified input stream and it uses the specified password to check for integrity if supplied.
- engineNextBytes(byte[]) - Method in class java.security.SecureRandomSpi
- Gets a user specified number of bytes depending on the length of the array?
- engineReset() - Method in class java.security.DummyMessageDigest
- engineReset() - Method in class java.security.MessageDigestSpi
- Resets the digest engine.
- engineSetCertificateEntry(String, Certificate) - Method in class java.security.KeyStoreSpi
- Assign the certificate to the alias in the keystore.
- engineSetKeyEntry(String, Key, char[], Certificate[]) - Method in class java.security.KeyStoreSpi
- Assign the key to the alias in the keystore, protecting it with the given password.
- engineSetKeyEntry(String, byte[], Certificate[]) - Method in class java.security.KeyStoreSpi
- Assign the key to the alias in the keystore.
- engineSetParameter(String, Object) - Method in class java.security.DummySignature
- engineSetParameter(String, Object) - Method in class java.security.SignatureSpi
- Deprecated. use the other setParameter.
- engineSetParameter(AlgorithmParameterSpec) - Method in class java.security.SignatureSpi
- Sets the signature engine with the specified java.security.spec.AlgorithmParameterSpec.
- engineSetSeed(byte[]) - Method in class java.security.SecureRandomSpi
- Updates the seed for SecureRandomSpi but does not reset seed.
- engineSign() - Method in class java.security.DummySignature
- engineSign() - Method in class java.security.SignatureSpi
- Returns the signature bytes of all the data fed to this instance.
- engineSign(byte[], int, int) - Method in class java.security.SignatureSpi
- Generates signature bytes of all the data fed to this instance and stores the result in the designated array.
- engineSize() - Method in class java.security.KeyStoreSpi
- Returns the number of entries in the keystore.
- engineStore(OutputStream, char[]) - Method in class java.security.KeyStoreSpi
- Stores the keystore in the specified output stream and it uses the specified key it keep it secure.
- engineToString() - Method in class java.security.AlgorithmParametersSpi
- Returns a string describing the parameters in the AlgorithmParametersSpi class.
- engineTranslateKey(Key) - Method in class java.security.KeyFactorySpi
- Translates the key from an unknown or untrusted provider into a key for this key factory.
- engineUpdate(byte) - Method in class java.security.DummyMessageDigest
- engineUpdate(byte[], int, int) - Method in class java.security.DummyMessageDigest
- engineUpdate(byte) - Method in class java.security.DummySignature
- engineUpdate(byte[], int, int) - Method in class java.security.DummySignature
- engineUpdate(byte) - Method in class java.security.MessageDigestSpi
- Updates the digest with the specified byte.
- engineUpdate(byte[], int, int) - Method in class java.security.MessageDigestSpi
- Updates the digest with the specified bytes starting with the offset and proceeding for the specified length.
- engineUpdate(byte) - Method in class java.security.SignatureSpi
- Updates the data to be signed or verified with the specified byte.
- engineUpdate(byte[], int, int) - Method in class java.security.SignatureSpi
- Updates the data to be signed or verified with the specified bytes.
- engineVerify(byte[]) - Method in class java.security.DummySignature
- engineVerify(byte[]) - Method in class java.security.SignatureSpi
- Verifies a designated signature.
- engineVerify(byte[], int, int) - Method in class java.security.SignatureSpi
- Convenience method which calls the method with the same name and one argument after copying the designated bytes into a temporary byte array.
- equals(Object) - Method in class java.security.AccessControlContext
- Checks if two AccessControlContexts are equal.
- equals(Object) - Method in class java.security.AllPermission
- Checks an object for equality.
- equals(Object) - Method in class java.security.BasicPermission
- This method tests to see if this object is equal to the specified
Object. - equals(Object) - Method in class java.security.CodeSource
- This method tests the specified
Objectfor equality with this object. - equals(Object) - Method in class java.security.Identity
- Deprecated. Checks for equality between this Identity and a specified object.
- equals(Object) - Method in class java.security.Permission
- Check to see if this object equals obj.
- equals(Object) - Method in interface java.security.Principal
- This method tests another
Principalobject for equality with this one. - equals(Object) - Method in class java.security.UnresolvedPermission
- This method tests this permission for equality against the specified
Object. - exception - Variable in class java.security.PrivilegedActionException
- This is the actual exception that occurred.
G
- GeneralSecurityException - exception java.security.GeneralSecurityException.
- This class is the common superclass of all security exceptions.
- GeneralSecurityException() - Constructor for class java.security.GeneralSecurityException
- Create a new instance with no descriptive error message.
- GeneralSecurityException(String) - Constructor for class java.security.GeneralSecurityException
- Create a new instance with a descriptive error message.
- GeneralSecurityException(String, Throwable) - Constructor for class java.security.GeneralSecurityException
- Create a new instance with a descriptive error message and a cause.
- GeneralSecurityException(Throwable) - Constructor for class java.security.GeneralSecurityException
- Create a new instance with a cause.
- Guard - interface java.security.Guard.
- This interface specifies a mechanism for querying whether or not access is allowed to a guarded object.
- GuardedObject - class java.security.GuardedObject.
- This class is an object that is guarded by a
Guardobject. - GuardedObject(Object, Guard) - Constructor for class java.security.GuardedObject
- This method initializes a new instance of
GuardedObjectthat protects the specifiedObjectusing the specifiedGuard. - genKeyPair() - Method in class java.security.KeyPairGenerator
- Generates a new "DSA" KeyPair from the "GNU" security provider.
- generateKeyPair() - Method in class java.security.DummyKeyPairGenerator
- generateKeyPair() - Method in class java.security.KeyPairGenerator
- Generates a new "DSA" KeyPair from the "GNU" security provider.
- generateKeyPair() - Method in class java.security.KeyPairGeneratorSpi
- Generates a KeyPair according the rules for the algorithm.
- generateParameters() - Method in class java.security.AlgorithmParameterGenerator
- generatePrivate(KeySpec) - Method in class java.security.KeyFactory
- Generates a private key from the provided key specification.
- generatePublic(KeySpec) - Method in class java.security.KeyFactory
- Generates a public key from the provided key specification.
- generateSeed(int) - Method in class java.security.SecureRandom
- Returns the specified number of seed bytes.
- generateSeed(byte[]) - Static method in class java.security.SecureRandom
- generateSeed(byte[], int, int) - Static method in class java.security.SecureRandom
- generateSeed(byte[], int, int) - Static method in class java.security.VMSecureRandom
- Generate a random seed.
- get(Object) - Method in class java.security.Provider
- getActions() - Method in class java.security.AllPermission
- This method returns the list of actions associated with this object.
- getActions() - Method in class java.security.BasicPermission
- This method returns a list of the actions associated with this permission.
- getActions() - Method in class java.security.Permission
- This method returns the list of actions for this
Permissionas aString. - getActions() - Method in class java.security.UnresolvedPermission
- This method returns the list of actions associated with this permission.
- getAlgorithm() - Method in class java.security.AlgorithmParameterGenerator
- getAlgorithm() - Method in class java.security.AlgorithmParameters
- getAlgorithm() - Method in interface java.security.Key
- This method returns the name of the algorithm for this key.
- getAlgorithm() - Method in class java.security.KeyFactory
- Returns the name of the algorithm used.
- getAlgorithm() - Method in class java.security.KeyPairGenerator
- Returns the name of the algorithm used.
- getAlgorithm() - Method in class java.security.MessageDigest
- Returns the name of message digest algorithm.
- getAlgorithm() - Method in class java.security.SecureRandom
- Returns the algorithm name used or "unknown" when the algorithm used couldn't be determined (as when constructed by the protected 2 argument constructor).
- getAlgorithm() - Method in class java.security.Signature
- Returns the name of the algorithm currently used.
- getAlgorithm() - Method in class java.security.SignedObject
- Returns the name of the signature algorithm.
- getAlgorithmProperty(String, String) - Static method in class java.security.Security
- Deprecated. Use the provider-based and algorithm-independent AlgorithmParameters and KeyFactory engine classes instead.
- getAlgorithms(String) - Static method in class java.security.Security
- For a given service (e.g.
- getCause() - Method in class java.security.PrivilegedActionException
- Gets the cause of this exception.
- getCertificate(String) - Method in class java.security.KeyStore
- Gets a Certificate for the specified alias.
- getCertificateAlias(Certificate) - Method in class java.security.KeyStore
- Determines if the keystore contains the specified certificate entry and returns the alias.
- getCertificateChain(String) - Method in class java.security.KeyStore
- Gets a Certificate chain for the specified alias.
- getCertificates() - Method in class java.security.CodeSource
- This method returns the list of digital certificates that can be used
to verify the signatures of code loaded under this
CodeSource. - getClassLoader() - Method in class java.security.ProtectionDomain
- Returns the java.lang.ClassLoader of this domain.
- getCodeSource() - Method in class java.security.ProtectionDomain
- Returns the CodeSource of this domain.
- getContext() - Static method in class java.security.AccessController
- Returns the complete access control context of the current thread.
- getContext() - Static method in class java.security.VMAccessController
- Examine the method stack of the currently running thread, and create an AccessControlContext filled in with the appropriate ProtectionDomain objects given this stack.
- getCreationDate(String) - Method in class java.security.KeyStore
- Gets entry creation date for the specified alias.
- getCurrentPolicy() - Static method in class java.security.Policy
- Ensures/forces loading of the configured policy provider, while bypassing
the java.lang.SecurityManager checks for
"getPolicy"security permission. - getDefaultType() - Static method in class java.security.KeyStore
- Returns the default KeyStore type.
- getDigestLength() - Method in class java.security.MessageDigest
- Returns the length of the message digest.
- getDomainCombiner() - Method in class java.security.AccessControlContext
- Returns the Domain Combiner associated with the AccessControlContext
- getEncoded() - Method in class java.security.AlgorithmParameters
- Returns the parameters in the default encoding format.
- getEncoded(String) - Method in class java.security.AlgorithmParameters
- Returns the parameters in the specified encoding format.
- getEncoded() - Method in interface java.security.Key
- This method returns the encoded form of the key.
- getException() - Method in class java.security.PrivilegedActionException
- Get the underlying
Exceptionthat caused this one. - getFormat() - Method in interface java.security.Certificate
- Deprecated. This method returns the encoding format of the certificate (e.g., "PGP", "X.509").
- getFormat() - Method in interface java.security.Key
- This method returns the name of the encoding format for this key.
- getGuarantor() - Method in interface java.security.Certificate
- Deprecated. This method returns the
Principalthat is guaranteeing this certificate. - getIdentity(String) - Method in class java.security.IdentityScope
- Deprecated. Returns the specified Identity, by name, within this scope.
- getIdentity(Principal) - Method in class java.security.IdentityScope
- Deprecated. Returns the specified Identity, by Principal, within this scope.
- getIdentity(PublicKey) - Method in class java.security.IdentityScope
- Deprecated. Returns the specified Identity, by public key, within this scope.
- getInfo() - Method in class java.security.Identity
- Deprecated.
- getInfo() - Method in class java.security.Provider
- This method returns a textual description of the
Provider. - getInstance(String) - Static method in class java.security.AlgorithmParameterGenerator
- Returns a new
AlgorithmParameterGeneratorinstance which generates algorithm parameters for the specified algorithm. - getInstance(String, String) - Static method in class java.security.AlgorithmParameterGenerator
- Returns a new
AlgorithmParameterGeneratorinstance which generates algorithm parameters for the specified algorithm. - getInstance(String, Provider) - Static method in class java.security.AlgorithmParameterGenerator
- Returns a new
AlgorithmParameterGeneratorinstance which generates algorithm parameters for the specified algorithm. - getInstance(String) - Static method in class java.security.AlgorithmParameters
- Returns a new instance of
AlgorithmParametersrepresenting the specified algorithm parameters. - getInstance(String, String) - Static method in class java.security.AlgorithmParameters
- Returns a new instance of
AlgorithmParametersrepresenting the specified algorithm parameters from a named provider. - getInstance(String, Provider) - Static method in class java.security.AlgorithmParameters
- Returns a new instance of
AlgorithmParametersrepresenting the specified algorithm parameters from the specified Provider. - getInstance(String) - Static method in class java.security.KeyFactory
- Returns a new instance of
KeyFactoryrepresenting the specified key factory. - getInstance(String, String) - Static method in class java.security.KeyFactory
- Returns a new instance of
KeyFactoryrepresenting the specified key factory from the specified provider. - getInstance(String, Provider) - Static method in class java.security.KeyFactory
- Returns a new instance of
KeyFactoryrepresenting the specified key factory from the designated Provider. - getInstance(String) - Static method in class java.security.KeyPairGenerator
- Returns a new instance of
KeyPairGeneratorwhich generates key-pairs for the specified algorithm. - getInstance(String, String) - Static method in class java.security.KeyPairGenerator
- Returns a new instance of
KeyPairGeneratorwhich generates key-pairs for the specified algorithm from a named provider. - getInstance(String, Provider) - Static method in class java.security.KeyPairGenerator
- Returns a new instance of
KeyPairGeneratorwhich generates key-pairs for the specified algorithm from a designated Provider. - getInstance(String) - Static method in class java.security.KeyStore
- Gets an instance of the KeyStore class representing the specified keystore.
- getInstance(String, String) - Static method in class java.security.KeyStore
- Gets an instance of the KeyStore class representing the specified key store from the specified provider.
- getInstance(String, Provider) - Static method in class java.security.KeyStore
- Gets an instance of the KeyStore class representing the specified key store from the specified provider.
- getInstance(String) - Static method in class java.security.MessageDigest
- Returns a new instance of
MessageDigestrepresenting the specified algorithm. - getInstance(String, String) - Static method in class java.security.MessageDigest
- Returns a new instance of
MessageDigestrepresenting the specified algorithm from a named provider. - getInstance(String, Provider) - Static method in class java.security.MessageDigest
- Returns a new instance of
MessageDigestrepresenting the specified algorithm from a designated Provider. - getInstance(String) - Static method in class java.security.SecureRandom
- Returns an instance of a SecureRandom.
- getInstance(String, String) - Static method in class java.security.SecureRandom
- Returns an instance of a SecureRandom.
- getInstance(String, Provider) - Static method in class java.security.SecureRandom
- Returns an instance of a SecureRandom.
- getInstance(String) - Static method in class java.security.Signature
- Returns an instance of
Signaturerepresenting the specified signature. - getInstance(String, String) - Static method in class java.security.Signature
- Returns an instance of
Signaturerepresenting the specified signature from the named provider. - getInstance(String, Provider) - Static method in class java.security.Signature
- Returns an instance of
Signaturerepresenting the specified signature from the specified Provider. - getKey(String, char[]) - Method in class java.security.KeyStore
- Returns the key associated with given alias using the supplied password.
- getKeySpec(Key, Class) - Method in class java.security.KeyFactory
- Returns a key specification for the given key.
- getLocation() - Method in class java.security.CodeSource
- This method returns the URL specifying the location from which code
will be loaded under this
CodeSource. - getMessageDigest() - Method in class java.security.DigestInputStream
- Returns the MessageDigest associated with this DigestInputStream
- getMessageDigest() - Method in class java.security.DigestOutputStream
- Returns the MessageDigest associated with this DigestOutputStream
- getName() - Method in class java.security.Identity
- Deprecated.
- getName() - Method in class java.security.Permission
- Get the name of this
Permission. - getName() - Method in interface java.security.Principal
- This method returns a
Stringthat names thisPrincipal. - getName() - Method in class java.security.Provider
- This method returns the name assigned to this
Provider. - getObject() - Method in class java.security.GuardedObject
- This method first call the
checkGuardmethod on theGuardobject protecting the guarded object. - getObject() - Method in class java.security.SignedObject
- Returns the encapsulated object.
- getParameter(String) - Method in class java.security.Signature
- Deprecated. use the other getParameter
- getParameterSpec(Class) - Method in class java.security.AlgorithmParameters
- Returns a new instance of
AlgorithmParametersas a designated parameter specification java.lang.Class. - getParameters() - Method in class java.security.Signature
- Return the parameters of the algorithm used in this instance as an AlgorithmParameters.
- getPermission() - Method in class java.security.AccessControlException
- This method returns the
Permissionobject that caused this exception to be thrown. - getPermissions(CodeSource) - Method in class java.security.Policy
- Returns the set of Permissions allowed for a given CodeSource.
- getPermissions(ProtectionDomain) - Method in class java.security.Policy
- Returns the set of Permissions allowed for a given ProtectionDomain.
- getPermissions() - Method in class java.security.ProtectionDomain
- Returns the PermissionCollection of this domain.
- getPermissions(CodeSource) - Method in class java.security.SecureClassLoader
- Returns a PermissionCollection for the specified CodeSource.
- getPolicy() - Static method in class java.security.Policy
- Returns the currently installed
Policyhandler. - getPrincipal() - Method in interface java.security.Certificate
- Deprecated. This method returns the
Principalbeing guaranteed by this certificate. - getPrincipals() - Method in class java.security.ProtectionDomain
- Returns a clone of the Principals of this domain.
- getPrivate() - Method in class java.security.KeyPair
- Returns the private key stored in the KeyPair
- getPrivateKey() - Method in class java.security.Signer
- Deprecated. Returns the private key of this
Signer. - getProperty(String) - Static method in class java.security.Security
- Returns the value associated with a Security propery.
- getProtectionDomains() - Method in class java.security.AccessControlContext
- getProvider() - Method in class java.security.AlgorithmParameterGenerator
- getProvider() - Method in class java.security.AlgorithmParameters
- getProvider() - Method in class java.security.KeyFactory
- Returns the Provider of this instance.
- getProvider() - Method in class java.security.KeyPairGenerator
- Returns the Provider of this instance.
- getProvider() - Method in class java.security.KeyStore
- Gets the provider that the class is from.
- getProvider() - Method in class java.security.MessageDigest
- Returns the Provider of this instance.
- getProvider() - Method in class java.security.SecureRandom
- Returns the provider being used by the current SecureRandom class.
- getProvider(String) - Static method in class java.security.Security
- Returns an already installed Provider given its name.
- getProvider() - Method in class java.security.Signature
- Returns the Provider of this instance.
- getProviders() - Static method in class java.security.Security
- Returns the current list of installed Providers as an array ordered according to their installation preference order.
- getProviders(String) - Static method in class java.security.Security
- Returns an array of currently installed Providers, ordered according to their installation preference order, which satisfy a given selection criterion.
- getProviders(Map) - Static method in class java.security.Security
- Returns an array of currently installed Providers which satisfy a set of selection criteria.
- getPublic() - Method in class java.security.KeyPair
- Returns the public key stored in the KeyPair
- getPublicKey() - Method in interface java.security.Certificate
- Deprecated. This method returns the public key for the
Principalthat is being guaranteed. - getPublicKey() - Method in class java.security.Identity
- Deprecated.
- getScope() - Method in class java.security.Identity
- Deprecated.
- getSeed(int) - Static method in class java.security.SecureRandom
- Returns the given number of seed bytes.
- getSignature() - Method in class java.security.SignedObject
- Returns the signature bytes of the encapsulated object.
- getStack() - Static method in class java.security.VMAccessController
- Returns a snapshot of the current call stack as a pair of arrays: the first an array of classes in the call stack, the second an array of strings containing the method names in the call stack.
- getSystemScope() - Static method in class java.security.IdentityScope
- Deprecated. Returns the system's Scope.
- getType() - Method in class java.security.KeyStore
- Returns the type of the KeyStore supported
- getVersion() - Method in class java.security.Provider
- This method retunrs the version number of this
Provider. - guard - Variable in class java.security.GuardedObject
- This is the Guard that is protecting the object.
H
- hashCode() - Method in class java.security.AccessControlContext
- Computes a hash code of this class
- hashCode() - Method in class java.security.AllPermission
- This method returns a hash code for this object.
- hashCode() - Method in class java.security.BasicPermission
- This method returns a hash code for this permission object.
- hashCode() - Method in class java.security.CodeSource
- This method returns a hash value for this object.
- hashCode() - Method in class java.security.Identity
- Deprecated.
- hashCode() - Method in class java.security.Permission
- This method returns a hash code for this
Permission. - hashCode() - Method in interface java.security.Principal
- This method returns a hash code value for this
Principal. - hashCode() - Method in class java.security.UnresolvedPermission
- Returns a hash code value for this object.
I
- Identity - class java.security.Identity.
- Deprecated. Replaced by
java.security.KeyStore, thejava.security.certpackage, andjava.security.Principal. - Identity() - Constructor for class java.security.Identity
- Deprecated. Constructor for serialization only.
- Identity(String, IdentityScope) - Constructor for class java.security.Identity
- Deprecated. Constructs a new instance of
Identitywith the specified name and scope. - Identity(String) - Constructor for class java.security.Identity
- Deprecated. Constructs a new instance of
Identitywith the specified name and no scope. - IdentityScope - class java.security.IdentityScope.
- Deprecated. Use java.security.KeyStore, the java.security.cert package, and java.security.Principal.
- IdentityScope() - Constructor for class java.security.IdentityScope
- Deprecated. Constructor for serialization purposes.
- IdentityScope(String) - Constructor for class java.security.IdentityScope
- Deprecated. Constructs a new instance of
IdentityScopewith the specified name and no scope. - IdentityScope(String, IdentityScope) - Constructor for class java.security.IdentityScope
- Deprecated. Constructs a new instance of
IdentityScopewith the specified name and IdentityScope. - IntersectingDomainCombiner - class java.security.IntersectingDomainCombiner.
- A trivial implementation of DomainCombiner that produces the intersection of the supplied ProtectionDomain objects.
- IntersectingDomainCombiner() - Constructor for class java.security.IntersectingDomainCombiner
- InvalidAlgorithmParameterException - exception java.security.InvalidAlgorithmParameterException.
- Thrown for an invalid security algorithm parameter.
- InvalidAlgorithmParameterException() - Constructor for class java.security.InvalidAlgorithmParameterException
- Construct an exception with no message.
- InvalidAlgorithmParameterException(String) - Constructor for class java.security.InvalidAlgorithmParameterException
- Construct an exception with a message.
- InvalidAlgorithmParameterException(String, Throwable) - Constructor for class java.security.InvalidAlgorithmParameterException
- Create a new instance with a descriptive error message and a cause.
- InvalidAlgorithmParameterException(Throwable) - Constructor for class java.security.InvalidAlgorithmParameterException
- Create a new instance with a cause.
- InvalidKeyException - exception java.security.InvalidKeyException.
- Thrown for an invalid key.
- InvalidKeyException() - Constructor for class java.security.InvalidKeyException
- Construct an exception with no message.
- InvalidKeyException(String) - Constructor for class java.security.InvalidKeyException
- Construct an exception with a message.
- InvalidKeyException(String, Throwable) - Constructor for class java.security.InvalidKeyException
- Create a new instance with a descriptive error message and a cause.
- InvalidKeyException(Throwable) - Constructor for class java.security.InvalidKeyException
- Create a new instance with a cause.
- InvalidParameterException - exception java.security.InvalidParameterException.
- Thrown when an invalid parameter is passed to a method of the JCA/JCE engine classes.
- InvalidParameterException() - Constructor for class java.security.InvalidParameterException
- Construct an exception with no message.
- InvalidParameterException(String) - Constructor for class java.security.InvalidParameterException
- Construct an exception with a message.
- identities() - Method in class java.security.IdentityScope
- Deprecated. Returns an java.util.Enumeration of identities in this scope.
- identityEquals(Identity) - Method in class java.security.Identity
- Deprecated. Checks for equality between this Identity and a specified object.
- implies(Permission) - Method in class java.security.AllPermission.AllPermissionCollection
- Returns true if this collection implies a permission.
- implies(Permission) - Method in class java.security.AllPermission
- This method always returns
trueto indicate that this permission always implies that any other permission is also granted. - implies(Permission) - Method in class java.security.BasicPermission.BasicPermissionCollection
- Returns true if this collection implies the given permission.
- implies(Permission) - Method in class java.security.BasicPermission
- This method tests to see if the specified permission is implied by this permission.
- implies(CodeSource) - Method in class java.security.CodeSource
- This method tests to see if a specified
CodeSourceis implied by this object. - implies(Permission) - Method in class java.security.Permission
- This method tests whether this
Permissionimplies that the specifiedPermissionis also granted. - implies(Permission) - Method in class java.security.PermissionCollection
- This method tests whether the specified
Permissionobject is implied by this collection ofPermissionobjects. - implies(Permission) - Method in class java.security.