Add support for hostname validation to a CA
This introduces a breaking change in the Netd Binder interface.
Test: Integration test added to verify failure case (but not success).
Change-Id: If40cb5dffa0cfcf5bf49241c17489b7f3dfbd037
Bug: 64753847
diff --git a/server/ResolverController.h b/server/ResolverController.h
index 1475c5e..b283e8b 100644
--- a/server/ResolverController.h
+++ b/server/ResolverController.h
@@ -67,6 +67,7 @@
void dump(DumpWriter& dw, unsigned netId);
int addPrivateDnsServer(const std::string& server, int32_t port,
+ const std::string& name,
const std::string& fingerprintAlgorithm,
const std::set<std::vector<uint8_t>>& fingerprints);
int removePrivateDnsServer(const std::string& server);