com.ibm.security.certclient.fmt
Class PkBase64PkcsEventFormatter
- java.lang.Object
com.ibm.security.certclient.base.PkEventFormatter
com.ibm.security.certclient.fmt.PkPkcsEventFormatter
com.ibm.security.certclient.fmt.PkBase64PkcsEventFormatter
All implemented interfaces:
- public final class PkBase64PkcsEventFormatter
- extends PkPkcsEventFormatter
- implements PkConstants
Author:
Krishna Yellepeddy , Eric Storch
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 |
|---|
PkBase64PkcsEventFormatter()
|
Method Summary
| Modifier and Type | Method and Description |
|---|---|
readEvent(Object source,InputStream in,PkReqEvent req)
|
|
|
writeCertRep(PkCertRepEvent rep,OutputStream out)
|
|
writeCertReq(PkCertReqEvent req,OutputStream out)
|
| Methods inherited from class com.ibm.security.certclient.fmt.PkPkcsEventFormatter |
|---|
readCertRepEvent, readCertReqEvent, writeException |
| Methods inherited from class com.ibm.security.certclient.base.PkEventFormatter |
|---|
writeConfRep, writeConfReq, writeEvent, writeGnrlRep, writeGnrlReq, writeHttpRep, writeHttpReq, writeInitRep, writeInitReq, writeKrecRep, writeKrecReq, writeKupdRep, writeKupdReq, writePollReq, writeRep, writeReq, writeRevoRep, writeRevoReq, writeSecnRep, writeSecnReq, writeXcerRep, writeXcerReq |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
PkBase64PkcsEventFormatter
- public PkBase64PkcsEventFormatter( )
Method Detail
readEvent
- public PkEvent readEvent(Object source,
- InputStream in,
- 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 PkPkcsEventFormatter
Parameters:
source - The instance that creates the event. Usually
this. in - 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:
writeCertReq
- public void writeCertReq(PkCertReqEvent req,
- OutputStream out)
- throws IOException
Description copied from class:
PkEventFormatter
Writes a
PkCertReqEvent to the outputStream.
This implementation simply invokes the writeReq method.
Overrides:
writeCertReq in class PkPkcsEventFormatter
Throws:
writeCertRep
- public void writeCertRep(PkCertRepEvent rep,
- OutputStream out)
- throws IOException
Description copied from class:
PkEventFormatter
Writes a
PkCertRepEvent to the outputStream.
This implementation simply invokes the writeRep method.
Overrides:
writeCertRep in class PkPkcsEventFormatter
Throws:
PkEventFormatter