public class RevocationResponse extends PKIMessageBody
PKIMessageBody.Type| Constructor and Description |
|---|
RevocationResponse()
Creates an empty
RevocationResponse. |
RevocationResponse(java.io.InputStream is) |
RevocationResponse(PKIStatusInfo stat)
Create a new
RevocationReponse message body
with the specified PKIStatuesInfo. |
RevocationResponse(PKIStatusInfo stat,
PKICertID certID)
Create a new
RevocationReponse message body
with the specified PKIStatuesInfo and cert ID. |
| Modifier and Type | Method and Description |
|---|---|
void |
addCRL(CRL crl)
Add a
CRL to this RevocationResponse. |
void |
addStatus(PKIStatusInfo stat)
Add a
PKIStatusInfo to this RevocationResponse
message. |
void |
addStatus(PKIStatusInfo stat,
PKICertID certID)
Add a
PKIStatusInfo and a corresponding
CertId to this RevocationResponse
message. |
java.util.Vector |
getCRLs()
Return the sequence of
CRL. |
java.util.Vector |
getRevCertIDs()
Return the sequence of
CertId. |
java.util.Vector |
getStatus()
Return the sequence of
PKIStatusInfo. |
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() |
inputInstance, length, outputpublic RevocationResponse()
RevocationResponse.
At least one PKIStatusInfo must be added in order
for the message to be valid.public RevocationResponse(PKIStatusInfo stat)
RevocationReponse message body
with the specified PKIStatuesInfo.public RevocationResponse(PKIStatusInfo stat, PKICertID certID)
RevocationReponse message body
with the specified PKIStatuesInfo and cert ID.public RevocationResponse(java.io.InputStream is)
throws java.io.IOException
java.io.IOExceptionpublic void addStatus(PKIStatusInfo stat)
PKIStatusInfo to this RevocationResponse
message. It is an error to invoke both this method and the form
taking a CertId second argument on the same
RevocationResponse object.public void addStatus(PKIStatusInfo stat, PKICertID certID)
PKIStatusInfo and a corresponding
CertId to this RevocationResponse
message. It is an error to invoke both this method and the form
taking a single PKIStatusInfo argument on the same
RevocationResponse object.public void addCRL(CRL crl)
CRL to this RevocationResponse.public java.util.Vector getStatus()
PKIStatusInfo.public java.util.Vector getRevCertIDs()
CertId.public java.util.Vector getCRLs()
CRL.public PKIMessageBody.Type getType()
PKIMessageBodyPKIMessageBody.Type.getType in class PKIMessageBodypublic java.lang.String toString()
toString in class java.lang.Objectpublic void input(java.io.InputStream is)
throws java.io.IOException
java.io.IOException