API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.security. Security View Source
Author(s)
Benjamin Renaud
Since
Version
1.132, 07/13/06
Serial
Hierarchy
 Object
      Security
Implements
Subclasses
Description
publicfinal class Security
  This class centralizes all security properties and common security methods.
See also:   
Constructors
private Security ()
Don't let anyone instantiate this.
Methods
Hide/Show inherited methods
publicstatic int addProvider (Provider provider)
  Adds a provider to the next position available.
@Deprecated
publicstatic String getAlgorithmProperty (String algName, String propName)
  Gets a specified property for an algorithm.
publicstatic Set<String> getAlgorithms (String serviceName)
  Returns a Set of Strings containing the names of all available algorithms or types for the specified Java cryptographic service (e.g., Signature, MessageDigest, Cipher, Mac, KeyStore).
pack-privatestatic String getFilterComponents (String filterKey, String filterValue)
pack-privatestatic Object getImpl (String algorithm, String type, Provider provider) throws NoSuchAlgorithmException
pack-privatestatic Object getImpl (String algorithm, String type, Provider provider, Object params) throws NoSuchAlgorithmException InvalidAlgorithmParameterException
pack-privatestatic Object getImpl (String algorithm, String type, String provider) throws NoSuchAlgorithmException NoSuchProviderException
pack-privatestatic Object getImpl (String algorithm, String type, String provider, Object params) throws NoSuchAlgorithmException NoSuchProviderException InvalidAlgorithmParameterException
publicstatic String getProperty (String key)
  Gets a security property value.
publicstatic Provider getProvider (String name)
  Returns the provider installed with the specified name, if any.
publicstatic Provider getProviders ()
  Returns an array containing all the installed providers.
publicstatic Provider getProviders (Map<String, String> filter)
  Returns an array containing all installed providers that satisfy the specified* selection criteria, or null if no such providers have been installed.
publicstatic Provider getProviders (String filter)
  Returns an array containing all installed providers that satisfy the specified selection criterion, or null if no such providers have been installed.
publicstaticsynchronized int insertProviderAt (Provider provider, int position)
  Adds a new provider, at a specified position.
publicstaticsynchronized void removeProvider (String name)
  Removes the provider with the specified name.
publicstatic void setProperty (String key, String datum)
  Sets a security property value.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar