com.ibm.security.certclient

Class PkEeFactory

  1. java.lang.Object
  2. extended bycom.ibm.security.certclient.PkEeFactory
Direct known subclasses:
PkEeCertReq10Factory, PkEeCertReqFactory, PkEeRevokeFactory

  1. public abstract class PkEeFactory
  2. extends Object
Class to maintain EE configuration values. These values if set are the defaults used by all transaction factories. Note that passwords and EE domain have no defaults.

Field Summary

Modifier and Type Field and Description
  1. protected static
  2. String
CA_DN
  1. protected static
  2. String
caDn
  1. protected static
  2. int
caPort
  1. protected static
  2. com.ibm.security.certclient.base.PkEventFormatter
cmpEvntFmt
  1. protected static
  2. String
keystoreFilename
  1. protected static
  2. char[]
keystorePwd
  1. protected static
  2. String
keyStoreType
  1. protected static
  2. String
provider

Constructor Summary

Constructor and Description
PkEeFactory()

Method Summary

Modifier and Type Method and Description
  1. static
  2. String
getCA_DN()
  1. static
  2. String
getCaDn()
  1. static
  2. int
getCaPort()
  1. static
  2. com.ibm.security.certclient.base.PkEventFormatter
getCmpFmt()
  1. static
  2. String
getKeystoreFilename()
  1. static
  2. String
getKeyStoreType()
  1. static
  2. String
getProvider()
  1. static
  2. void
setCA_DN(String ca_dn)
  1. static
  2. void
setCaDn(String caDn)
  1. static
  2. void
setCaPort(int caPort)
  1. static
  2. void
setKeystoreFilename(String keystoreFilename)
  1. static
  2. void
setKeystorePwd(char[] keystorePwd)
  1. static
  2. void
setKeyStoreType(String keyStoreType)
  1. static
  2. void
setProvider(String provider)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

caDn

  1. protected static String caDn

caPort

  1. protected static int caPort

keyStoreType

  1. protected static String keyStoreType

keystorePwd

  1. protected static char[] keystorePwd

keystoreFilename

  1. protected static String keystoreFilename

provider

  1. protected static String provider

CA_DN

  1. protected static String CA_DN

cmpEvntFmt

  1. protected static com.ibm.security.certclient.base.PkEventFormatter cmpEvntFmt

Constructor Detail

PkEeFactory

  1. public PkEeFactory()

Method Detail

getCA_DN

  1. public static String getCA_DN()
Returns:
Returns the domain name to be appended to the EE name to provide the subject name for certificates

setCA_DN

  1. public static void setCA_DN(String ca_dn)
Parameters:
ca_dn - Set the domain name to be used by this EE.

getCaDn

  1. public static String getCaDn()
Returns:
Returns the distinguished name of the CA host

setCaDn

  1. public static void setCaDn(String caDn)
Parameters:
caDn - Set the DN of the CA host. Default is "localhost".

getCaPort

  1. public static int getCaPort()
Returns:
Returns the port to be used for communication with the CA

setCaPort

  1. public static void setCaPort(int caPort)
Parameters:
caPort - Set the port to be used for communication with the CA. Default is 1077.

getKeystoreFilename

  1. public static String getKeystoreFilename( )
Returns:
Returns the keystoreFilename used by the EE.

setKeystoreFilename

  1. public static void setKeystoreFilename( String keystoreFilename)
Parameters:
keystoreFilename - The keystoreFilename to set. Default is "eeStore"

setKeystorePwd

  1. public static void setKeystorePwd( char[] keystorePwd)
Parameters:
keystorePwd - The keystorePwd to set.

getKeyStoreType

  1. public static String getKeyStoreType( )
Returns:
Returns the keyStoreType.

setKeyStoreType

  1. public static void setKeyStoreType( String keyStoreType)
Parameters:
keyStoreType - The keyStoreType to set. Defaults to "jks".

getProvider

  1. public static String getProvider( )
Returns:
Returns the Java Security provider being used by the EE.

setProvider

  1. public static void setProvider( String provider)
Parameters:
provider - Sets the Java Security provider to be used. Defaults to "IBMJCE"

getCmpFmt

  1. public static com.ibm.security.certclient.base.PkEventFormatter getCmpFmt( )
Returns:
Returns the CMP event formatter class for the EE.