<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Wed Jul 28 01:21:15 GMT 1999 -->
<title>
  Class java.security.Provider
</title>
</head>
<body>
<a name="_top_"></a>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.security.html">This Package</a>  <a href="java.security.MessageDigest.html#_top_">Previous</a>  <a href="java.security.SecureRandom.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class java.security.Provider
</h1>
<pre>
<a href="java.lang.Object.html#_top_">java.lang.Object</a>
   |
   +----<a href="java.util.Dictionary.html#_top_">java.util.Dictionary</a>
           |
           +----<a href="java.util.Hashtable.html#_top_">java.util.Hashtable</a>
                   |
                   +----<a href="java.util.Properties.html#_top_">java.util.Properties</a>
                           |
                           +----java.security.Provider
</pre>
<hr>
<dl>
  <dt> public abstract class <b>Provider</b>
  <dt> extends <a href="java.util.Properties.html#_top_">Properties</a>
</dl>
This class represents a "provider" for the
 Java Security API.  A provider implements some or all parts of
 Java Security, including:<ul>
 <li>Algorithms (such as DSA, RSA, MD5 or SHA-1).
 <li>Key generation and management facilities (such as for
 algorithm-specific keys).
 </ul>
 <p>Each provider has a name and a version number, and is configured
 in each runtime it is installed in. 
 <p>There is a default provider that comes standard with the JDK. It is
 called the SUN Provider.
 See <a href =
 "../guide/security/CryptoSpec.html#Provider">The Provider Class</a> 
 in the "Java Cryptography Architecture API Specification &amp; Reference"
 for information about how providers work and how to install them.
<p>
<hr>
<a name="index"></a>
<h2>
  <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
</h2>
<dl>
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#Provider(java.lang.String, double, java.lang.String)"><b>Provider</b></a>(String, double, String)
  <dd>  Constructs a provider with the specified name, version number,
 and information.
</dl>
<h2>
  <img src="images/method-index.gif" width=207 height=38 alt="Method Index">
</h2>
<dl>
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getInfo()"><b>getInfo</b></a>()
  <dd>  Returns a human-readable description of the provider and its
 services.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getName()"><b>getName</b></a>()
  <dd>  Returns the name of this provider.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getVersion()"><b>getVersion</b></a>()
  <dd>  Returns the version number for this provider.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#toString()"><b>toString</b></a>()
  <dd>  Returns a string with the name and the version number
 of this provider.
</dl>
<a name="constructors"></a>
<h2>
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="Provider"></a>
<a name="Provider(java.lang.String, double, java.lang.String)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>Provider</b>
<pre>
 protected Provider(<a href="java.lang.String.html#_top_">String</a> name,
                    double version,
                    <a href="java.lang.String.html#_top_">String</a> info)
</pre>
<dl>
  <dd> Constructs a provider with the specified name, version number,
 and information.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> name - the provider name.
    <dd> version - the provider version number.
    <dd> info - a description of the provider and its services.
  </dl></dd>
</dl>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="getName()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getName"><b>getName</b></a>
<pre>
 public <a href="java.lang.String.html#_top_">String</a> getName()
</pre>
<dl>
  <dd> Returns the name of this provider.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the name of this provider.
  </dl></dd>
</dl>
<a name="getVersion()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getVersion"><b>getVersion</b></a>
<pre>
 public double getVersion()
</pre>
<dl>
  <dd> Returns the version number for this provider.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the version number for this provider.
  </dl></dd>
</dl>
<a name="getInfo()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getInfo"><b>getInfo</b></a>
<pre>
 public <a href="java.lang.String.html#_top_">String</a> getInfo()
</pre>
<dl>
  <dd> Returns a human-readable description of the provider and its
 services.  This may return an HTML page, with relevant links.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> a description of the provider and its services.
  </dl></dd>
</dl>
<a name="toString()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="toString"><b>toString</b></a>
<pre>
 public <a href="java.lang.String.html#_top_">String</a> toString()
</pre>
<dl>
  <dd> Returns a string with the name and the version number
 of this provider.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the string with the name and the version number
 for this provider.
    <dt> <b>Overrides:</b>
    <dd> <a href="java.util.Hashtable.html#toString()">toString</a> in class <a href="java.util.Hashtable.html#_top_">Hashtable</a>
  </dl></dd>
</dl>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.security.html">This Package</a>  <a href="java.security.MessageDigest.html#_top_">Previous</a>  <a href="java.security.SecureRandom.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
