|
Oracle Security Developer Tools PKI SDK CMP Java API Reference 10g (10.1.4.0.1) B28166-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.crypto.cmp.PKIMessageBody
oracle.security.crypto.cmp.KeyRecoveryResponse
PKI message body of type Key Recovery Response.
Nested Class Summary |
Nested classes inherited from class oracle.security.crypto.cmp.PKIMessageBody |
PKIMessageBody.Type |
Constructor Summary | |
KeyRecoveryResponse() Create a new, empty KeyRecoveryResponse message body. |
|
KeyRecoveryResponse(java.io.InputStream is) |
|
KeyRecoveryResponse(PKIStatusInfo status) Create a new KeyRecoveryResponse with the given PKIStatusInfo . |
|
KeyRecoveryResponse(PKIStatusInfo status, oracle.security.crypto.cert.X509 newSigCert) Create a new KeyRecoveryResponse with the given PKIStatusInfo and new certificate. |
Method Summary | |
void |
addCACert(oracle.security.crypto.cert.X509 cert) Add a CA certificate to this message body. |
void |
addCertifiedKeyPair(CertifiedKeyPair keyPair) Add a CertifiedKeyPair to the key pair history for this response message body. |
java.util.Vector |
getCACerts() Get the set of CA certificates included in this message. |
java.util.Vector |
getKeyPairHistory() Get the key pair history for this response. |
oracle.security.crypto.cert.X509 |
getNewSigCert() Get the new certificate in this response message body. |
PKIStatusInfo |
getStatus() Get the status info for this message. |
PKIMessageBody.Type |
getType() Returns one of the values defined in PKIMessageBody.Type . |
void |
input(java.io.InputStream is) Initializes this object by reading its encoding from the given input stream. |
java.lang.String |
toString() |
Methods inherited from class oracle.security.crypto.cmp.PKIMessageBody |
inputInstance, length, output |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public KeyRecoveryResponse()
KeyRecoveryResponse
message body. Since such an object is not valid, this constructor is intended primarily for use with the input(java.io.InputStream)
method.public KeyRecoveryResponse(PKIStatusInfo status)
KeyRecoveryResponse
with the given PKIStatusInfo
.public KeyRecoveryResponse(PKIStatusInfo status, oracle.security.crypto.cert.X509 newSigCert)
KeyRecoveryResponse
with the given PKIStatusInfo
and new certificate.public KeyRecoveryResponse(java.io.InputStream is) throws java.io.IOException
Method Detail |
public void addCACert(oracle.security.crypto.cert.X509 cert)
public void addCertifiedKeyPair(CertifiedKeyPair keyPair)
CertifiedKeyPair
to the key pair history for this response message body.public PKIStatusInfo getStatus()
public oracle.security.crypto.cert.X509 getNewSigCert()
public java.util.Vector getCACerts()
Vector
of X509
, if any, otherwise null
.public java.util.Vector getKeyPairHistory()
Vector
of CertifiedKeyPair
, if any, otherwise null
.public PKIMessageBody.Type getType()
PKIMessageBody
PKIMessageBody.Type
.getType
in class PKIMessageBody
public java.lang.String toString()
public void input(java.io.InputStream is) throws java.io.IOException
java.io.IOException
|
Oracle Security Developer Tools PKI SDK CMP Java API Reference 10g (10.1.4.0.1) B28166-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |