Description
Clears the client certificate that is set with SetClientCert.
Applies to
HTTPClient, RestClient, TokenRequest, OAuthRequest
Syntax
objectname.ClearClientCert ( )
|
Argument |
Description |
|---|---|
|
objectname |
The name of the object from which you want to clear the client certificate |
Return value
Integer.
Always returns 1.
Examples
This example clears the client certificate:
ln_rtn = l_httpclient.SendRequest("GET", "https://test.appeon.com")
If ln_rtn = -16 Then
l_httpclient.SetClientCert("e:\\testclient.pfx", "123456");
l_httpclient.SendRequest("GET", "https://test.appeon.com")
End If
l_httpclient.ClearClientCert()
l_httpclient.SendRequest("GET", "https://test2.appeon.com")
See also


