Top Description Fields Constructors Methods
org.bouncycastle.tls

public Class OCSPStatusRequest

extends Object
Class Inheritance
Imports
java.io.ByteArrayInputStream, .ByteArrayOutputStream, .IOException, .InputStream, .OutputStream, java.util.Vector, org.bouncycastle.asn1.ASN1Encoding, .ASN1Primitive, org.bouncycastle.asn1.ocsp.ResponderID, org.bouncycastle.asn1.x509.Extensions

RFC 3546 3.6

Field Summary

Modifier and TypeField and Description
protected Extensions
protected Vector<E>

Constructor Summary

AccessConstructor and Description
public
OCSPStatusRequest(Vector<E>
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.
responderIDList
,
Extensions
OCSP request extensions. A null value means that there are no extensions.
requestExtensions
)

Method Summary

Modifier and TypeMethod and Description
public void
encode(OutputStream
the OutputStream to encode to.
output
)

Encode this OCSPStatusRequest to an OutputStream.

public Extensions

Returns:

OCSP request extensions
getRequestExtensions
()

public Vector<E>
public static OCSPStatusRequest

Returns:

an OCSPStatusRequest object.
parse
(InputStream
the InputStream to parse from.
input
)

Parse an OCSPStatusRequest from an InputStream.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

requestExtensionsback to summary
protected Extensions requestExtensions
responderIDListback to summary
protected Vector<E> responderIDList

Constructor Detail

OCSPStatusRequestback to summary
public OCSPStatusRequest(Vector<E> responderIDList, Extensions requestExtensions)
Parameters
responderIDList:Vector<E>

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:Extensions

OCSP request extensions. A null value means that there are no extensions.

Method Detail

encodeback to summary
public void encode(OutputStream output) throws IOException

Encode this OCSPStatusRequest to an OutputStream.

Parameters
output:OutputStream

the OutputStream to encode to.

getRequestExtensionsback to summary
public Extensions getRequestExtensions()
Returns:Extensions

OCSP request extensions

getResponderIDListback to summary
public Vector<E> getResponderIDList()
Returns:Vector<E>

a Vector of ResponderID

parseback to summary
public static OCSPStatusRequest parse(InputStream input) throws IOException

Parse an OCSPStatusRequest from an InputStream.

Parameters
input:InputStream

the InputStream to parse from.

Returns:OCSPStatusRequest

an OCSPStatusRequest object.