public final class ProviderList
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static ProviderList |
add(ProviderList providerList,
java.security.Provider p) |
int |
getIndex(java.lang.String name)
Return the index at which the provider with the specified name is
installed or -1 if it is not present in this ProviderList.
|
java.security.Provider |
getProvider(java.lang.String name) |
java.security.Provider.Service |
getService(java.lang.String type,
java.lang.String name)
Return a Service describing an implementation of the specified
algorithm from the Provider with the highest precedence that
supports that algorithm.
|
java.util.List<java.security.Provider.Service> |
getServices(java.util.List<ServiceId> ids) |
java.util.List<java.security.Provider.Service> |
getServices(java.lang.String type,
java.util.List<java.lang.String> algorithms)
Deprecated.
use getServices(List
|
java.util.List<java.security.Provider.Service> |
getServices(java.lang.String type,
java.lang.String algorithm)
Return a List containing all the Services describing implementations
of the specified algorithms in precedence order.
|
static ProviderList |
insertAt(ProviderList providerList,
java.security.Provider p,
int position) |
static ProviderList |
newList(java.security.Provider... providers) |
java.util.List<java.security.Provider> |
providers()
Return an unmodifiable List of all Providers in this List.
|
static ProviderList |
remove(ProviderList providerList,
java.lang.String name) |
int |
size() |
java.security.Provider[] |
toArray() |
java.lang.String |
toString() |
public static ProviderList add(ProviderList providerList, java.security.Provider p)
public static ProviderList insertAt(ProviderList providerList, java.security.Provider p, int position)
public static ProviderList remove(ProviderList providerList, java.lang.String name)
public static ProviderList newList(java.security.Provider... providers)
public int size()
public java.util.List<java.security.Provider> providers()
public java.security.Provider getProvider(java.lang.String name)
public int getIndex(java.lang.String name)
public java.security.Provider[] toArray()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.security.Provider.Service getService(java.lang.String type,
java.lang.String name)
public java.util.List<java.security.Provider.Service> getServices(java.lang.String type,
java.lang.String algorithm)
@Deprecated
public java.util.List<java.security.Provider.Service> getServices(java.lang.String type,
java.util.List<java.lang.String> algorithms)
public java.util.List<java.security.Provider.Service> getServices(java.util.List<ServiceId> ids)
Copyright © 2020. All Rights Reserved.