stephb9959
2023-09-28 20:48:16 -07:00
parent 26a1d5df44
commit 9ea65ebe5d
10 changed files with 396 additions and 189 deletions

View File

@@ -783,6 +783,10 @@ namespace OpenWifi::Utils {
return false;
}
bool VerifyPrivateKey(const std::string &key) {
return VerifyECKey(key) || VerifyRSAKey(key);
}
bool ValidX509Certificate([[
maybe_unused]] const std::string &Cert) {
try {