Class OCSPStatusRequest


  • public class OCSPStatusRequest
    extends java.lang.Object
    Deprecated.
    Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).
    RFC 3546 3.6
    • Field Detail

      • responderIDList

        protected java.util.Vector responderIDList
        Deprecated.
      • requestExtensions

        protected Extensions requestExtensions
        Deprecated.
    • Constructor Detail

      • OCSPStatusRequest

        public OCSPStatusRequest​(java.util.Vector responderIDList,
                                 Extensions requestExtensions)
        Deprecated.
        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()
        Deprecated.
        Returns:
        a Vector of ResponderID
      • getRequestExtensions

        public Extensions getRequestExtensions()
        Deprecated.
        Returns:
        OCSP request extensions
      • encode

        public void encode​(java.io.OutputStream output)
                    throws java.io.IOException
        Deprecated.
        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
        Deprecated.
        Parse an OCSPStatusRequest from an InputStream.
        Parameters:
        input - the InputStream to parse from.
        Returns:
        an OCSPStatusRequest object.
        Throws:
        java.io.IOException