Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
CURL.SetOptionSSLEngine
Sets which crypto engine is used.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CURL | 2.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Deprecated
This function was deprecated.
MBS( "CURL.SetOptionSSLEngine"; curl; Value { ; Encoding } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
curl | The CURL session handle. | $curl | |
Value | The name of the crypto engine. | "" | |
Encoding | The text encoding for text parameter. Default is UTF-8. Possible encoding names: ANSI, ISO-8859-1, Latin1, Mac, Native, UTF-8, DOS, Hex, Base64 or Windows. More listed in the FAQ. |
"utf8" | Optional |
Result
Returns "OK" on success.
Description
Sets which crypto engine is used.Pass a string as parameter. It will be used as the identifier for the crypto engine you want to use for your private key.
If the crypto device cannot be loaded, CURLE_SSL_ENGINE_NOTFOUND is returned.
Deprecated since you don't need this function. You can only use the built-in crypto engine for the plugin.
See also SSLENGINE option in CURL manual.
See also
- CURL.SetOptionCRLFile
- CURL.SetOptionSSLCert
- CURL.SetOptionSSLEnableNPN
- CURL.SetOptionSSLKeyType
- CURL.SetOptionSSLOptions
- CURL.SetOptionSSLVersion
Release notes
- Version 12.1
- Deprecated CURL.SetOptionSSLEngine and CURL.SetOptionSSLEngineDefault functions since you don't need those ever.
Blog Entries
Created 18th August 2014, last changed 9th February 2022