com.ibm.security.certclient.util

Class PkCertUtils

  1. java.lang.Object
  2. extended bycom.ibm.security.certclient.util.PkCertUtils

  1. public class PkCertUtils
  2. extends Object

Constructor Summary

Constructor and Description
PkCertUtils()

Method Summary

Modifier and Type Method and Description
  1. static
  2. Key[]
generateKeyPair(boolean isRSAKey,int keySize)
  1. static
  2. Key[]
generateKeyPair0(boolean isRSAKey,int keySize)
  1. static
  2. KeyStore
keyStore(String keyStoreType,String fileName,char[] keyStorePwd)
  1. static
  2. X509Certificate
readCert64(String fileName)
  1. static
  2. X509CRL
readCRL(String fileName)
  1. static
  2. void
screenCert(X509Certificate cert,boolean isCA)
  1. static
  2. void
writeCertToFile(X509Certificate cert,String outFileName)
  1. static
  2. void
writeCrlToFile(X509CRL crl,String outFileName)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

PkCertUtils

  1. public PkCertUtils()

Method Detail

screenCert

  1. public static void screenCert(X509Certificate cert,
  2. boolean isCA)
  3. throws PkException
Throws:

writeCrlToFile

  1. public static void writeCrlToFile( X509CRL crl,
  2. String outFileName)

writeCertToFile

  1. public static void writeCertToFile( X509Certificate cert,
  2. String outFileName)

generateKeyPair0

  1. public static Key[] generateKeyPair0( boolean isRSAKey,
  2. int keySize)
  3. throws Exception
Throws:

generateKeyPair

  1. public static Key[] generateKeyPair( boolean isRSAKey,
  2. int keySize)
  3. throws Exception
Throws:

readCert64

  1. public static X509Certificate readCert64( String fileName)
  2. throws Exception
Throws:

readCRL

  1. public static X509CRL readCRL(String fileName)
  2. throws Exception
Throws:

keyStore

  1. public static KeyStore keyStore( String keyStoreType,
  2. String fileName,
  3. char[] keyStorePwd)
  4. throws PkException
Throws: