com.ibm.security.certclient.base

Class PkInitRepEvent

  1. java.lang.Object
  2. extended byjava.util.EventObject
  3. extended bycom.ibm.security.certclient.base.PkEvent
  4. extended bycom.ibm.security.certclient.base.PkRepEvent
  5. extended bycom.ibm.security.certclient.base.PkCertRepEvent
  6. extended bycom.ibm.security.certclient.base.PkInitRepEvent
All implemented interfaces:
Serializable

  1. public class PkInitRepEvent
  2. extends PkCertRepEvent
PKI certificate initialization reply event
Author:
Rod Mancisidor
See Also:
Serialized Form

Field Summary

Fields inherited from class com.ibm.security.certclient.base.PkEvent
msg
Fields inherited from class java.util.EventObject
source

Constructor Summary

Constructor and Description
PkInitRepEvent(Object source,Object msg,PkReqEvent req,Certificate cert)
Constructs a PkInitRepEvent.

Method Summary

Modifier and Type Method and Description
  1. void
write(PkEventFormatter formatter,OutputStream outputStream)
Streams out this event to the outputStream using the formatter.
Methods inherited from class com.ibm.security.certclient.base.PkCertRepEvent
getCert, getCertificateChain, getEncodedCert, getSerialNumber, getSubjectDn, toString
Methods inherited from class com.ibm.security.certclient.base.PkRepEvent
getReq
Methods inherited from class com.ibm.security.certclient.base.PkEvent
getMsg
Methods inherited from class java.util.EventObject
getSource
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail

PkInitRepEvent

  1. public PkInitRepEvent(Object source,
  2. Object msg,
  3. PkReqEvent req,
  4. Certificate cert)
Constructs a PkInitRepEvent.
Parameters:
source - The object that constructs the event. Usually, but not necessarily, the source is an instance of a subclass of * PkActiveSource.
msg - The message that was parsed in order to create this event. msg may be null when the event is not built from a message. The class of msg depends on the PkEventFormatter used to create this event.
req - The request object that caused the creation of this reply. If the reply event is not built as a result of processing a request, then req can be null.
cert - The certificate that was produced to satisfy the request.

Method Detail

write

  1. public void write(PkEventFormatter formatter,
  2. OutputStream outputStream)
  3. throws IOException
  4. PkException
Streams out this event to the outputStream using the formatter.
Overrides:
Parameters:
formatter - The PkEventFormatter that will write the event.
outputStream - The OuputStream where the formatter will write the event.
Throws:
IOException - if the write operation fails for any reason.