Package com.itextpdf.signatures
Class KeyStoreUtil
java.lang.Object
com.itextpdf.signatures.KeyStoreUtil
Utility class with some KeyStore related methods.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic KeyStore
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.
-
Constructor Details
-
KeyStoreUtil
public KeyStoreUtil()
-
-
Method Details
-
loadCacertsKeyStore
Loads the default root certificates at <java.home>/lib/security/cacerts.- Parameters:
provider
- the provider ornull
for the default provider- Returns:
- a
KeyStore
-
loadCacertsKeyStore
Loads the default root certificates at <java.home>/lib/security/cacerts with the default provider.- Returns:
- a
KeyStore
-