|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.rsa.certj.spi.pki.PKIMessage | +--com.rsa.certj.spi.pki.PKIResponseMessage
This class is a subclass of PKIMessage
that is specific to PKI
certification-response messages. It captures
information received from a PKI service provider.
Fields inherited from class com.rsa.certj.spi.pki.PKIMessage |
WRAP_ENVELOPE, WRAP_ENVELOPE_THEN_SIGN, WRAP_NONE, WRAP_SIGN, WRAP_SIGN_THEN_ENVELOPE |
Constructor Summary |
|
PKIResponseMessage(PKIStatusInfo statusInfo)
Constructs a |
Method Summary |
|
getCACerts()
Returns the CA certificates received with the response message. |
|
getCertificate()
Returns the certificate requested and received in the response message. |
|
com.rsa.jsafe.JSAFE_PrivateKey |
getPrivateKey()
Returns the private key received in the response message. |
getRegInfo()
Returns the registration information returned by the PKI server. |
|
getStatusInfo()
Returns the status information of this response message. |
|
void |
setCACerts(Certificate[] caCerts)
Stores the caCerts in this object. |
void |
setCertificate(Certificate certificate)
Stores the certificate in this object. |
void |
setPrivateKey(com.rsa.jsafe.JSAFE_PrivateKey privateKey)
Stores the privateKey in this object. |
void |
setRegInfo(Properties regInfo)
Stores the regInfo in this object. |
Methods inherited from class com.rsa.certj.spi.pki.PKIMessage |
getEncryptionName, getEncryptionParams, getExtraCerts, getExtraCRLs, getFreeText, getMessageTime, getProviderData, getRecipient, getSender, getTransactionID, getVersion, getWrapType, setExtraCerts, setExtraCRLs, setFreeText, setMessageTime, setProviderData, setTransactionID, setVersion, setWrapInfo |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PKIResponseMessage(PKIStatusInfo statusInfo)
PKIResponseMessage
object for the
response status information given in statusInfo.
See the documentation on the PKIStatusInfo
class
and the PKIMessage
constructor for more information
about status and the contents of the response object.
To examine the contents of the PKIResponseMessage
object, use the get*
methods of this class.
To populate this object with the necessary information, use the
setCertificate
, setPrivateKey
,
setRegInfo
, and setCACerts
methods
of this class.Parameters
statusInfo | A |
See Also
setCertificate(com.rsa.certj.cert.Certificate)
setPrivateKey(com.rsa.jsafe.JSAFE_PrivateKey)
setRegInfo(java.util.Properties)
setCACerts(com.rsa.certj.cert.Certificate[])
PKIMessage.PKIMessage()
Method Detail |
public PKIStatusInfo getStatusInfo()
Returns
PKIStatusInfo
object indicating the
status of the response message.public Certificate getCertificate()
Returns
Certificate
that was requested.public void setCertificate(Certificate certificate)
Parameters
certificate | A |
public com.rsa.jsafe.JSAFE_PrivateKey getPrivateKey()
Returns
JSAFE_PrivateKey
returned in the
response message.public void setPrivateKey(com.rsa.jsafe.JSAFE_PrivateKey privateKey)
Parameters
privateKey | A |
public Properties getRegInfo()
Returns
Properties
object indicating the
registration information.public void setRegInfo(Properties regInfo)
Parameters
regInfo | A |
public Certificate[] getCACerts()
Returns
Certificate
array that contains
CA certificates returned.public void setCACerts(Certificate[] caCerts)
Parameters
caCerts | An array of |
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |