com.ibm.security.certclient.fmt
Class PkTcpV10CmpEventFormatter
- java.lang.Object
com.ibm.security.certclient.base.PkEventFormatter
com.ibm.security.certclient.fmt.PkCmpEventFormatter
com.ibm.security.certclient.fmt.PkTcpV10CmpEventFormatter
All implemented interfaces:
- public class PkTcpV10CmpEventFormatter
- extends PkCmpEventFormatter
Author:
Rod Mancisidor , Krishna Yellepeddy
Field Summary
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.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 |
---|
PkTcpV10CmpEventFormatter()
|
Method Summary
Modifier and Type | Method and Description |
---|---|
readEvent(Object source,InputStream is,PkReqEvent req)
|
|
|
writeCertRep(PkCertRepEvent rep,OutputStream out)
|
|
writeCertReq(PkCertReqEvent req,OutputStream out)
|
|
writeConfRep(PkConfRepEvent rep,OutputStream out)
|
|
writeConfReq(PkConfReqEvent req,OutputStream out)
|
|
writeException(Exception e,OutputStream out)
|
|
writePollReq(PkPollReqEvent req,OutputStream out)
|
|
writeRevoRep(PkRevoRepEvent rep,OutputStream out)
|
|
writeRevoReq(PkRevoReqEvent req,OutputStream out)
|
|
writeSecnReq(PkSecnReqEvent req,OutputStream out)
|
|
writeXcerRep(PkXcerRepEvent rep,OutputStream out)
|
|
writeXcerReq(PkXcerReqEvent req,OutputStream out)
|
Methods inherited from class com.ibm.security.certclient.fmt.PkCmpEventFormatter |
---|
writeSecnRep |
Methods inherited from class com.ibm.security.certclient.base.PkEventFormatter |
---|
writeEvent, writeGnrlRep, writeGnrlReq, writeHttpRep, writeHttpReq, writeInitRep, writeInitReq, writeKrecRep, writeKrecReq, writeKupdRep, writeKupdReq, writeRep, writeReq, writeSecnRep |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
PkTcpV10CmpEventFormatter
- public PkTcpV10CmpEventFormatter( )
Method Detail
readEvent
- public PkEvent readEvent(Object source,
- InputStream is,
- PkReqEvent req)
- throws PkException
- IOException
Returns a new instance of a subclass of PkEvent by reading it from an
inputStream. This is a factory method.
Overrides:
readEvent
in class PkCmpEventFormatter
Parameters:
source
- The instance that creates the event. Usually
this
. is
- The inputstream from which the event is read. req
- The request that generated the corresponding reply. This
parameter can be null when readEvent is expected to return
a PkReqevent
. Throws:
writeException
- public void writeException(Exception e,
- OutputStream out)
- throws IOException
Description copied from class:
PkEventFormatter
Writes the exception
e
to the ouputStream
Overrides:
writeException
in class PkCmpEventFormatter
Parameters:
e
- The exception to write. out
- The output stream where the exception will be
written. Throws:
writeCertReq
- public void writeCertReq(PkCertReqEvent req,
- OutputStream out)
- throws IOException
- PkException
Description copied from class:
PkEventFormatter
Writes a
PkCertReqEvent
to the outputStream
.
This implementation simply invokes the writeReq
method.
Overrides:
writeCertReq
in class PkCmpEventFormatter
writeCertRep
- public void writeCertRep(PkCertRepEvent rep,
- OutputStream out)
- throws IOException
- PkException
Description copied from class:
PkEventFormatter
Writes a
PkCertRepEvent
to the outputStream
.
This implementation simply invokes the writeRep
method.
Overrides:
writeCertRep
in class PkCmpEventFormatter
writeRevoReq
- public void writeRevoReq(PkRevoReqEvent req,
- OutputStream out)
- throws IOException
- PkException
Description copied from class:
PkEventFormatter
Writes a
PkRevoReqEvent
to the outputStream
.
This implementation simply invokes the writeReq
method.
Overrides:
writeRevoReq
in class PkCmpEventFormatter
writeConfReq
- public void writeConfReq(PkConfReqEvent req,
- OutputStream out)
- throws IOException
Description copied from class:
PkEventFormatter
Writes a
PkConfReqEvent
to the outputStream
.
This implementation simply invokes the writeReq
method.
Overrides:
writeConfReq
in class PkCmpEventFormatter
Throws:
writeSecnReq
- public void writeSecnReq(PkSecnReqEvent req,
- OutputStream out)
- throws IOException
- PkException
Description copied from class:
PkEventFormatter
Writes a
PkSecnReqEvent
to the outputStream
.
This implementation simply invokes the writeCertReq
method.
Overrides:
writeSecnReq
in class PkCmpEventFormatter
writeXcerReq
- public void writeXcerReq(PkXcerReqEvent req,
- OutputStream out)
- throws IOException
- PkException
Description copied from class:
PkEventFormatter
Writes a
PkXcerReqEvent
to the outputStream
.
This implementation simply invokes the writeCertReq
method.
Overrides:
writeXcerReq
in class PkCmpEventFormatter
writeRevoRep
- public void writeRevoRep(PkRevoRepEvent rep,
- OutputStream out)
- throws IOException
Description copied from class:
PkEventFormatter
Writes a
PkRevoRepEvent
to the outputStream
.
This implementation simply invokes the writeRep
method.
Overrides:
writeRevoRep
in class PkCmpEventFormatter
Throws:
writeXcerRep
- public void writeXcerRep(PkXcerRepEvent rep,
- OutputStream out)
- throws IOException
- PkException
Description copied from class:
PkEventFormatter
Writes a
PkXcerRepEvent
to the outputStream
.
This implementation simply invokes the writeCertRep
method.
Overrides:
writeXcerRep
in class PkCmpEventFormatter
writeConfRep
- public void writeConfRep(PkConfRepEvent rep,
- OutputStream out)
- throws IOException
Description copied from class:
PkEventFormatter
Writes a
PkConfRepEvent
to the outputStream
.
This implementation simply invokes the writeRep
method.
Overrides:
writeConfRep
in class PkCmpEventFormatter
Throws:
writePollReq
- public void writePollReq(PkPollReqEvent req,
- OutputStream out)
- throws IOException
Description copied from class:
PkEventFormatter
Writes a
PkPollReqEvent
to the outputStream
.
This implementation simply invokes the writeReq
method.
Overrides:
writePollReq
in class PkEventFormatter
Throws:
PkEventFormatter