ClearClientCert
PowerScript function
Description
Clears the client certificate that is set with SetClientCert.
Applies to
HTTPClient, RestClient, TokenRequest, OAuthRequest
Syntax
|
1 |
objectname.ClearClientCert ( ) |
|
Argument |
Description |
|---|---|
|
objectname |
The name of the object from which you want to clear the |
Return value
Integer.
Always returns 1.
Examples
This example clears the client certificate:
|
1 2 3 4 5 6 7 |
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
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest