Class OCSPStatusRequest


  • public class OCSPStatusRequest
    extends java.lang.Object
    RFC 3546 3.6
    • Field Detail

      • responderIDList

        protected java.util.Vector responderIDList
      • requestExtensions

        protected org.bouncycastle.asn1.x509.Extensions requestExtensions
    • Constructor Detail

      • OCSPStatusRequest

        public OCSPStatusRequest​(java.util.Vector responderIDList,
                                 org.bouncycastle.asn1.x509.Extensions requestExtensions)
        Parameters:
        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.
    • Method Detail

      • getResponderIDList

        public java.util.Vector getResponderIDList()
        Returns:
        a Vector of ResponderID
      • getRequestExtensions

        public org.bouncycastle.asn1.x509.Extensions getRequestExtensions()
        Returns:
        OCSP request extensions
      • encode

        public void encode​(java.io.OutputStream output)
                    throws java.io.IOException
        Encode this OCSPStatusRequest to an OutputStream.
        Parameters:
        output - the OutputStream to encode to.
        Throws:
        java.io.IOException
      • parse

        public static OCSPStatusRequest parse​(java.io.InputStream input)
                                       throws java.io.IOException
        Parse an OCSPStatusRequest from an InputStream.
        Parameters:
        input - the InputStream to parse from.
        Returns:
        an OCSPStatusRequest object.
        Throws:
        java.io.IOException