HTTP.ConnectionInfo.setSecureInfo()

Signature

Object setSecureInfo(Object connectionInfo, String sslProtocol, Object clientIdKeyStore, String clientIdPassword, Object trustedCertsKeystore, String trustedCertsPassword, boolean verifyHostName)

Domain

ACTION

Description

Update HTTPConnectionInfo Object with secure/SSL usage details.

Parameters

NameTypeDescription
connectionInfoObjectHTTP Connection Info Object
sslProtocolStringSSL Protocol to use. Defaults to TLS if not specified.
clientIdKeystoreObjectKeystore Object for client identity, not required for 1 way SSL
clientIdPasswordStringPassword for client id keystore, not required for 1 way SSL
trustedCertsKeystoreObjectKeystore Object for trusted certificates
trustedCertsPasswordStringPassword for trusted certificates keystore
verifyHostNamebooleanflag for checking if a hostname matches the names stored inside the server's certificate

Returns

TypeDescription
ObjectHTTP ConnectionInfo Object