Lines Matching defs:provider

80     // The provider
81 private Provider provider;
83 // The provider implementation (delegate)
92 // next service to try in provider selection
93 // null once provider is selected
96 // remaining services to try in provider selection
97 // null once provider is selected
106 * @param provider the provider
109 protected Mac(MacSpi macSpi, Provider provider, String algorithm) {
111 this.provider = provider;
167 // make sure there is at least one service from a signed provider
185 * MacSpi implementation from the specified provider
186 * is returned. The specified provider must be registered
187 * in the security provider list.
198 * @param provider the name of the provider.
204 * available from the specified provider.
206 * @exception NoSuchProviderException if the specified provider is not
207 * registered in the security provider list.
209 * @exception IllegalArgumentException if the <code>provider</code>
214 public static final Mac getInstance(String algorithm, String provider)
217 ("Mac", MacSpi.class, algorithm, provider);
218 return new Mac((MacSpi)instance.impl, instance.provider, algorithm);
228 * does not have to be registered in the provider list.
236 * @param provider the provider.
244 * @exception IllegalArgumentException if the <code>provider</code>
249 public static final Mac getInstance(String algorithm, Provider provider)
252 ("Mac", MacSpi.class, algorithm, provider);
253 return new Mac((MacSpi)instance.impl, instance.provider, algorithm);
260 * Choose the Spi from the first provider available. Used if
261 * delayed provider selection is not possible because init()
276 + "called, disabling delayed provider selection");
302 provider = s.getProvider();
336 // if provider says it does not support this key, ignore it
346 provider = s.getProvider();
360 // no working provider found, fail
372 ("No installed provider supports this key: "
378 * Returns the provider of this <code>Mac</code> object.
380 * @return the provider of this <code>Mac</code> object.
384 return this.provider;
644 * Returns a clone if the provider implementation is cloneable.
646 * @return a clone if the provider implementation is cloneable.