public class SSLCommunicator extends Object implements SSLCommunicatorInterface
Constructor and Description |
---|
SSLCommunicator() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkWildcard(String certHostName,
String hostName)
thomas.falang.no
*omas.falang.no
*.falang.no
|
byte[] |
sendSSLSocketRequest(String httpsURL,
String proxyhost,
String proxyport,
String proxyuser,
String proxypwd,
byte[] request,
String contentType,
long timeout,
TrustManager[] trustManagers)
Sends a HTTPS request via Sockets tunneling the request through the
input proxyhost and proxyport.
|
public byte[] sendSSLSocketRequest(String httpsURL, String proxyhost, String proxyport, String proxyuser, String proxypwd, byte[] request, String contentType, long timeout, TrustManager[] trustManagers) throws BIDException
sendSSLSocketRequest
in interface SSLCommunicatorInterface
httpsURL
- String the https urlproxyhost
- String The proxy hostproxyport
- String The proxy portrequest
- byte[] The request bytescontentType
- String The content type (HTTP HEADER VALUE)timeout
- long The Socket timeout valueBIDException
- If something failsCopyright © 2017 Nets Branch Norway. All Rights Reserved.