Lines Matching refs:Provider
26 import java.security.Provider;
31 * This class implements common functionality for Provider supplied
34 * {@code getInstance} and retrieval of the selected {@code Provider}
35 * and Service Provider Interface (SPI) results. Retrieving the
47 * private final Provider provider;
51 * Provider provider,
54 * this.provider = provider;
60 * return new Foo((FooSpi) sap.spi, sap.provider, algorithm);
63 * public static Foo getInstance(String algorithm, Provider provider) {
64 * Object spi = ENGINE.getInstance(algorithm, provider, null);
65 * return new Foo((FooSpi) spi, provider, algorithm);
86 * Only this non-Provider version of getInstance is optimized
87 * since the the Provider version does not require an expensive
98 private final ArrayList<Provider.Service> services;
102 ArrayList<Provider.Service> services) {
111 public final Provider provider;
112 private SpiAndProvider(Object spi, Provider provider) {
114 this.provider = provider;
130 * matching SPI and its {@code Provider}
137 ArrayList<Provider.Service> services = getServices(algorithm);
147 * and its {@code Provider}
149 public SpiAndProvider getInstance(Provider.Service service, String param)
157 public ArrayList<Provider.Service> getServices(String algorithm) {
167 ArrayList<Provider.Service> services = Services.getServices(name);
174 * the class that implements corresponding Service Provider Interface.
176 public Object getInstance(String algorithm, Provider provider, Object param)
181 Provider.Service service = provider.getService(serviceName, algorithm);