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: 10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4   11.5    Statistic    FMM    Blog  

CURL.GetCertInfo

Queries information on the certificate chain.

Component Version macOS Windows Linux Server iOS SDK
CURL 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CURL.GetCertInfo"; curl )   More

Parameters

Parameter Description Example
curl The CURL session handle. $curl

Result

Returns text or error.

Description

Queries information on the certificate chain.
Returns a list of lists with infos.

Examples

Query certificate information for MBS website:

Set Variable [$curl; Value:MBS("CURL.New")]
Set Variable [$result; Value:MBS("CURL.SetOptionURL"; $curl; "https://www.monkeybreadsoftware.de/")]
Set Variable [$result; Value:MBS("CURL.SetOptionCertInfo"; $curl; 1)]
Set Field [CURL Test::Result; MBS("CURL.Perform"; $curl)]
Set Field [CURL Test::Text; MBS("CURL.GetCertInfo"; $curl)]
Set Variable [$result; Value:MBS("CURL.Release"; $curl)]

See also

Release notes

Example Databases

Blog Entries

Created 12nd July 2015, last changed 19th April 2020


CURL.GetBatchFileNames - CURL.GetConditionUnmet

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins

Start Chat