com.ibm.security.certclient.beans

Class PkCertGen

  1. java.lang.Object
  2. extended bycom.ibm.security.certclient.base.PkSource
  3. extended bycom.ibm.security.certclient.base.PkPipe
  4. extended bycom.ibm.security.certclient.beans.PkCertGen
All implemented interfaces:
PkAttrKind, PkCertConstants, PkConstants, PkHttpConstants, PkListener, PkPollConstants, PkRevoConstants, EventListener

  1. public class PkCertGen
  2. extends PkPipe
  3. implements PkConstants
generate a certificate reply by taking all approved and applied attributes to generate a certificate and sign it.
Author:
Rod Mancisidor , Krishna Yellepeddy

Field Summary

Fields inherited from class com.ibm.security.certclient.base.PkSource
isInitialized
Fields inherited from interface com.ibm.security.certclient.base.PkConstants
BIG_ONE, BIG_TWO, PKI_DB_CONN, PKI_DB_CONNS, PKI_ISSUER_DN, PKI_ISSUER_HOST, PKI_ISSUER_PORT, PKI_OPER, PKI_ROOT
Fields inherited from interface com.ibm.security.certclient.base.PkAttrKind
ATTR_APPLIED, ATTR_APPROVED, ATTR_NAMES
Fields inherited from interface com.ibm.security.certclient.base.PkCertConstants
CERT_ALGORITHM_ID, CERT_ALGORITHM_NAME, CERT_ALTERNATIVE_NAME, CERT_AUTH_KEY_IDENTIFIER, CERT_BASIC_CONSTRAINTS, CERT_CA_PUBS, CERT_CA_VENDOR, CERT_CMP_VERSION, CERT_CRL_DISTRIBUTION_POINTS, CERT_EXT, CERT_EXT_KEY_USAGE, CERT_HIERARCHICAL, CERT_INIT_PWD, CERT_ISSUER, CERT_ISSUER_ID, CERT_KEY, CERT_KEY_IDENTIFIER, CERT_KEY_TYPE, CERT_KEY_USAGE, CERT_MESSAGE_PROTECTED, CERT_MESSAGE_PROTECTION_ALGORITHM_ID, CERT_MESSAGE_PROTECTION_ALGORITHM_NAME, CERT_MESSAGE_PROTECTION_KEY, CERT_MESSAGE_PROTECTION_PWD, CERT_NAME_CONSTRAINTS, CERT_NETSCAPE_CERT_TYPE, CERT_NOT_AFTER, CERT_NOT_BEFORE, CERT_OPER, CERT_OUTFILENAME, CERT_POLICY_CONSTRAINTS, CERT_POLICY_MAPPINGS, CERT_PRIVATE_KEY, CERT_PRIVATE_KEY_EE, CERT_PRIVATE_KEY_USAGE, CERT_PROVIDER, CERT_PUBLISH_IMMEDIATELY, CERT_RECIPIENT_DN, CERT_REP_HDR, CERT_REQ_ID, CERT_REVO_PUBLIC_KEY, CERT_REVOCATION_PASSPHRASE, CERT_ROOT, CERT_SENDER_KID, CERT_SERIAL_NUMBER, CERT_SUBJECT, CERT_SUBJECT_ALTERNATIVE_NAME, CERT_SUBJECT_ID, CERT_TIME_TO_CHECK_BACK, CERT_VENDOR_TPKI_RA_ENROLL, CERT_VERSION, CERT_VERSION_1, CERT_VERSION_2, CERT_VERSION_3, CERT_X509, KEY_STORE_CERT_ALIAS, KEY_STORE_ENTRY_PWD, KEY_STORE_INIT_CERT_ALIAS, KEY_STORE_INIT_ENTRY_PWD, MAKE_CONF_REQUEST_MESSAGE, MAX_SUBJECT_NAME_LENGTH_TO_STORE_IN_TABLES, sccsid
Fields inherited from interface com.ibm.security.certclient.base.PkRevoConstants
REVO_BAD_SINCE_DATE, REVO_CRL_EXT, REVO_OPER, REVO_PUBLISH_IMMEDIATELY, REVO_REASON, REVO_ROOT
Fields inherited from interface com.ibm.security.certclient.base.PkHttpConstants
HTTP_BASE_NAME, HTTP_FILE_NAME, HTTP_METHOD, HTTP_ROOT, HTTP_VERSION
Fields inherited from interface com.ibm.security.certclient.base.PkPollConstants
POLL_REFERENCE, POLL_ROOT, POLL_TIME_TO_CHECK_BACK

Constructor Summary

Constructor and Description
PkCertGen(String provider)

Method Summary

Modifier and Type Method and Description
  1. PkCertRepEvent
doCertReq(PkCertReqEvent req)
  1. PkInitRepEvent
doInitReq(PkInitReqEvent req)
  1. PkKupdRepEvent
doKupdReq(PkKupdReqEvent req)
  1. PkSecnRepEvent
doSecnReq(PkSecnReqEvent req)
  1. PkXcerRepEvent
doXcerReq(PkXcerReqEvent req)
Methods inherited from class com.ibm.security.certclient.base.PkPipe
doConfReq, doGnrlReq, doHttpReq, doKrecReq, doPollReq, doReq, doRevoReq
Methods inherited from class com.ibm.security.certclient.base.PkSource
addPkListener, init, initialize, initNext, propagate, propagate, propagate, propagate, propagate, propagate, propagate, propagate, propagate, propagate, propagate, removePkListener, replacePkListener
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.ibm.security.certclient.base.PkListener
initialize

Constructor Detail

PkCertGen

  1. public PkCertGen(String provider)

Method Detail

doCertReq

  1. public PkCertRepEvent doCertReq( PkCertReqEvent req)
  2. throws PkException
Description copied from class: PkPipe
Returns the general certificate reply for a given general certificate request.

This is a general form of the certificate request handler methods, it gets called when the bean has not provided a more specific method to handle the request. The more specific methods are:

  • doInitReq
  • doSecnReq
  • doKupdReq
  • doXCerReq
This implementation simply invokes the doReq method.
Specified by:
doCertReq in interface PkListener
Overrides:
doCertReq in class PkPipe
Throws:

doInitReq

  1. public PkInitRepEvent doInitReq( PkInitReqEvent req)
  2. throws PkException
Description copied from class: PkPipe
Returns the initialization reply for a given initialization request.

This implementation simply invokes the doCertReq method.

Specified by:
doInitReq in interface PkListener
Overrides:
doInitReq in class PkPipe
Throws:

doSecnReq

  1. public PkSecnRepEvent doSecnReq( PkSecnReqEvent req)
  2. throws PkException
Description copied from class: PkPipe
Returns the certification reply for a given certification request.

This implementation simply invokes the doCertReq method.

Specified by:
doSecnReq in interface PkListener
Overrides:
doSecnReq in class PkPipe
Throws:

doKupdReq

  1. public PkKupdRepEvent doKupdReq( PkKupdReqEvent req)
  2. throws PkException
Description copied from class: PkPipe
Returns the key update reply for a given key update request.

This implementation simply invokes the doCertReq method.

Specified by:
doKupdReq in interface PkListener
Overrides:
doKupdReq in class PkPipe
Throws:

doXcerReq

  1. public PkXcerRepEvent doXcerReq( PkXcerReqEvent req)
  2. throws PkException
Description copied from class: PkPipe
Returns the cross-certificate reply for a given cross-certificate request.

This implementation simply invokes the doCertReq method.

Specified by:
doXcerReq in interface PkListener
Overrides:
doXcerReq in class PkPipe
Throws: