All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.security.Provider

java.lang.Object
   |
   +----java.util.Dictionary
           |
           +----java.util.Hashtable
                   |
                   +----java.util.Properties
                           |
                           +----java.security.Provider

public class Provider
extends Properties
This class represents a Security Package Provider (SPP) for the JavaSecurity API. A provider implements some or all parts of JavaSecurity, including:

Each provider has a name and a version number, and is configured in each runtime it is installed in.

There is a default provider that comes standard with the JDK. It is called the Sun Security Provider.

To register a provider, you must

See the "Security Package Providers" section in Security in JDK1.1 for more information.


Constructor Index

 o Provider(String, double, String)
Constructs a provider with the specified name and version number.

Method Index

 o getInfo()
Returns a human-readable description of the provider and its services.
 o getName()
Returns the name of this provider.
 o getVersion()
Returns the version number for this provider.
 o toString()
Returns a printable string with the name and the version number for this provider.

Constructors

 o Provider
  protected Provider(String name,
                     double version,
                     String info)
Constructs a provider with the specified name and version number.

Parameters:
name - the provider name.
version - the provider version number.

Methods

 o getName
  public String getName()
Returns the name of this provider.

Returns:
the name of this provider.
 o getVersion
  public double getVersion()
Returns the version number for this provider.

Returns:
the version number for this provider.
 o getInfo
  public String getInfo()
Returns a human-readable description of the provider and its services. This may return an HTML page, with relevant links.

Returns:
a description of the provider and its services.
 o toString
  public String toString()
Returns a printable string with the name and the version number for this provider.

Returns:
the string with the name and the version number for this provider.
Overrides:
toString in class Hashtable

All Packages  Class Hierarchy  This Package  Previous  Next  Index