public class CertificateStatusRequestItemV2
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.Object |
request |
protected short |
statusType |
Constructor and Description |
---|
CertificateStatusRequestItemV2(short statusType,
java.lang.Object request) |
Modifier and Type | Method and Description |
---|---|
void |
encode(java.io.OutputStream output)
Encode this
CertificateStatusRequestItemV2 to an OutputStream . |
OCSPStatusRequest |
getOCSPStatusRequest() |
java.lang.Object |
getRequest() |
short |
getStatusType() |
protected static boolean |
isCorrectType(short statusType,
java.lang.Object request) |
static CertificateStatusRequestItemV2 |
parse(java.io.InputStream input)
Parse a
CertificateStatusRequestItemV2 from an InputStream . |
public CertificateStatusRequestItemV2(short statusType, java.lang.Object request)
public short getStatusType()
public java.lang.Object getRequest()
public OCSPStatusRequest getOCSPStatusRequest()
public void encode(java.io.OutputStream output) throws java.io.IOException
CertificateStatusRequestItemV2
to an OutputStream
.output
- the OutputStream
to encode to.java.io.IOException
public static CertificateStatusRequestItemV2 parse(java.io.InputStream input) throws java.io.IOException
CertificateStatusRequestItemV2
from an InputStream
.input
- the InputStream
to parse from.CertificateStatusRequestItemV2
object.java.io.IOException
protected static boolean isCorrectType(short statusType, java.lang.Object request)