security: Add general interface to chain validation policies

Change-Id: I1a0d47aeb847455a2d7d6d48185f6edd9024d298
Refs: #3920
diff --git a/src/security/v2/validator.hpp b/src/security/v2/validator.hpp
index f24499c..6dfe8a8 100644
--- a/src/security/v2/validator.hpp
+++ b/src/security/v2/validator.hpp
@@ -71,6 +71,12 @@
 
   ~Validator();
 
+  ValidationPolicy&
+  getPolicy();
+
+  CertificateFetcher&
+  getFetcher();
+
   /**
    * @brief Set the maximum depth of the certificate chain
    */