public class CertificateStatus
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
protected java.lang.Object |
response |
|
protected short |
statusType |
| Constructor | Description |
|---|---|
CertificateStatus(short statusType,
java.lang.Object response) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
encode(java.io.OutputStream output) |
Encode this
CertificateStatus to an OutputStream. |
OCSPResponse |
getOCSPResponse() |
|
java.lang.Object |
getResponse() |
|
short |
getStatusType() |
|
protected static boolean |
isCorrectType(short statusType,
java.lang.Object response) |
|
static CertificateStatus |
parse(java.io.InputStream input) |
Parse a
CertificateStatus from an InputStream. |
public CertificateStatus(short statusType,
java.lang.Object response)
public short getStatusType()
public java.lang.Object getResponse()
public OCSPResponse getOCSPResponse()
public void encode(java.io.OutputStream output)
throws java.io.IOException
CertificateStatus to an OutputStream.output - the OutputStream to encode to.java.io.IOExceptionpublic static CertificateStatus parse(java.io.InputStream input) throws java.io.IOException
CertificateStatus from an InputStream.input - the InputStream to parse from.CertificateStatus object.java.io.IOExceptionprotected static boolean isCorrectType(short statusType,
java.lang.Object response)