Lines Matching defs:provider

59         Provider provider;
195 props.put("security.provider.1", "sun.security.provider.Sun");
196 props.put("security.provider.2", "sun.security.rsa.SunRsaSign");
197 props.put("security.provider.3", "com.sun.net.ssl.internal.ssl.Provider");
198 props.put("security.provider.4", "com.sun.crypto.provider.SunJCE");
199 props.put("security.provider.5", "sun.security.jgss.SunProvider");
200 props.put("security.provider.6", "com.sun.security.sasl.Provider");
219 * provider) mapping the key, if any.
221 * provider-preference order, as specificed in the security
250 newEntry.provider = prov;
259 * Returns the property (if any) mapping the key for the given provider.
261 private static String getProviderProperty(String key, Provider provider) {
262 String prop = provider.getProperty(key);
266 for (Enumeration<Object> e = provider.keys();
270 prop = provider.getProperty(matchKey);
298 * parameters. Use the new provider-based and algorithm-independent
315 * Adds a new provider, at a specified position. The position is
320 * <p>If the given provider is installed at the requested position,
321 * the provider that used to be at that position, and all providers
325 * <p>A provider cannot be added if it is already installed.
330 * <code>"insertProvider."+provider.getName()</code>
331 * to see if it's ok to add a new provider.
336 * <code>SecurityPermission("insertProvider."+provider.getName())</code>
339 * @param provider the provider to be added.
342 * like for this provider.
344 * @return the actual preference position in which the provider was
345 * added, or -1 if the provider was not added because it is
348 * @throws NullPointerException if provider is null
352 * denies access to add a new provider
358 public static synchronized int insertProviderAt(Provider provider,
360 String providerName = provider.getName();
363 ProviderList newList = ProviderList.insertAt(list, provider, position - 1);
372 * Adds a provider to the next position available.
377 * <code>"insertProvider."+provider.getName()</code>
378 * to see if it's ok to add a new provider.
383 * <code>SecurityPermission("insertProvider."+provider.getName())</code>
386 * @param provider the provider to be added.
388 * @return the preference position in which the provider was
389 * added, or -1 if the provider was not added because it is
392 * @throws NullPointerException if provider is null
396 * denies access to add a new provider
402 public static int addProvider(Provider provider) {
409 return insertProviderAt(provider, 0);
413 * Removes the provider with the specified name.
415 * <p>When the specified provider is removed, all providers located
416 * at a position greater than where the specified provider was are shifted
420 * <p>This method returns silently if the provider is not installed or
426 * to see if it's ok to remove the provider.
433 * @param name the name of the provider to remove.
439 * access to remove the provider
462 * Returns the provider installed with the specified name, if
463 * any. Returns null if no provider with the specified name is
466 * @param name the name of the provider to get.
468 * @return the provider of the specified name.
496 * provider satisfies the specified selection criterion iff the provider
500 * would be satisfied by any provider that supplied
507 * <p> A provider satisfies this selection criterion iff the
508 * provider implements the specified algorithm or type for the specified
512 * satisfied by any provider that implemented
564 * A provider is selected iff it satisfies all selection
571 * <p> A provider
572 * satisfies this selection criterion iff the provider implements the
579 * A provider satisfies this selection criterion iff the
580 * provider implements the specified algorithm or type for the specified
633 // For each provider in the candidates set, if it
687 * and type, and the second object in the array identifies the provider
689 * The <code>provider</code> argument can be null, in which case all
692 static Object[] getImpl(String algorithm, String type, String provider)
694 if (provider == null) {
699 (type, getSpiClass(type), algorithm, provider).toArray();
703 static Object[] getImpl(String algorithm, String type, String provider,
706 if (provider == null) {
711 (type, getSpiClass(type), algorithm, params, provider).toArray();
718 * and type, and the second object in the array identifies the provider
720 * The <code>provider</code> argument cannot be null.
722 static Object[] getImpl(String algorithm, String type, Provider provider)
725 (type, getSpiClass(type), algorithm, provider).toArray();
728 static Object[] getImpl(String algorithm, String type, Provider provider,
732 (type, getSpiClass(type), algorithm, params, provider).toArray();
899 * Returns true if the given provider satisfies
912 // Check whether the provider has a property
934 // The provider doesn't have the given
981 // provider supports for a specific <crypto_service>.<algorithm>.
1060 * an empty Set if there is no provider that supports the
1073 * or an empty set if no provider supports the specified service.
1088 // Check the keys for each provider.
1095 // provider property contains attributes for the