public class OCSPStatusRequest
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Extensions |
requestExtensions |
protected java.util.Vector |
responderIDList |
Constructor and Description |
---|
OCSPStatusRequest(java.util.Vector responderIDList,
Extensions requestExtensions) |
Modifier and Type | Method and Description |
---|---|
void |
encode(java.io.OutputStream output)
Encode this
OCSPStatusRequest to an OutputStream . |
Extensions |
getRequestExtensions() |
java.util.Vector |
getResponderIDList() |
static OCSPStatusRequest |
parse(java.io.InputStream input)
Parse an
OCSPStatusRequest from an InputStream . |
protected java.util.Vector responderIDList
protected Extensions requestExtensions
public OCSPStatusRequest(java.util.Vector responderIDList, Extensions requestExtensions)
responderIDList
- a Vector
of ResponderID
, specifying the list of trusted OCSP
responders. An empty list has the special meaning that the responders are
implicitly known to the server - e.g., by prior arrangement.requestExtensions
- OCSP request extensions. A null value means that there are no extensions.public java.util.Vector getResponderIDList()
Vector
of ResponderID
public Extensions getRequestExtensions()
public void encode(java.io.OutputStream output) throws java.io.IOException
OCSPStatusRequest
to an OutputStream
.output
- the OutputStream
to encode to.java.io.IOException
public static OCSPStatusRequest parse(java.io.InputStream input) throws java.io.IOException
OCSPStatusRequest
from an InputStream
.input
- the InputStream
to parse from.OCSPStatusRequest
object.java.io.IOException