Package org.bouncycastle.tls
Class OCSPStatusRequest
java.lang.Object
org.bouncycastle.tls.OCSPStatusRequest
RFC 3546 3.6
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.bouncycastle.asn1.x509.Extensionsprotected Vector -
Constructor Summary
ConstructorsConstructorDescriptionOCSPStatusRequest(Vector responderIDList, org.bouncycastle.asn1.x509.Extensions requestExtensions) -
Method Summary
Modifier and TypeMethodDescriptionvoidencode(OutputStream output) Encode thisOCSPStatusRequestto anOutputStream.org.bouncycastle.asn1.x509.Extensionsstatic OCSPStatusRequestparse(InputStream input) Parse anOCSPStatusRequestfrom 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- aVectorofResponderID, 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
VectorofResponderID
-
getRequestExtensions
public org.bouncycastle.asn1.x509.Extensions getRequestExtensions()- Returns:
- OCSP request extensions
-
encode
Encode thisOCSPStatusRequestto anOutputStream.- Parameters:
output- theOutputStreamto encode to.- Throws:
IOException
-
parse
Parse anOCSPStatusRequestfrom anInputStream.- Parameters:
input- theInputStreamto parse from.- Returns:
- an
OCSPStatusRequestobject. - Throws:
IOException
-