Class KeyStoreUtil

java.lang.Object
com.itextpdf.signatures.KeyStoreUtil

public class KeyStoreUtil extends Object
Utility class with some KeyStore related methods.
  • Constructor Details

    • KeyStoreUtil

      public KeyStoreUtil()
  • Method Details

    • loadCacertsKeyStore

      public static KeyStore loadCacertsKeyStore (String provider)
      Loads the default root certificates at /lib/security/cacerts.
      Parameters:
      provider - the provider or null for the default provider
      Returns:
      a KeyStore
    • loadCacertsKeyStore

      public static KeyStore loadCacertsKeyStore()
      Loads the default root certificates at /lib/security/cacerts with the default provider.
      Returns:
      a KeyStore