CURL.SetOptionCAInfoBlob
------------------------

Sets CAInfo as blob value.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [CURL](component_CURL.md) | [11.3](newinversion113.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "CURL.SetOptionCAInfoBlob"; curl; Value { ; Encoding } ) 

**MBS**( **"CURL.SetOptionCAInfoBlob";** /\* Sets CAInfo as blob value. \*/  
**$curl**; /\* The CURL session handle. \*/   
**$Value**; /\* The blob value.  
Either passed as text or passed as container value.e.g. MyTabel::MyCert \*/   
**$Encoding**) /\* Optional; The text encoding for value parameter when passing text.   
Default is UTF-8.e.g. "UTF8" \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| curl | The CURL session handle. | $curl |  |
| Value | The blob value.   Either passed as text or passed as container value. | MyTabel::MyCert |  |
| Encoding | The text encoding for value parameter when passing text.    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](https://www.monkeybreadsoftware.com/filemaker/faq.shtml). | "UTF8" | Optional |

### Result

Returns OK or error.

### Description

Sets CAInfo as blob value.  
Certificate Authority (CA) bundle in PEM format passed PEM encoded content holding one or more certificates to verify the HTTPS server with.  
See also [CAINFO\_BLOB](https://curl.haxx.se/libcurl/c/CURLOPT_CAINFO_BLOB.html) option in CURL manual.

### See also

- [CURL.SetOptionCAInfo](CURLSetOptionCAInfo.md)
- [CURL.SetOptionProxyCAInfoBlob](CURLSetOptionProxyCAInfoBlob.md)
- [CURL.SetOptionSSLCertBlob](CURLSetOptionSSLCertBlob.md)
- [CURL.SetOptionSSLKeyBlob](CURLSetOptionSSLKeyBlob.md)

### Release notes

- **Version 11.3**
    - Added [CURL.SetOptionCAInfoBlob](https://www.mbsplugins.eu/CURLSetOptionCAInfoBlob.shtml) and [CURL.SetOptionProxyCAInfoBlob](https://www.mbsplugins.eu/CURLSetOptionProxyCAInfoBlob.shtml) functions.

### Blog Entries

- [New in MBS FileMaker Plugin 11.3](https://www.mbsplugins.de/archive/2021-07-27/New_in_MBS_FileMaker_Plugin_11/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 11.3pr1](https://www.mbsplugins.de/archive/2021-06-03/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

Created 26th May 2021 , last changed 26th May 2021

  
[CURL.SetOptionCAInfo](CURLSetOptionCAInfo.md) - [CURL.SetOptionCAPath](CURLSetOptionCAPath.md)

[HTML Version](CURLSetOptionCAInfoBlob.shtml)