HTTP.ConnectionInfo.setSecureInfo()
Signature
Object setSecureInfo(Object connectionInfo, String sslProtocol, Object clientIdKeyStore, String clientIdPassword, Object trustedCertsKeystore, String trustedCertsPassword, boolean verifyHostName)
Description
Update HTTPConnectionInfo Object with secure/SSL usage details.
Parameters
Name | Type | Description |
connectionInfo | Object | HTTP Connection Info Object |
sslProtocol | String | SSL Protocol to use. Defaults to TLS if not specified. |
clientIdKeystore | Object | Keystore Object for client identity, not required for 1 way SSL |
clientIdPassword | String | Password for client id keystore, not required for 1 way SSL |
trustedCertsKeystore | Object | Keystore Object for trusted certificates |
trustedCertsPassword | String | Password for trusted certificates keystore |
verifyHostName | boolean | flag for checking if a hostname matches the names stored inside the server's certificate |
Returns
Type | Description |
Object | HTTP ConnectionInfo Object |