|
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.ErrorMessage
PKI message body of type Error Message.
Nested Class Summary |
Nested classes inherited from class oracle.security.crypto.cmp.PKIMessageBody |
PKIMessageBody.Type |
Constructor Summary | |
ErrorMessage(java.io.InputStream is) |
|
ErrorMessage(PKIStatusInfo status) Create a new ErrorMessage with the specified status info. |
|
ErrorMessage(PKIStatusInfo status, java.math.BigInteger code, java.lang.String detail) Create a new ErrorMessage with the specified status info and descriptive string. |
Method Summary | |
void |
addErrorDetail(java.lang.String detail) |
java.math.BigInteger |
getErrorCode() Get the error code for this error message. |
java.lang.String |
getErrorDetail() Returns the error details for this error message. |
java.util.Vector |
getErrorDetails() Returns the error details for this error message as a vector of strings, or null if none are defined. |
PKIStatusInfo |
getStatusInfo() Get the status of this message. |
PKIMessageBody.Type |
getType() Returns one of the values defined in PKIMessageBody.Type . |
void |
input(java.io.InputStream is) |
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 ErrorMessage(PKIStatusInfo status)
ErrorMessage
with the specified status info.status
- the PKIStatusInfo
for this message.public ErrorMessage(PKIStatusInfo status, java.math.BigInteger code, java.lang.String detail)
ErrorMessage
with the specified status info and descriptive string.status
- the PKIStatusInfo
for this message.code
- the implementation-specific error code.public ErrorMessage(java.io.InputStream is) throws java.io.IOException
Method Detail |
public PKIStatusInfo getStatusInfo()
public java.math.BigInteger getErrorCode()
public void addErrorDetail(java.lang.String detail)
public java.lang.String getErrorDetail()
null
if none are defined.String
.public java.util.Vector getErrorDetails()
null
if none are defined.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 |