com.ibm.security.certclient.base
Class PkXcerRepEvent
- java.lang.Object
java.util.EventObject
com.ibm.security.certclient.base.PkEvent
com.ibm.security.certclient.base.PkRepEvent
com.ibm.security.certclient.base.PkCertRepEvent
com.ibm.security.certclient.base.PkXcerRepEvent
All implemented interfaces:
- public class PkXcerRepEvent
- extends PkCertRepEvent
Author:
Rod Mancisidor
See Also:
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 |
---|
PkXcerRepEvent(Object source,Object msg,PkReqEvent req,Certificate cert)
Constructs a
PkXcerRepEvent .
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
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
PkXcerRepEvent
- public PkXcerRepEvent(Object source,
- Object msg,
- PkReqEvent req,
- Certificate cert)
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
- public void write(PkEventFormatter formatter,
- OutputStream outputStream)
- throws IOException
- PkException
Streams out this event to the
outputStream
using the
formatter
.
Overrides:
write
in class PkCertRepEvent
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.
PkXcerRepEvent
.