stephb9959
2023-09-28 20:37:03 -07:00
parent 54d6565411
commit da21df49ce
3 changed files with 36 additions and 2 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 {