|
Oracle Security Developer Tools PKI SDK CMP Java API Reference 11g (11.1.1) E10666-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.crypto.cmp.CertResponse
public class CertResponse
Component of a PKI message body sent in response to a PKI certificate request message.
Constructor Summary | |
---|---|
CertResponse() Create a new, empty CertResponse . |
|
CertResponse(java.math.BigInteger certReqID, PKIStatusInfo status) Create a new CertResponse with the specified ID number (corresponding to the approriate CertRequest ), and status info. |
|
CertResponse(java.math.BigInteger certReqID, PKIStatusInfo status, CertifiedKeyPair certKeyPair) Create a new CertResponse with the specified ID number (corresponding to the approriate CertRequest ), status info and CertifiedKeyPair . |
|
CertResponse(java.io.InputStream is) |
|
CertResponse(PKIStatusInfo status) Create a new CertResponse with the specified status info. |
|
CertResponse(PKIStatusInfo status, CertifiedKeyPair certKeyPair) Create a new CertResponse with the specified status info and CertifiedKeyPair . |
Method Summary | |
---|---|
CertifiedKeyPair |
getCertifiedKeyPair() Returns the certificate and optional private key/publication info for this response, or null if none is present. |
java.math.BigInteger |
getCertReqID() Get the ID number to match with the corresponding request. |
UTF8PairsRegInfo |
getResponseInfo() |
PKIStatusInfo |
getStatusInfo() Get the status of the response. |
void |
input(java.io.InputStream is) |
int |
length() |
void |
output(java.io.OutputStream os) |
void |
setResponseInfo(UTF8PairsRegInfo rspInfo) Sets response info for this CertResponse . |
java.lang.String |
toString() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CertResponse()
CertResponse
. Since an object thus created is not valid, this constructor is intended primarily for use with the input(java.io.InputStream)
method.public CertResponse(PKIStatusInfo status)
CertResponse
with the specified status info.public CertResponse(java.math.BigInteger certReqID, PKIStatusInfo status)
CertResponse
with the specified ID number (corresponding to the approriate CertRequest
), and status info.public CertResponse(PKIStatusInfo status, CertifiedKeyPair certKeyPair)
CertResponse
with the specified status info and CertifiedKeyPair
.
Note: A CertifiedKeyPair
containing a certificate may not be included if the response status is REJECTION or WAITING and/or contains failure info. Instead use the CertResponse(PKIStatusInfo)
or CertResponse(BigInteger, PKIStatusInfo)
constructor.
public CertResponse(java.math.BigInteger certReqID, PKIStatusInfo status, CertifiedKeyPair certKeyPair)
CertResponse
with the specified ID number (corresponding to the approriate CertRequest
), status info and CertifiedKeyPair
.
Note: A CertifiedKeyPair
containing a certificate may not be included if the response status is REJECTION or WAITING and/or contains failure info. Instead use the CertResponse(PKIStatusInfo)
or CertResponse(BigInteger, PKIStatusInfo)
constructor.
public CertResponse(java.io.InputStream is) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public java.math.BigInteger getCertReqID()
null
if not specified.public PKIStatusInfo getStatusInfo()
public CertifiedKeyPair getCertifiedKeyPair()
null
if none is present.public void setResponseInfo(UTF8PairsRegInfo rspInfo)
CertResponse
.
Note: Response info may not be included if the response status is WAITING.
public UTF8PairsRegInfo getResponseInfo()
public java.lang.String toString()
toString
in class java.lang.Object
public void input(java.io.InputStream is) throws java.io.IOException
input
in interface oracle.security.crypto.util.Streamable
java.io.IOException
public void output(java.io.OutputStream os) throws java.io.IOException
output
in interface oracle.security.crypto.util.Streamable
java.io.IOException
public int length()
length
in interface oracle.security.crypto.util.Streamable
|
Oracle Security Developer Tools PKI SDK CMP Java API Reference 11g (11.1.1) E10666-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |