com.itextpdf.text.pdf.security
Class KeyStoreUtil

java.lang.Object
  extended by com.itextpdf.text.pdf.security.KeyStoreUtil

public class KeyStoreUtil
extends Object

Utility class with some KeyStore related methods.


Constructor Summary
KeyStoreUtil()
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyStoreUtil

public KeyStoreUtil()
Method Detail

loadCacertsKeyStore

public static KeyStore loadCacertsKeyStore(String provider)
Loads the default root certificates at <java.home>/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 <java.home>/lib/security/cacerts with the default provider.

Returns:
a KeyStore


Copyright © 2013. All Rights Reserved.