public class HTTPSOCSPProtocolHandler extends HTTPOCSPProtocolHandler
HTTPOCSPProtocolHandler.
To setup the SSL connection, an javax.net.ssl.HttpsURLConnection is used. Configuration of the SSL connection is enabled by using JSSE and may be customized by specifying the SSLSocketFactory, HostnameVerifier and URLStreamHandler. If no SSL configuration is defined, the defaults set by the JVM in use will be used.
HTTPOCSPProtocolHandler| Constructor and Description |
|---|
HTTPSOCSPProtocolHandler(java.net.URL location)
This method uses the JSSE defaults for setting up the HTTPS connection
using the HTTPSURLConnection object
|
HTTPSOCSPProtocolHandler(java.net.URL location,
javax.net.ssl.SSLSocketFactory factory,
javax.net.ssl.HostnameVerifier hostnameVerifier,
java.net.URLStreamHandler streamHandler)
Creates an HTTPSOCSPProtocolHandler object from the specified URL.
|
getOCSPResponse, getResponseMessage, getSuccessCode, sendRequestgetConnectTimeout, getReadTimeout, getResponderURL, setConnectTimeout, setReadTimeout, setResponderURLpublic HTTPSOCSPProtocolHandler(java.net.URL location)
throws java.net.MalformedURLException
location - The specified URL locationjava.net.MalformedURLExceptionpublic HTTPSOCSPProtocolHandler(java.net.URL location,
javax.net.ssl.SSLSocketFactory factory,
javax.net.ssl.HostnameVerifier hostnameVerifier,
java.net.URLStreamHandler streamHandler)
throws java.net.MalformedURLException
If a null HostnameVerifier is supplied, the default HostnameVerifier setup for use with the HttpsURLConnection will be used.
If a null URLStreamHandler is supplied, the default URLStreamStreamHandler for the specified protocol will be used.
location - The URL string of the Access Locationfactory - The SSLSocketFactory that will be used to create the socketshostnameVerifier - the HostnameVerifier to use when performing hostname validation
on SSL requestsstreamHandler - The URLStreamHandler that will be used to perform the protocol
side of the connection.java.net.MalformedURLException - if urlString is not a valid URL.