Lines Matching refs:provider

113     // The provider
114 private Provider provider;
163 md.provider = (Provider)objs[1];
168 delegate.provider = (Provider)objs[1];
181 * MessageDigestSpi implementation from the specified provider
182 * is returned. The specified provider must be registered
183 * in the security provider list.
194 * @param provider the name of the provider.
200 * available from the specified provider.
202 * @exception NoSuchProviderException if the specified provider is not
203 * registered in the security provider list.
205 * @exception IllegalArgumentException if the provider name is null
210 public static MessageDigest getInstance(String algorithm, String provider)
213 if (provider == null || provider.length() == 0)
214 throw new IllegalArgumentException("missing provider");
215 Object[] objs = Security.getImpl(algorithm, "MessageDigest", provider);
218 md.provider = (Provider)objs[1];
223 delegate.provider = (Provider)objs[1];
235 * does not have to be registered in the provider list.
243 * @param provider the provider.
251 * @exception IllegalArgumentException if the specified provider is null.
258 Provider provider)
261 if (provider == null)
262 throw new IllegalArgumentException("missing provider");
263 Object[] objs = Security.getImpl(algorithm, "MessageDigest", provider);
266 md.provider = (Provider)objs[1];
271 delegate.provider = (Provider)objs[1];
277 * Returns the provider of this message digest object.
279 * @return the provider of this message digest object
282 return this.provider;
408 p.print(algorithm+" Message Digest from "+provider.getName()+", ");
468 * not supported by the provider and the implementation is not cloneable.
471 * supported by the provider and the implementation is not cloneable.
511 * encapsulated, provider-supplied SPI object (of type MessageDigestSpi).
512 * If the provider implementation is an instance of MessageDigestSpi,
524 // The provider implementation (delegate)
545 // Because 'algorithm', 'provider', and 'state' are private
551 that.provider = ((MessageDigest)this).provider;