update ca-profile
Change-Id: Iae0124f4ea1e366976eed307a96e3dd540a56278
diff --git a/src/detail/ca-profile.hpp b/src/detail/ca-profile.hpp
index c67f5dc..c9599f9 100644
--- a/src/detail/ca-profile.hpp
+++ b/src/detail/ca-profile.hpp
@@ -21,7 +21,7 @@
#ifndef NDNCERT_DETAIL_CA_PROFILE_HPP
#define NDNCERT_DETAIL_CA_PROFILE_HPP
-#include "name-assignment/assignment-func.hpp"
+#include "detail/ndncert-common.hpp"
namespace ndn {
namespace ndncert {
@@ -46,8 +46,8 @@
* Parse the configuration json and modify current struct to the result.
* @param configJson the configuration json to parse
*/
- void
- parse(const JsonSection& configJson);
+ static CaProfile
+ fromJson(const JsonSection& json);
/**
* @return the JSON representation of this profile.