public class KeyStoreUtil extends Object
Constructor | Description |
---|---|
KeyStoreUtil() |
Modifier and Type | Method | Description |
---|---|---|
static KeyStore |
loadCacertsKeyStore() |
Loads the default root certificates at <java.home>/lib/security/cacerts
with the default provider.
|
static KeyStore |
loadCacertsKeyStore(String provider) |
Loads the default root certificates at <java.home>/lib/security/cacerts.
|
public static KeyStore loadCacertsKeyStore(String provider)
provider
- the provider or null
for the default providerKeyStore
public static KeyStore loadCacertsKeyStore()
KeyStore
Copyright © 2018. All rights reserved.