|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.rsa.certj.spi.pki.PKIResult
This class captures information returned from a
PKI request message that has been sent over HTTP. The
sendMessage
SPI method in the
PKIInterface
class returns a PKIResult
object.
The information includes the
status of the transaction, whether it succeeded or failed, and
the actual message received.
Constructor Summary |
|
PKIResult(PKIStatusInfo statusInfo)
Constructs a |
|
PKIResult(PKIStatusInfo statusInfo,
byte[] encodedResponse)
Constructs a |
Method Summary |
|
byte[] |
getEncodedResponse()
Returns an encoded response message that was received. |
getStatusInfo()
Returns a |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PKIResult(PKIStatusInfo statusInfo)
PKIResult
object for a transaction
when no response message is received. The status of the
transaction result is provided in statusInfo.Parameters
statusInfo | A |
public PKIResult(PKIStatusInfo statusInfo, byte[] encodedResponse)
PKIResult
object for a transaction
when a response message is received. The status of the
transaction result is contained in statusInfo and the
actual response message received is provided in
encodedResponse.Parameters
statusInfo | A | ||
encodedResponse | A |
Method Detail |
public PKIStatusInfo getStatusInfo()
PKIStatusInfo
object that contains the
status of a PKI transaction.
Returns
PKIStatusInfo
object indicating the
status of a PKI transaction.public byte[] getEncodedResponse()
null
.
Returns
byte
array that contains the encoded message
received.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |