Lines Matching refs:provider

131     // The provider
132 Provider provider;
255 sig.provider = instance.provider;
265 signatureInfo.put("sun.security.provider.DSA$RawDSA", TRUE);
266 signatureInfo.put("sun.security.provider.DSA$SHA1withDSA", TRUE);
294 debug.println("Delayed provider selection may not be "
312 * SignatureSpi implementation from the specified provider
313 * is returned. The specified provider must be registered
314 * in the security provider list.
325 * @param provider the name of the provider.
331 * available from the specified provider.
333 * @exception NoSuchProviderException if the specified provider is not
334 * registered in the security provider list.
336 * @exception IllegalArgumentException if the provider name is null
341 public static Signature getInstance(String algorithm, String provider)
345 if ((provider == null) || (provider.length() == 0)) {
346 throw new IllegalArgumentException("missing provider");
348 Provider p = Security.getProvider(provider);
351 ("no such provider: " + provider);
356 ("Signature", SignatureSpi.class, algorithm, provider);
367 * does not have to be registered in the provider list.
375 * @param provider the provider.
383 * @exception IllegalArgumentException if the provider is null.
389 public static Signature getInstance(String algorithm, Provider provider)
393 if (provider == null) {
394 throw new IllegalArgumentException("missing provider");
396 return getInstanceRSA(provider);
399 ("Signature", SignatureSpi.class, algorithm, provider);
421 + RSA_SIGNATURE + " for provider " + p.getName(), e);
426 * Returns the provider of this signature object.
428 * @return the provider of this signature object
432 return this.provider;
891 * encapsulated, provider-supplied SPI object (of type SignatureSpi).
892 * If the provider implementation is an instance of SignatureSpi, the
904 // The provider implementation (delegate)
905 // filled in once the provider is selected
908 // lock for mutex during provider selection
911 // next service to try in provider selection
912 // null once provider is selected
915 // remaining services to try in provider selection
916 // null once provider is selected
926 // used with delayed provider selection
947 // Because 'algorithm' and 'provider' are private
952 that.provider = ((Signature)this).provider;
983 * Choose the Spi from the first provider available. Used if
984 * delayed provider selection is not possible because initSign()/
999 + "called, disabling delayed provider selection");
1021 provider = s.getProvider();
1055 // if provider says it does not support this key, ignore it
1066 provider = s.getProvider();
1080 // no working provider found, fail
1089 ("No installed provider supports this key: "