Lines Matching refs:provider

38  * This class represents a "provider" for the
39 * Java Security API, where a provider implements some or all parts of
40 * Java Security. Services that a provider may implement include:
51 * <p>Each provider has a name and a version number, and is configured
57 * for information about how a particular type of provider, the
58 * cryptographic service provider, works and is installed. However,
59 * please note that a provider can be used to implement any security
63 * <p>Some provider implementations may encounter unrecoverable internal
75 * <td><code>String.valueOf(provider.getName())</code></td>
77 * <td><code>String.valueOf(provider.getVersion())</code></td>
79 <td><code>String.valueOf(provider.getInfo())</code></td>
81 * <td><code>provider.getClass().getName()</code></td>
94 ("provider", "Provider");
97 * The provider name.
104 * A description of the provider and its services.
111 * The provider version number.
124 * Constructs a provider with the specified name, version number,
127 * @param name the provider name.
129 * @param version the provider version number.
131 * @param info a description of the provider and its services.
142 * Returns the name of this provider.
144 * @return the name of this provider.
151 * Returns the version number for this provider.
153 * @return the version number for this provider.
160 * Returns a human-readable description of the provider and its
163 * @return a description of the provider and its services.
171 * of this provider.
174 * for this provider.
181 * override the following methods to ensure that provider
187 * Clears this provider so that it no longer contains the properties
188 * used to look up facilities implemented by the provider.
193 * is the provider name) to see if it's ok to clear this provider.
203 * denies access to clear this provider
210 debug.println("Remove " + name + " provider properties");
226 debug.println("Load " + name + " provider properties");
234 * Copies all of the mappings from the specified Map to this provider.
235 * These mappings will replace any properties that this provider had
243 debug.println("Put all " + name + " provider properties");
277 * this provider.
288 * contained in this provider.
304 * provider name, to see if it's ok to set this provider's property values.
328 debug.println("Set " + name + " provider property [" +
341 * the provider name, to see if it's ok to remove this provider's
357 * denies access to remove this provider's properties.
364 debug.println("Remove " + name + " provider property " + key);
427 // register the id attributes for this provider
429 // report to different provider objects as the same
452 * Copies all of the mappings from the specified Map to this provider.
578 debug.println("Ignoring invalid entry in provider "
621 // e.g. put("MessageDigest.SHA-1", "sun.security.provider.SHA");
663 * matching services, one added to this provider using
700 // re-use will occur e.g. as the framework traverses the provider
701 // list and queries each provider with the same values until it finds
740 * in the provider's Hashtable values in the format described in the
747 * the provider name, to see if it's ok to set this provider's property
831 * this provider. It will no longer be returned by
833 * from this provider's Hashtable.
838 * the provider name, to see if it's ok to remove this provider's
851 * access to remove this provider's properties.
1011 * <p>Each service has a provider that offers the service, a type,
1036 private final Provider provider;
1063 private Service(Provider provider) {
1064 this.provider = provider;
1090 * @param provider the provider that offers this service
1098 * @throws NullPointerException if provider, type, algorithm, or
1101 public Service(Provider provider, String type, String algorithm,
1104 if ((provider == null) || (type == null) ||
1108 this.provider = provider;
1152 return provider;
1189 * service. The security provider framework uses this method to
1216 if (provider.getService(type, algorithm) != this) {
1219 + provider.getName() + ": " + this);
1259 + algorithm + ", provider: " + provider.getName()
1264 + algorithm + ", provider: " + provider.getName()
1275 ClassLoader cl = provider.getClass().getClassLoader();
1286 ("class configured for " + type + "(provider: " +
1287 provider.getName() + ")" + "cannot be found.", e);
1329 * <p>The security provider framework uses this method with
1424 ClassLoader cl = provider.getClass().getClassLoader();
1473 return provider.getName() + ": " + type + "." + algorithm