tizen 2.4 release
[framework/security/key-manager.git] / src / manager / client / client-manager-impl.h
index 8111150..ff70fdf 100644 (file)
@@ -90,6 +90,7 @@ public:
         bool useTrustedSystemCertificates,
         CertificateShPtrVector &certificateChainVector);
 
+
     int createSignature(
         const Alias &privateKeyAlias,
         const Password &password,           // password for private_key
@@ -136,6 +137,17 @@ protected:
         const Policy &policyPrivateKey,
         const Policy &policyPublicKey);
 
+    template <class T>
+    int getCertChain(
+        ServiceConnection & serviceConnection,
+        LogicCommand command,
+        int counter,
+        const CertificateShPtr &certificate,
+        const T &untrustedVector,
+        const T &trustedVector,
+        bool useTrustedSystemCertificates,
+        CertificateShPtrVector &certificateChainVector);
+
     int m_counter;
     CKM::ServiceConnection m_storageConnection;
     CKM::ServiceConnection m_ocspConnection;