summaryrefslogtreecommitdiff
path: root/src/Manager/SignatureManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Manager/SignatureManager.h')
-rwxr-xr-xsrc/Manager/SignatureManager.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/Manager/SignatureManager.h b/src/Manager/SignatureManager.h
index 83d9fdd..68f1360 100755
--- a/src/Manager/SignatureManager.h
+++ b/src/Manager/SignatureManager.h
@@ -51,10 +51,6 @@ public:
int GetApiVisibility(RootCertificateType certType);
int GetPrivilegeLevel(int apiVisibility);
- //bool SetSignature();
- //bool AddCert();
- //bool VerifyChain();
-
private:
SignatureManager(const SignatureManager& value);
SignatureManager& operator =(const SignatureManager& source);
@@ -62,24 +58,16 @@ private:
bool SetAuthorCertValue(void* pHandle, Tizen::Base::Collection::IListT<Tizen::Base::String *>* pCertList) const;
bool SetDistributorCertValue(void* pHandle, Tizen::Base::Collection::IListT<Tizen::Base::String *>* pCertList, int sigFileNumber) const;
- bool SetCertificatePath(SignatureFileType type, Tizen::Security::Cert::X509CertificatePath* pCertPath);
bool GetCertValue(Tizen::Security::Cert::ICertificate* pCert, Tizen::Base::String& value) const;
bool CompareReferences(Tizen::Base::Collection::HashMap* pDistributorRefMap, Tizen::Base::Collection::HashMap* pAuthorRefMap);
bool PrintCertValue(const Tizen::Base::String& certValue) const;
- //
+
bool Validate(Tizen::Security::Cert::X509CertificatePath* pCertPath);
bool ValidateUpdate();
- //bool AddCertificate(Tizen::Security::Cert::X509CertificatePath* pCertPath, Tizen::Base::Collection::IList* pCertChain);
- //bool AddDistributorRootCert(Tizen::Security::Cert::X509CertificatePath* pCertPath);
- //bool AddAuthorRootCert(Tizen::Security::Cert::X509CertificatePath* pCertPath);
private:
InstallationContext* __pContext;
-// SignatureHandler* __pAuthorSignature;
-// SignatureHandler* __pDistributorSignature;
-// Tizen::Security::Cert::X509CertificatePath* __pAuthorCertPath;
-// Tizen::Security::Cert::X509CertificatePath* __pDistributorCertPath;
}; // SignatureManager