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.IOException
public static CertificateStatus parse(InputStream input) throws IOException
CertificateStatus
from an InputStream
.input
- the InputStream
to parse from.CertificateStatus
object.IOException
protected static boolean isCorrectType(short statusType, Object response)
Copyright © 2016 BouncyCastle.org. All rights reserved.