org.eparapher.core.crypto.keystore
Class EPKeystoreUtils

java.lang.Object
  extended by org.eparapher.core.crypto.keystore.EPKeystoreUtils

public class EPKeystoreUtils
extends Object


Constructor Summary
EPKeystoreUtils()
           
 
Method Summary
static boolean exportUserKSCerts(String[] alias_array, String directory)
           
static boolean exportUserKSPKAndCerts(String[] alias_array, KeyStore ks_dest, String password, boolean keepKSPassword)
           
static KeyStore initNewKeystore(String ks_type, String password)
           
static boolean isCertificateTrusted(X509Certificate cert)
           
static boolean saveKeystore(KeyStore ks, String file, String password)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EPKeystoreUtils

public EPKeystoreUtils()
Method Detail

initNewKeystore

public static KeyStore initNewKeystore(String ks_type,
                                       String password)

saveKeystore

public static boolean saveKeystore(KeyStore ks,
                                   String file,
                                   String password)

isCertificateTrusted

public static boolean isCertificateTrusted(X509Certificate cert)

exportUserKSPKAndCerts

public static boolean exportUserKSPKAndCerts(String[] alias_array,
                                             KeyStore ks_dest,
                                             String password,
                                             boolean keepKSPassword)

exportUserKSCerts

public static boolean exportUserKSCerts(String[] alias_array,
                                        String directory)


Copyright © 2009 eParapher Software Foundation. All Rights Reserved.