Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

CURL.SetOptionProxyPinnedPublicKey

Sets pinned public key for proxy.

Component Version macOS Windows Linux Server iOS SDK
CURL 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CURL.SetOptionProxyPinnedPublicKey"; curl; Path )   More

Parameters

Parameter Description Example
curl The CURL session handle. $curl
Path The file path.

Result

Returns OK or error.

Description

Sets pinned public key for proxy.
The public key in DER form used to validate the proxy public key.
This option is used only if CURL.SetOptionProxySSLVerifyPeer is true.
Please path native file path to key file.

This function requires a native path. Use Path.FileMakerPathToNativePath to convert a FileMaker path to a native path if required. If you like to have the user choose the path, you can use FileDialog functions.
For Server be aware that server has limited permissions and may not be able to access all files on a computer.

See also PROXY_PINNEDPUBLICKEY option in CURL manual.

See also

Created 15th April 2018, last changed 16th April 2018


CURL.SetOptionProxyPassword - CURL.SetOptionProxyPort

Feedback: Report problem or ask question.