com.ibm.security.certclient.base

Interface PkListener

All Superinterfaces:
EventListener
All known implementing classes:
PkCertGen, PkCertPath, PkEeXMgr, PkPipe, PkTcpClient

  1. public interface PkListener
  2. extends EventListener
The PkListener interface must be implemented by all PKI beans, except sources.

It defines all the methods a PKI bean must implement. Most PKI beans will want to extend PkPipe instead of implementing this interface directly.

Author:
Rod Mancisidor

Method Summary

Modifier and Type Method and Description
  1. PkCertRepEvent
doCertReq(PkCertReqEvent req)
Returns the reply for a given general certificate request.
  1. PkConfRepEvent
doConfReq(PkConfReqEvent req)
Returns the reply for a given confirm request.
  1. PkGnrlRepEvent
doGnrlReq(PkGnrlReqEvent req)
Returns the reply for a given general request.
  1. PkHttpRepEvent
doHttpReq(PkHttpReqEvent req)
Returns the reply for a given HTTP request.
  1. PkInitRepEvent
doInitReq(PkInitReqEvent req)
Returns the reply for a given initialization request.
  1. PkKrecRepEvent
doKrecReq(PkKrecReqEvent req)
Returns the reply for a given key recovery request.
  1. PkKupdRepEvent
doKupdReq(PkKupdReqEvent req)
Returns the reply for a given key update request.
  1. PkCertRepEvent
doPollReq(PkPollReqEvent req)
Returns the certificate reply for a given polling request.
  1. PkRepEvent
doReq(PkReqEvent req)
Returns the reply for a given request.
  1. PkRevoRepEvent
doRevoReq(PkRevoReqEvent req)
Returns the reply for a given revocation request.
  1. PkSecnRepEvent
doSecnReq(PkSecnReqEvent req)
Returns the reply for a given certificate request.
  1. PkXcerRepEvent
doXcerReq(PkXcerReqEvent req)
Returns the reply for a given cross-certification request.
  1. void
initialize(int level,PkAttrs attrs)
First method invoked on a bean.

Method Detail

initialize

  1. void initialize(int level,
  2. PkAttrs attrs)
  3. throws PkException
First method invoked on a bean. It can be used to initialize the bean. This method may be invoked more than once. beans that have been positioned earlier in the pipeline have their init method invoked before beans that come later in the pipeline. The initialize method is meant to first invoke the init method and then potentially invoke the initialize method on the Pklisteners to this bean.
Parameters:
level - The level of the bean in the pipeline. 0 implies the bean is a PkActiveSource. 1 is given to the next bean after the active source, and so on.
attrs - A set of parameters that can be used to place information that is used by beans downstream during initialization.
Throws:

doReq

  1. PkRepEvent doReq(PkReqEvent req)
  2. throws PkException
Returns the reply for a given request.

This is the most general form of the request handler methods.

Throws:

doHttpReq

  1. PkHttpRepEvent doHttpReq(PkHttpReqEvent req)
  2. throws PkException
Returns the reply for a given HTTP request.
Throws:

doPollReq

  1. PkCertRepEvent doPollReq(PkPollReqEvent req)
  2. throws PkException
Returns the certificate reply for a given polling request.
Throws:

doCertReq

  1. PkCertRepEvent doCertReq(PkCertReqEvent req)
  2. throws PkException
Returns the reply for a given general certificate request.
Throws:

doInitReq

  1. PkInitRepEvent doInitReq(PkInitReqEvent req)
  2. throws PkException
Returns the reply for a given initialization request.
Throws:

doSecnReq

  1. PkSecnRepEvent doSecnReq(PkSecnReqEvent req)
  2. throws PkException
Returns the reply for a given certificate request.
Throws:

doKupdReq

  1. PkKupdRepEvent doKupdReq(PkKupdReqEvent req)
  2. throws PkException
Returns the reply for a given key update request.
Throws:

doXcerReq

  1. PkXcerRepEvent doXcerReq(PkXcerReqEvent req)
  2. throws PkException
Returns the reply for a given cross-certification request.
Throws:

doKrecReq

  1. PkKrecRepEvent doKrecReq(PkKrecReqEvent req)
  2. throws PkException
Returns the reply for a given key recovery request.
Throws:

doRevoReq

  1. PkRevoRepEvent doRevoReq(PkRevoReqEvent req)
  2. throws PkException
Returns the reply for a given revocation request.
Throws:

doGnrlReq

  1. PkGnrlRepEvent doGnrlReq(PkGnrlReqEvent req)
  2. throws PkException
Returns the reply for a given general request.
Throws:

doConfReq

  1. PkConfRepEvent doConfReq(PkConfReqEvent req)
  2. throws PkException
Returns the reply for a given confirm request. For version 2, change void to PkConfRepEvent
Throws: