summaryrefslogtreecommitdiff
path: root/src/include/cchecker/certs.h
diff options
context:
space:
mode:
authorsangwan.kwon <sangwan.kwon@samsung.com>2016-02-17 11:31:09 +0900
committersangwan.kwon <sangwan.kwon@samsung.com>2016-02-24 15:07:57 +0900
commita49b608fe94e1c8f6a16f721a24f605967948867 (patch)
treefde92afc97ee046d865e2a8f7cd906b72b6cf1db /src/include/cchecker/certs.h
parent18e4ddb82a037b7c31b488ffcd96a36a8f32218c (diff)
downloadcert-checker-accepted/tizen/mobile/20160225.080627.tar.gz
cert-checker-accepted/tizen/mobile/20160225.080627.tar.bz2
cert-checker-accepted/tizen/mobile/20160225.080627.zip
* cert-svc API, key-manager API -> pkgmgr-info API Change-Id: I1c3523dd73041f117fab1c1b0012d25c1535defe Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
Diffstat (limited to 'src/include/cchecker/certs.h')
-rw-r--r--src/include/cchecker/certs.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/include/cchecker/certs.h b/src/include/cchecker/certs.h
index 643c2c1..9b1d762 100644
--- a/src/include/cchecker/certs.h
+++ b/src/include/cchecker/certs.h
@@ -27,12 +27,19 @@
#include <ckm/ckm-certificate.h>
#include <vcore/Certificate.h>
+#include <pkgmgr-info.h>
#include <cchecker/app.h>
#include <ckm/ckm-manager.h>
namespace CCHECKER {
+enum sig_t {
+ AUTHOR_SIG,
+ DISTRIBUTOR_SIG,
+ DISTRIBUTOR2_SIG
+};
+
class Certs {
public:
enum class ocsp_response_t {
@@ -49,7 +56,6 @@ class Certs {
ocsp_response_t check_ocsp_chain (const chain_t &chain);
void find_app_signatures (app_t &app, const std::string &app_path, ocsp_urls_t &ocsp_urls);
void search_app (app_t &app, ocsp_urls_t &ocsp_urls);
- bool ocsp_build_chain (const chain_t &chain, CKM::CertificateShPtrVector &vect_ckm_chain);
//private:
CKM::ManagerShPtr m_ckm;