Refactor SignatureValidator and reduce interface headers
[platform/core/security/cert-svc.git] / vcore / src / vcore / CertificateCollection.h
index 9b9a6c4..e47e3f6 100644 (file)
@@ -105,6 +105,12 @@ public:
     bool sort();
 
     /*
+     * Precondition : cert list sorted and has more than on cert.
+     * This function add root cert in cert list to complete cert chain
+     */
+    bool completeCertificateChain();
+
+    /*
      * This function will return Certificate chain.
      *
      * First certificate on the list is EndEntity certificate.