Modifier and Type | Class and Description |
---|---|
private static class | |
pack-priv static class | |
private class | ProviderList.
Inner class for an iterator over Services. |
Modifier and Type | Field and Description |
---|---|
private volatile boolean | |
private final ProviderConfig[] | |
pack-priv static final Debug | |
pack-priv static final ProviderList | |
private static final Provider | |
private static final String[] | |
private static final String[] | |
private static final Provider[] | |
private static final ProviderConfig[] | |
private static ProviderList. | |
private static final String[] | |
private static final String[] | |
private static final String[] | |
private static final String[] | |
private static final String[] | |
private final List |
Access | Constructor and Description |
---|---|
private | ProviderList(ProviderConfig[] configs, boolean allLoaded)
Create a new ProviderList from an array of configs |
private |
Modifier and Type | Method and Description |
---|---|
public static ProviderList | |
pack-priv static ProviderList | |
public int | |
pack-priv ProviderList | |
pack-priv Provider | |
public Provider | |
private ProviderConfig | |
public Provider. | getService(String type, String name)
Return a Service describing an implementation of the specified algorithm from the Provider with the highest precedence that supports that algorithm. |
public Iterator | getServices(String type, String algorithm)
Return an iterator over all the Services describing implementations of the specified algorithms in precedence order. |
public Iterator | |
public static ProviderList | |
private int | |
public static ProviderList | |
public List | |
public static ProviderList | |
pack-priv ProviderList | |
public int | |
public Provider[] | |
public String |
allLoaded | back to summary |
---|---|
private volatile boolean allLoaded |
configs | back to summary |
---|---|
private final ProviderConfig[] configs |
debug | back to summary |
---|---|
pack-priv static final Debug debug |
EMPTY | back to summary |
---|---|
pack-priv static final ProviderList EMPTY |
EMPTY_PROVIDER | back to summary |
---|---|
private static final Provider EMPTY_PROVIDER |
HMACSHA2_GROUP | back to summary |
---|---|
private static final String[] HMACSHA2_GROUP |
HMACSHA3_GROUP | back to summary |
---|---|
private static final String[] HMACSHA3_GROUP |
P0 | back to summary |
---|---|
private static final Provider[] P0 |
PC0 | back to summary |
---|---|
private static final ProviderConfig[] PC0 |
preferredPropList | back to summary |
---|---|
private static ProviderList. |
SHA2_GROUP | back to summary |
---|---|
private static final String[] SHA2_GROUP |
SHA2DSA_GROUP | back to summary |
---|---|
private static final String[] SHA2DSA_GROUP |
SHA2ECDSA_GROUP | back to summary |
---|---|
private static final String[] SHA2ECDSA_GROUP |
SHA2RSA_GROUP | back to summary |
---|---|
private static final String[] SHA2RSA_GROUP |
SHA3_GROUP | back to summary |
---|---|
private static final String[] SHA3_GROUP |
userList | back to summary |
---|---|
private final List<Provider> userList |
ProviderList | back to summary |
---|---|
private ProviderList(ProviderConfig[] configs, boolean allLoaded) Create a new ProviderList from an array of configs |
ProviderList | back to summary |
---|---|
private ProviderList() Return a new ProviderList parsed from the java.security Properties. |
add | back to summary |
---|---|
public static ProviderList add(ProviderList providerList, Provider p) |
fromSecurityProperties | back to summary |
---|---|
pack-priv static ProviderList fromSecurityProperties()
|
getIndex | back to summary |
---|---|
public int getIndex(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. |
getJarList | back to summary |
---|---|
pack-priv ProviderList getJarList(String[] jarProvNames) Construct a special ProviderList for JAR verification. It consists of the providers specified via jarClassNames, which must be on the bootclasspath and cannot be in signed JAR files. This is to avoid possible recursion and deadlock during verification. |
getProvider | back to summary |
---|---|
pack-priv Provider getProvider(int index) Return the Provider at the specified index. Returns EMPTY_PROVIDER if the provider could not be loaded at this time. |
getProvider | back to summary |
---|---|
public Provider getProvider(String name) |
getProviderConfig | back to summary |
---|---|
private ProviderConfig getProviderConfig(String name) |
getService | back to summary |
---|---|
public Provider. Return a Service describing an implementation of the specified algorithm from the Provider with the highest precedence that supports that algorithm. Return null if no Provider supports this algorithm. |
getServices | back to summary |
---|---|
public Iterator Return an iterator over all the Services describing implementations of the specified algorithms in precedence order. If no implementation exists, this method returns an empty iterator. The elements of this iterator are determined lazily on demand. The iterator returned is NOT thread safe. |
getServices | back to summary |
---|---|
public Iterator |
insertAt | back to summary |
---|---|
public static ProviderList insertAt(ProviderList providerList, Provider p, int position) |
loadAll | back to summary |
---|---|
private int loadAll() |
newList | back to summary |
---|---|
public static ProviderList newList(Provider... providers) |
providers | back to summary |
---|---|
public List Return an unmodifiable List of all Providers in this List. The individual Providers are loaded on demand. Elements that could not be initialized are replaced with EMPTY_PROVIDER. |
remove | back to summary |
---|---|
public static ProviderList remove(ProviderList providerList, String name) |
removeInvalid | back to summary |
---|---|
pack-priv ProviderList removeInvalid() Try to load all Providers and return the ProviderList. If one or more Providers could not be loaded, a new ProviderList with those entries removed is returned. Otherwise, the method returns this. |
size | back to summary |
---|---|
public int size() |
toArray | back to summary |
---|---|
public Provider[] toArray() |
toString | back to summary |
---|---|
public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
|
Modifier and Type | Field and Description |
---|---|
private final String | |
private final String[] | |
private boolean | |
private final String | |
private final String |
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
pack-priv boolean | |
private String | |
public String |
algorithm | back to summary |
---|---|
private final String algorithm |
alternateNames | back to summary |
---|---|
private final String[] alternateNames |
group | back to summary |
---|---|
private boolean group |
provider | back to summary |
---|---|
private final String provider |
type | back to summary |
---|---|
private final String type |
PreferredEntry | back to summary |
---|---|
pack-priv PreferredEntry(String t, String p) |
match | back to summary |
---|---|
pack-priv boolean match(String t, String a) |
back to summary | |
---|---|
private String print(String t, String a, String p) |
toString | back to summary |
---|---|
public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
|
Modifier and Type | Field and Description |
---|---|
pack-priv ArrayList |
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
public boolean | |
public ProviderList. | |
pack-priv ArrayList | |
pack-priv ArrayList | |
private void | |
public int | |
public String |
list | back to summary |
---|---|
pack-priv ArrayList<ProviderList. |
PreferredList | back to summary |
---|---|
pack-priv PreferredList() |
add | back to summary |
---|---|
public boolean add(ProviderList. |
get | back to summary |
---|---|
public ProviderList. |
getAll | back to summary |
---|---|
pack-priv ArrayList |
getAll | back to summary |
---|---|
pack-priv ArrayList |
implGetAll | back to summary |
---|---|
private void implGetAll(ArrayList<ProviderList. |
size | back to summary |
---|---|
public int size() |
toString | back to summary |
---|---|
public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
|
Modifier and Type | Field and Description |
---|---|
private final String | |
private Provider. | |
private final List | |
pack-priv int | |
private int | |
pack-priv ArrayList | |
private int | |
private List | |
private final String |
Access | Constructor and Description |
---|---|
pack-priv | |
pack-priv |
Modifier and Type | Method and Description |
---|---|
private void | |
public boolean | |
public Provider. | |
public void | remove()
Overrides default java. Removes from the underlying collection the last element returned by this iterator (optional operation). |
private Provider. |
algorithm | back to summary |
---|---|
private final String algorithm |
firstService | back to summary |
---|---|
private Provider. |
ids | back to summary |
---|---|
private final List<ServiceId> ids |
index | back to summary |
---|---|
pack-priv int index |
preferredIndex | back to summary |
---|---|
private int preferredIndex |
preferredList | back to summary |
---|---|
pack-priv ArrayList<ProviderList. |
providerIndex | back to summary |
---|---|
private int providerIndex |
services | back to summary |
---|---|
private List<Provider. |
type | back to summary |
---|---|
private final String type |
ServiceIterator | back to summary |
---|---|
pack-priv ServiceIterator(String type, String algorithm) |
ServiceIterator | back to summary |
---|---|
pack-priv ServiceIterator(List<ServiceId> ids) |
addService | back to summary |
---|---|
private void addService(Provider. |
hasNext | back to summary |
---|---|
public boolean hasNext() Implements java. Doc from java. Returns
|
next | back to summary |
---|---|
public Provider. Implements java. Doc from java. Returns the next element in the iteration. |
remove | back to summary |
---|---|
public void remove() Overrides default java. Doc from java. Removes from the underlying collection the last element returned
by this iterator (optional operation). This method can be called
only once per call to The behavior of an iterator is unspecified if the underlying collection is modified while the iteration is in progress in any way other than by calling this method, unless an overriding class has specified a concurrent modification policy.
The behavior of an iterator is unspecified if this method is called
after a call to the
|
tryGet | back to summary |
---|---|
private Provider. |