Lines Matching refs:provider

58  * requested <i>transformation</i> to it. Optionally, the name of a provider
76 * provider-specific default values for the mode and padding scheme are used).
89 * number is specified, a provider-specific default is used. (For
90 * example, the SunJCE provider uses a default of 64 bits for DES.)
194 // The provider
195 private Provider provider;
197 // The provider implementation (delegate)
222 // next SPI to try in provider selection
223 // null once provider is selected
226 // next service to try in provider selection
227 // null once provider is selected
230 // remaining services to try in provider selection
231 // null once provider is selected
234 // list of transform Strings to lookup in the provider
243 * @param provider the provider
247 Provider provider,
256 this.provider = provider;
326 // constants indicating whether the provider supports
336 // transform string to lookup in the provider
493 // make sure there is at least one service from a signed provider
525 ("Cannot find any provider supporting " + transformation, failure);
533 * CipherSpi implementation from the specified provider
534 * is returned. The specified provider must be registered
535 * in the security provider list.
547 * @param provider the name of the provider.
554 * is not available from the specified provider.
556 * @exception NoSuchProviderException if the specified provider is not
557 * registered in the security provider list.
562 * @exception IllegalArgumentException if the <code>provider</code>
568 String provider)
572 if ((provider == null) || (provider.length() == 0)) {
573 throw new IllegalArgumentException("Missing provider");
575 Provider p = Security.getProvider(provider);
577 throw new NoSuchProviderException("No such provider: " +
578 provider);
590 * does not have to be registered in the provider list.
599 * @param provider the provider.
611 * @exception IllegalArgumentException if the <code>provider</code>
617 Provider provider)
620 if (provider == null) {
621 throw new IllegalArgumentException("Missing provider");
629 Service s = provider.getService("Cipher", tr.transform);
635 // the provider. this makes the difference between a NSAE
637 // provider does not support the algorithm.
638 Exception ve = JceSecurity.getVerificationResult(provider);
640 String msg = "JCE cannot authenticate the provider "
641 + provider.getName();
657 cipher.provider = s.getProvider();
697 * Choose the Spi from the first provider available. Used if
698 * delayed provider selection is not possible because init()
713 + "called, disabling delayed provider selection");
756 provider = s.getProvider();
828 // if provider says it does not support this key, ignore it
851 provider = s.getProvider();
867 // no working provider found, fail
879 ("No installed provider supports this key: "
885 * Returns the provider of this <code>Cipher</code> object.
887 * @return the provider of this <code>Cipher</code> object
891 return this.provider;
1113 * (using provider-specific default or random values) if it is being
1123 * provider-specific default values, initialization will
1130 * installed provider as the source of randomness.
1166 * (using provider-specific default or random values) if it is being
1176 * provider-specific default values, initialization will
1235 * provider-specific default or random values) if it is being
1245 * provider-specific default values, initialization will
1252 * installed provider as the source of randomness.
1296 * provider-specific default or random values) if it is being
1306 * provider-specific default values, initialization will
1366 * provider-specific default or random values) if it is being
1376 * provider-specific default values, initialization will
1383 * installed provider as the source of randomness.
1427 * provider-specific default or random values) if it is being
1437 * provider-specific default values, initialization will
1505 * (using provider-specific default or random values) if it is being
1515 * provider-specific default values, initialization will
1523 * installed provider as the source of randomness.
1575 * (using provider-specific default or random values) if it is being
1585 * provider-specific default values, initialization will