mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-06 05:21:22 +03:00
WiFiClientSecure: add loadCACert function (#3610)
Added loadCACert function
This commit is contained in:
parent
c8947953ac
commit
2d3b7b9759
@ -68,6 +68,12 @@ public:
|
||||
return loadPrivateKey(file, file.size());
|
||||
}
|
||||
|
||||
template<typename TFile>
|
||||
bool loadCACert(TFile& file) {
|
||||
return loadCACert(file, file.size());
|
||||
}
|
||||
|
||||
|
||||
protected:
|
||||
int _connectSSL(const char* hostName);
|
||||
bool _verifyDN(const char* name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user