java.lang.Object | |
↳ | sun.security.jca.Providers |
Collection of methods to get and set provider list. Also includes special code for the provider list during JAR verification.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Methods to manipulate the thread local provider list.
| |||||||||||
Get the full provider list with invalid providers (those that
could not be loaded) removed.
| |||||||||||
Return the current ProviderList.
| |||||||||||
Set the current ProviderList.
| |||||||||||
Start JAR verification.
| |||||||||||
Stop JAR verification.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Methods to manipulate the thread local provider list. It is for use by JAR verification (see above) and the SunJSSE FIPS mode only. It should be used as follows: ProviderList list = ...; ProviderList oldList = Providers.beginThreadProviderList(list); try { // code that needs thread local provider list } finally { Providers.endThreadProviderList(oldList); }
Get the full provider list with invalid providers (those that could not be loaded) removed. This is the list we need to present to applications.
Return the current ProviderList. If the thread-local list is set, it is returned. Otherwise, the system wide list is returned.
Set the current ProviderList. Affects the thread-local list if set, otherwise the system wide list.
Start JAR verification. This sets a special provider list for the current thread. You MUST save the return value from this method and you MUST call stopJarVerification() with that object once you are done.
Stop JAR verification. Call once you have completed JAR verification.