|
Oracle Fusion Middleware PKI SDK CMP Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10666-04 |
||||||||
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
public class KeyRecoveryResponse
PKI message body of type Key Recovery Response.
Nested Class Summary |
---|
Nested classes/interfaces 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, java.security.cert.X509Certificate newSigCert) Create a new KeyRecoveryResponse with the given PKIStatusInfo and new certificate. |
Method Summary | |
---|---|
void |
addCACert(java.security.cert.X509Certificate 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. |
java.security.cert.X509Certificate |
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, java.security.cert.X509Certificate newSigCert) throws java.security.cert.CertificateEncodingException
KeyRecoveryResponse
with the given PKIStatusInfo
and new certificate.
Note the changes in the method signature
Previuosly public KeyRecoveryResponse (PKIStatusInfo , X509 )
Now public KeyRecoveryResponse (PKIStatusInfo, X509Certificate )
java.security.cert.CertificateEncodingException
public KeyRecoveryResponse(java.io.InputStream is) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public void addCACert(java.security.cert.X509Certificate cert)
Note the changes in the method signature
Previously public void addCACert (X509)
Now public void addCACert (X509Certificate )
public void addCertifiedKeyPair(CertifiedKeyPair keyPair)
CertifiedKeyPair
to the key pair history for this response message body.public PKIStatusInfo getStatus()
public java.security.cert.X509Certificate getNewSigCert()
public java.util.Vector getCACerts()
Vector
of X509Certificate
, 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()
toString
in class java.lang.Object
public void input(java.io.InputStream is) throws java.io.IOException
java.io.IOException
|
Oracle Fusion Middleware PKI SDK CMP Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10666-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |