Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

CURL.SetOptionSSLKeyType

Component: CURL
Version: 2.5
Mac OS X: Works
Windows: Works

MBS( "CURL.SetOptionSSLKeyType"; handle; value )

Parameters

Parameter Description Example value
Handle The CURL session handle. $curl
Value The key type. "PEM"

Result

Returns "OK" on success.

Description

Sets the format of the private key.
Pass a string as parameter. The string should be the format of your private key. Supported formats are "PEM", "DER" and "ENG".

The format "ENG" enables you to load the private key from a crypto engine. In this case CURL.SetOptionSSLKey is used as an identifier passed to the engine. You have to set the crypto engine with CURL.SetOptionSSLEngine. "DER" format key file currently does not work because of a bug in OpenSSL.

Feedback: Report problem or ask question.




Links
MBS Realbasic Plugins - Förderverein St. Arnulf Nickenich