Avoid deprecated Data::getSignature()
Change-Id: Id644d5bd4414ed97d70ed108637516199d806be9
diff --git a/src/ca-detail/ca-sqlite.hpp b/src/ca-detail/ca-sqlite.hpp
index 6249db5..9b09e1a 100644
--- a/src/ca-detail/ca-sqlite.hpp
+++ b/src/ca-detail/ca-sqlite.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
-/**
- * Copyright (c) 2017, Regents of the University of California.
+/*
+ * Copyright (c) 2017-2020, Regents of the University of California.
*
* This file is part of ndncert, a certificate management system based on NDN.
*
@@ -60,22 +60,22 @@
listAllRequests(const Name& caName) override;
// certificate related
- security::v2::Certificate
+ security::Certificate
getCertificate(const std::string& certId) override;
void
- addCertificate(const std::string& certId, const security::v2::Certificate& cert) override;
+ addCertificate(const std::string& certId, const security::Certificate& cert) override;
void
- updateCertificate(const std::string& certId, const security::v2::Certificate& cert) override;
+ updateCertificate(const std::string& certId, const security::Certificate& cert) override;
void
deleteCertificate(const std::string& certId) override;
- std::list<security::v2::Certificate>
+ std::list<security::Certificate>
listAllIssuedCertificates() override;
- std::list<security::v2::Certificate>
+ std::list<security::Certificate>
listAllIssuedCertificates(const Name& caName) override;
PUBLIC_WITH_TESTS_ELSE_PRIVATE: