org.eparapher.core.crypto
Class EPCryptoProviderManager

java.lang.Object
  extended by org.eparapher.core.crypto.EPCryptoProviderManager

public class EPCryptoProviderManager
extends Object


Constructor Summary
EPCryptoProviderManager()
           
 
Method Summary
static List getAvailableSecurityProviders()
           
static String getDefaultProviderName()
           
static String getKSImpl()
           
static Provider getPKCS11Provider()
           
static Set<Provider.Service> getProvidersServices(Provider prov)
           
static Provider[] getSecurityProviders()
          liste les Security Providers déclarés dans la JVM
static void initCryptoProviders()
           
static boolean InitPKCS11Provider()
          Create a PKCS11 Configuration file
static boolean isUsingIBMPKCS11()
           
static boolean LoadIBMCMSKSProvider()
          Dynamicly load the PKCS11 Provider, depending on the JRE Editor (Sun or IBM) Can be used to read an online (http for ex) PKCS11 configuration file
static boolean LoadPKCS11Provider()
          Dynamicly load the PKCS11 Provider, depending on the JRE Editor (Sun or IBM) Can be used to read an online (http for ex) PKCS11 configuration file
static void removePKCS11Provider()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EPCryptoProviderManager

public EPCryptoProviderManager()
Method Detail

getAvailableSecurityProviders

public static List getAvailableSecurityProviders()

initCryptoProviders

public static void initCryptoProviders()

InitPKCS11Provider

public static boolean InitPKCS11Provider()
Create a PKCS11 Configuration file

Returns:

LoadIBMCMSKSProvider

public static boolean LoadIBMCMSKSProvider()
Dynamicly load the PKCS11 Provider, depending on the JRE Editor (Sun or IBM) Can be used to read an online (http for ex) PKCS11 configuration file

Parameters:
is - input stream for the PKCS11 Configuration

LoadPKCS11Provider

public static boolean LoadPKCS11Provider()
Dynamicly load the PKCS11 Provider, depending on the JRE Editor (Sun or IBM) Can be used to read an online (http for ex) PKCS11 configuration file

Parameters:
is - input stream for the PKCS11 Configuration

removePKCS11Provider

public static void removePKCS11Provider()

getPKCS11Provider

public static Provider getPKCS11Provider()

getKSImpl

public static String getKSImpl()

isUsingIBMPKCS11

public static boolean isUsingIBMPKCS11()

getSecurityProviders

public static Provider[] getSecurityProviders()
liste les Security Providers déclarés dans la JVM


getProvidersServices

public static Set<Provider.Service> getProvidersServices(Provider prov)

getDefaultProviderName

public static String getDefaultProviderName()


Copyright © 2009 eParapher Software Foundation. All Rights Reserved.