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.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4    Statistic  

CURL.GetCertInfo

Queries information on the certificate chain.

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

Parameters

Parameter Description Example value
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

Example Databases

Blog Entries

Release notes

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


CURL.GetBatchFileNames   -   CURL.GetConditionUnmet

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos