Lines Matching refs:provider

203     // The provider
204 private Provider provider;
206 // The provider implementation
570 * provider implementation (SPI object) in it.
572 * @param keyStoreSpi the provider implementation.
573 * @param provider the provider.
576 protected KeyStore(KeyStoreSpi keyStoreSpi, Provider provider, String type)
579 this.provider = provider;
626 * KeyStoreSpi implementation from the specified provider
627 * is returned. The specified provider must be registered
628 * in the security provider list.
639 * @param provider the name of the provider.
645 * available from the specified provider.
647 * @exception NoSuchProviderException if the specified provider is not
648 * registered in the security provider list.
650 * @exception IllegalArgumentException if the provider name is null
655 public static KeyStore getInstance(String type, String provider)
658 if (provider == null || provider.length() == 0)
659 throw new IllegalArgumentException("missing provider");
661 Object[] objs = Security.getImpl(type, "KeyStore", provider);
674 * does not have to be registered in the provider list.
682 * @param provider the provider.
690 * @exception IllegalArgumentException if the specified provider is null.
696 public static KeyStore getInstance(String type, Provider provider)
699 if (provider == null)
700 throw new IllegalArgumentException("missing provider");
702 Object[] objs = Security.getImpl(type, "KeyStore", provider);
746 * Returns the provider of this keystore.
748 * @return the provider of this keystore.
752 return this.provider;
1487 * <p>The KeyStore is instantiated from <code>provider</code> if
1501 * @param provider the provider from which the KeyStore is to
1510 public static Builder newInstance(String type, Provider provider,
1526 return new FileBuilder(type, provider, file, protection,
1533 private final Provider provider;
1543 FileBuilder(String type, Provider provider, File file,
1547 this.provider = provider;
1587 if (provider == null) {
1590 ks = KeyStore.getInstance(type, provider);
1658 * <p>The KeyStore is instantiated from <code>provider</code> if
1670 * @param provider the provider from which the KeyStore is to
1676 final Provider provider, final ProtectionParameter protection) {
1690 if (provider == null) {
1693 ks = KeyStore.getInstance(type, provider);