{"id":19492821,"url":"https://github.com/oatpp/oatpp-wolfssl","last_synced_at":"2026-06-07T20:31:56.942Z","repository":{"id":64330223,"uuid":"563504125","full_name":"oatpp/oatpp-wolfssl","owner":"oatpp","description":"TLS adaptor for wolfSSL","archived":false,"fork":false,"pushed_at":"2022-12-22T00:05:25.000Z","size":61,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-23T00:32:47.987Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oatpp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-08T18:50:41.000Z","updated_at":"2023-08-05T19:38:53.000Z","dependencies_parsed_at":"2023-01-15T12:30:44.583Z","dependency_job_id":null,"html_url":"https://github.com/oatpp/oatpp-wolfssl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oatpp/oatpp-wolfssl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oatpp%2Foatpp-wolfssl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oatpp%2Foatpp-wolfssl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oatpp%2Foatpp-wolfssl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oatpp%2Foatpp-wolfssl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oatpp","download_url":"https://codeload.github.com/oatpp/oatpp-wolfssl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oatpp%2Foatpp-wolfssl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285129556,"owners_count":27119601,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-18T02:00:05.759Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T21:23:09.924Z","updated_at":"2025-11-18T20:03:33.718Z","avatar_url":"https://github.com/oatpp.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# oatpp-wolfssl\nOatpp TLS adaptor for wolfSSL.\n\nSee more:\n- [Oat++ Website](https://oatpp.io/)\n- [Oat++ Github Repository](https://github.com/oatpp/oatpp)\n- [wolfSSL](https://www.wolfssl.com/)\n\n# THIS MODULE IS NOT READY TO USE\n\n# oatpp-wolfssl [![Build Status](https://dev.azure.com/lganzzzo/lganzzzo/_apis/build/status/oatpp.oatpp-wolfssl?branchName=master)](https://dev.azure.com/lganzzzo/lganzzzo/_build/latest?definitionId=18\u0026branchName=master)\n\n**oatpp-wolfssl** - extension for [Oat++ Web Framework](https://github.com/oatpp/oatpp).  \nIt provides secure server and client connection providers for oatpp applications. Based on [wolfSSL](https://www.wolfssl.com/).  \nSupports only \"Simple\" oatpp API.\n\nSee more:\n- [Oat++ Website](https://oatpp.io/)\n- [Oat++ Github Repository](https://github.com/oatpp/oatpp)\n- [wolfSSL](https://www.wolfssl.com/)\n\n## How To Build\n\n### Requires\n\n- wolfSSL installed.\n\n### Build And Install oatpp-wolfssl\n\nIf wolfSSL was installed to a standard location:\n\n```bash\ncmake -B build -S .\ncmake --build build\n```\n\n## APIs\n\n### Server\n\n#### ConnectionProvider\n\nCreate `ConnectionProvider`\n\n```cpp\nconst char* serverCertificateFile = \"path/to/server/certificate\";\nconst char* serverPrivateKeyFile = \"path/to/server/private/key\";\n\n/* Create Config */\nauto config = oatpp::wolfssl::Config::createDefaultServerConfigShared(serverCertificateFile, serverPrivateKeyFile);\n\n/* Create Secure Connection Provider */\nauto connectionProvider = oatpp::wolfssl::server::ConnectionProvider::createShared(config, {\"localhost\" /* host */, 443 /* port */});\n\n/* Get Secure Connection Stream */\nauto connection = connectionProvider-\u003egetConnection();\n```\n\n#### Custom Transport Stream\n\nCreate `ConnectionProvider` with custom transport stream.\n\n```cpp\nconst char* serverCertificateFile = \"path/to/server/certificate\";\nconst char* serverPrivateKeyFile = \"path/to/server/private/key\";\n\n/* Create Config */\nauto config = oatpp::wolfssl::Config::createDefaultServerConfigShared(serverCertificateFile, serverPrivateKeyFile);\n\n/* Create Transport Stream Provider */\n/* Replace With Your Custom Transport Stream Provider */\nauto transportStreamProvider = oatpp::network::tcp::server::ConnectionProvider::createShared({\"localhost\" /* host */, 443 /* port */});\n\n/* Create Secure Connection Provider */\nauto connectionProvider = oatpp::wolfssl::server::ConnectionProvider::createShared(config, transportStreamProvider);\n\n/* Get Secure Connection Stream over Custom Transport Stream */\nauto connection = connectionProvider-\u003egetConnection();\n```\n\n**Note:** To use `oatpp-wolfssl` for server connections with custom transport stream you should implement:\n\n- [oatpp::network::ServerConnectionProvider](https://oatpp.io/api/latest/oatpp/network/ConnectionProvider/#serverconnectionprovider).\n- [oatpp::data::stream::IOStream](https://oatpp.io/api/latest/oatpp/core/data/stream/Stream/#iostream) - to be returned by `ConnectionProvider`.\n\n### Client\n\n#### ConnectionProvider\n\nCreate `ConnectionProvider`\n\n```cpp\n/* Create Config */\nauto config = oatpp::wolfssl::Config::createDefaultClientConfigShared();\n\n/* Create Secure Connection Provider */\nauto connectionProvider = oatpp::wolfssl::client::ConnectionProvider::createShared(config, {\"httpbin.org\", 443 /* port */});\n\n/* Get Secure Connection Stream */\nauto connection = connectionProvider-\u003egetConnection();\n```\n\n#### Custom Transport Stream\n\nCreate `ConnectionProvider` with custom transport stream.\n\n```cpp\n/* Create Config */\nauto config = oatpp::wolfssl::Config::createDefaultClientConfigShared();\n\n/* Create Transport Stream Provider */\n/* Replace With Your Custom Transport Stream Provider */\nauto transportStreamProvider = oatpp::network::client::SimpleTCPConnectionProvider::createShared({\"httpbin.org\", 443 /* port */});\n\n/* Create Secure Connection Provider */\nauto connectionProvider = oatpp::wolfssl::client::ConnectionProvider::createShared(config, transportStreamProvider);\n\n/* Get Secure Connection Stream over Custom Transport Stream */\nauto connection = connectionProvider-\u003egetConnection();\n```\n\n**Note:** To use `oatpp-wolfssl` for client connections with custom transport stream you should implement:\n\n- [oatpp::network::ClientConnectionProvider](https://oatpp.io/api/latest/oatpp/network/ConnectionProvider/#clientconnectionprovider).\n- [oatpp::data::stream::IOStream](https://oatpp.io/api/latest/oatpp/core/data/stream/Stream/#iostream) - to be returned by `ConnectionProvider`.\n\n\n## See more\n\n- [oatpp-openssl](https://github.com/oatpp/oatpp-openssl)\n- [oatpp-libressl](https://github.com/oatpp/oatpp-libressl)\n- [oatpp-mbedtls](https://github.com/oatpp/oatpp-mbedtls)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foatpp%2Foatpp-wolfssl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foatpp%2Foatpp-wolfssl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foatpp%2Foatpp-wolfssl/lists"}