|
ForestHub SDK 0.1.0
C++14 LLM SDK for PC and embedded platforms
|
Abstract interface for TLS/crypto operations. More...
#include <crypto.hpp>
Public Member Functions | |
| virtual std::shared_ptr< TLSClientWrapper > | CreateTlsClient (const char *root_ca=nullptr, unsigned long timeout_ms=5000)=0 |
| Create a TLS-enabled client with optional root CA certificate. | |
| virtual const char * | GetGtsRootCerts () const =0 |
| Get the bundled Google Trust Services root certificates (for Google Cloud endpoints). | |
| virtual bool | IsAvailable () const =0 |
| Check if TLS/crypto subsystem is available. | |
Abstract interface for TLS/crypto operations.
|
pure virtual |
Create a TLS-enabled client with optional root CA certificate.
| root_ca | PEM-encoded root CA certificate, or nullptr for platform default. |
| timeout_ms | Connection timeout in milliseconds. |
|
pure virtual |
Get the bundled Google Trust Services root certificates (for Google Cloud endpoints).