public class CertificateStatus extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Object |
response |
protected short |
statusType |
| Constructor and Description |
|---|
CertificateStatus(short statusType,
Object response) |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(OutputStream output)
Encode this
CertificateStatus to an OutputStream. |
OCSPResponse |
getOCSPResponse() |
Object |
getResponse() |
short |
getStatusType() |
protected static boolean |
isCorrectType(short statusType,
Object response) |
static CertificateStatus |
parse(InputStream input)
Parse a
CertificateStatus from an InputStream. |
protected short statusType
protected Object response
public CertificateStatus(short statusType,
Object response)
public short getStatusType()
public Object getResponse()
public OCSPResponse getOCSPResponse()
public void encode(OutputStream output) throws IOException
CertificateStatus to an OutputStream.output - the OutputStream to encode to.IOExceptionpublic static CertificateStatus parse(InputStream input) throws IOException
CertificateStatus from an InputStream.input - the InputStream to parse from.CertificateStatus object.IOExceptionprotected static boolean isCorrectType(short statusType,
Object response)
Copyright © 2015–2019 The veraPDF Consortium. All rights reserved.