private static final class TrustStoreManager.TrustAnchorManager extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
private WeakReference<Set<X509Certificate>> |
csRef |
private TrustStoreManager.TrustStoreDescriptor |
descriptor |
private List<TrustStoreManager.TrustStoreDescriptor> |
descriptors |
private WeakReference<KeyStore> |
ksRef |
| 限定符 | 构造器和说明 |
|---|---|
private |
TrustAnchorManager() |
| 限定符和类型 | 方法和说明 |
|---|---|
private KeyStore |
createEmptyKeyStore(TrustStoreManager.TrustStoreDescriptor descriptor)
Create empty key store
|
(专用程序包) KeyStore |
getKeyStore(List<TrustStoreManager.TrustStoreDescriptor> descriptors)
Get the default trusted KeyStore with the specified descriptor.
|
(专用程序包) KeyStore |
getKeyStore(TrustStoreManager.TrustStoreDescriptor descriptor)
Get the default trusted KeyStore with the specified descriptor.
|
(专用程序包) Set<X509Certificate> |
getTrustedCerts(List<TrustStoreManager.TrustStoreDescriptor> descriptors)
Get trusted certificates in the default trusted KeyStore with
the specified descriptor.
|
(专用程序包) Set<X509Certificate> |
getTrustedCerts(TrustStoreManager.TrustStoreDescriptor descriptor)
Get trusted certificates in the default trusted KeyStore with
the specified descriptor.
|
private KeyStore |
loadKeyStore(List<TrustStoreManager.TrustStoreDescriptor> descriptors)
Load the the KeyStore as described in the specified descriptors.
|
private static KeyStore |
loadKeyStore(TrustStoreManager.TrustStoreDescriptor descriptor)
Load the the KeyStore as described in the specified descriptor.
|
private static Set<X509Certificate> |
loadTrustedCerts(KeyStore ks)
Load trusted certificates from the specified KeyStore.
|
private TrustStoreManager.TrustStoreDescriptor descriptor
private List<TrustStoreManager.TrustStoreDescriptor> descriptors
private WeakReference<KeyStore> ksRef
private WeakReference<Set<X509Certificate>> csRef
KeyStore getKeyStore(TrustStoreManager.TrustStoreDescriptor descriptor) throws Exception
ExceptionSet<X509Certificate> getTrustedCerts(TrustStoreManager.TrustStoreDescriptor descriptor) throws Exception
Exceptionprivate static KeyStore loadKeyStore(TrustStoreManager.TrustStoreDescriptor descriptor) throws Exception
Exceptionprivate static Set<X509Certificate> loadTrustedCerts(KeyStore ks)
KeyStore getKeyStore(List<TrustStoreManager.TrustStoreDescriptor> descriptors) throws Exception
ExceptionSet<X509Certificate> getTrustedCerts(List<TrustStoreManager.TrustStoreDescriptor> descriptors) throws Exception
Exceptionprivate KeyStore loadKeyStore(List<TrustStoreManager.TrustStoreDescriptor> descriptors) throws Exception
Exceptionprivate KeyStore createEmptyKeyStore(TrustStoreManager.TrustStoreDescriptor descriptor) throws Exception
ExceptionCopyright © 2023. All rights reserved.