use namespace for ca and rename CaState to ca::RequestState
Change-Id: I2250bf7fb68503465dae18e16dc3c512fe809037
diff --git a/src/ca-module.hpp b/src/ca-module.hpp
index e1cedaf..209352c 100644
--- a/src/ca-module.hpp
+++ b/src/ca-module.hpp
@@ -27,6 +27,7 @@
namespace ndn {
namespace ndncert {
+namespace ca {
class CaModule : noncopyable
{
@@ -70,11 +71,11 @@
void
onRegisterFailed(const std::string& reason);
- std::unique_ptr<CaState>
+ std::unique_ptr<RequestState>
getCertificateRequest(const Interest& request);
security::Certificate
- issueCertificate(const CaState& requestState);
+ issueCertificate(const RequestState& requestState);
void
registerPrefix();
@@ -94,6 +95,7 @@
std::list<InterestFilterHandle> m_interestFilterHandles;
};
+} // namespace ca
} // namespace ndncert
} // namespace ndn