Package org.bouncycastle.tls
Class OCSPStatusRequest
- java.lang.Object
-
- org.bouncycastle.tls.OCSPStatusRequest
-
public class OCSPStatusRequest extends java.lang.ObjectRFC 3546 3.6
-
-
Field Summary
Fields Modifier and Type Field Description protected org.bouncycastle.asn1.x509.ExtensionsrequestExtensionsprotected java.util.VectorresponderIDList
-
Constructor Summary
Constructors Constructor Description OCSPStatusRequest(java.util.Vector responderIDList, org.bouncycastle.asn1.x509.Extensions requestExtensions)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidencode(java.io.OutputStream output)Encode thisOCSPStatusRequestto anOutputStream.org.bouncycastle.asn1.x509.ExtensionsgetRequestExtensions()java.util.VectorgetResponderIDList()static OCSPStatusRequestparse(java.io.InputStream input)Parse anOCSPStatusRequestfrom anInputStream.
-
-
-
Constructor Detail
-
OCSPStatusRequest
public OCSPStatusRequest(java.util.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 Detail
-
getResponderIDList
public java.util.Vector getResponderIDList()
- Returns:
- a
VectorofResponderID
-
getRequestExtensions
public org.bouncycastle.asn1.x509.Extensions getRequestExtensions()
- Returns:
- OCSP request extensions
-
encode
public void encode(java.io.OutputStream output) throws java.io.IOExceptionEncode thisOCSPStatusRequestto anOutputStream.- Parameters:
output- theOutputStreamto encode to.- Throws:
java.io.IOException
-
parse
public static OCSPStatusRequest parse(java.io.InputStream input) throws java.io.IOException
Parse anOCSPStatusRequestfrom anInputStream.- Parameters:
input- theInputStreamto parse from.- Returns:
- an
OCSPStatusRequestobject. - Throws:
java.io.IOException
-
-