Prepare for testbed deployment: update ndncert-client
Change-Id: I0a84e2ebb913166b5fbdb16fdc0938862ba42a22
diff --git a/src/requester-request.hpp b/src/requester-request.hpp
index 9291958..0f8447a 100644
--- a/src/requester-request.hpp
+++ b/src/requester-request.hpp
@@ -112,13 +112,13 @@
* @brief Generates a NEW interest to the CA.
*
* @param state The current requester state for this request. Will be modified in the function.
- * @param newIdentityName The identity name to be requested.
+ * @param keyName The key name to be requested.
* @param notBefore The expected notBefore field for the certificate (starting time)
* @param notAfter The expected notAfter field for the certificate (expiration time)
* @return The shared pointer to the encoded interest.
*/
std::shared_ptr<Interest>
- genNewInterest(const Name& newIdentityName,
+ genNewInterest(const Name& keyName,
const time::system_clock::TimePoint& notBefore,
const time::system_clock::TimePoint& notAfter);
@@ -195,14 +195,6 @@
static std::shared_ptr<Certificate>
onCertFetchResponse(const Data& reply);
- /**
- * @brief End the current request session and performs cleanup if necessary.
- *
- * @param state, the requester state for the request.
- */
- void
- endSession();
-
private:
static void
processIfError(const Data& data);
@@ -279,11 +271,6 @@
*/
ndn::KeyChain& m_keyChain;
/**
- * @brief State about how identity/key is generated.
- */
- bool m_isNewlyCreatedIdentity = false;
- bool m_isNewlyCreatedKey = false;
- /**
* @brief The keypair for the request.
*/
ndn::security::Key m_keyPair;