Package org.bouncycastle.tls
Class OCSPStatusRequest
java.lang.Object
org.bouncycastle.tls.OCSPStatusRequest
RFC 3546 3.6
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.bouncycastle.asn1.x509.Extensions
protected Vector
-
Constructor Summary
ConstructorDescriptionOCSPStatusRequest
(Vector responderIDList, org.bouncycastle.asn1.x509.Extensions requestExtensions) -
Method Summary
Modifier and TypeMethodDescriptionvoid
encode
(OutputStream output) Encode thisOCSPStatusRequest
to anOutputStream
.org.bouncycastle.asn1.x509.Extensions
static OCSPStatusRequest
parse
(InputStream input) Parse anOCSPStatusRequest
from anInputStream
.
-
Field Details
-
responderIDList
-
requestExtensions
protected org.bouncycastle.asn1.x509.Extensions requestExtensions
-
-
Constructor Details
-
OCSPStatusRequest
public OCSPStatusRequest(Vector responderIDList, org.bouncycastle.asn1.x509.Extensions requestExtensions) - Parameters:
responderIDList
- aVector
ofResponderID
, 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.
-
-
Method Details
-
getResponderIDList
- Returns:
- a
Vector
ofResponderID
-
getRequestExtensions
public org.bouncycastle.asn1.x509.Extensions getRequestExtensions()- Returns:
- OCSP request extensions
-
encode
Encode thisOCSPStatusRequest
to anOutputStream
.- Parameters:
output
- theOutputStream
to encode to.- Throws:
IOException
-
parse
Parse anOCSPStatusRequest
from anInputStream
.- Parameters:
input
- theInputStream
to parse from.- Returns:
- an
OCSPStatusRequest
object. - Throws:
IOException
-