change RequestID to RequestId
Change-Id: Icb426614f391d2828c906155a0d37fd7da7c13f8
diff --git a/src/detail/ca-request-state.hpp b/src/detail/ca-request-state.hpp
index e5876b1..a90d44f 100644
--- a/src/detail/ca-request-state.hpp
+++ b/src/detail/ca-request-state.hpp
@@ -27,7 +27,7 @@
namespace ndn {
namespace ndncert {
-typedef std::array<uint8_t, 8> RequestID;
+typedef std::array<uint8_t, 8> RequestId;
enum class Status : uint16_t {
BEFORE_CHALLENGE = 0,
@@ -88,12 +88,12 @@
/**
* @brief Used to instantiate a RequestState when challenge is not started.
*/
- RequestState(const Name& caName, const RequestID& requestId, RequestType requestType, Status status,
+ RequestState(const Name& caName, const RequestId& requestId, RequestType requestType, Status status,
const security::Certificate& cert, Block m_encryptionKey, uint32_t aesBlockCounter = 0);
/**
* @brief Used to instantiate a RequestState after challenge is started.
*/
- RequestState(const Name& caName, const RequestID& requestId, RequestType requestType, Status status,
+ RequestState(const Name& caName, const RequestId& requestId, RequestType requestType, Status status,
const security::Certificate& cert, const std::string& challengeType,
const std::string& challengeStatus, const time::system_clock::TimePoint& challengeTp,
size_t remainingTries, time::seconds remainingTime, JsonSection&& challengeSecrets,
@@ -107,7 +107,7 @@
/**
* @brief The ID of the request.
*/
- RequestID m_requestId;
+ RequestId m_requestId;
/**
* @brief The type of the request.
*/