]> WPIA git - cassiopeia.git/blobdiff - src/db/mysql.h
chg: Use automatic memory and resource management
[cassiopeia.git] / src / db / mysql.h
index b1f78cef90bb8c051737a050ba5ee854fe27011b..a6b6a363c948e7cb70f69c363109c1bf978f6b52 100644 (file)
@@ -35,4 +35,6 @@ public:
     void failJob( std::shared_ptr<Job> job );
     std::shared_ptr<TBSCertificate> fetchTBSCert( std::shared_ptr<Job> job );
     void writeBack( std::shared_ptr<Job> job, std::shared_ptr<SignedCertificate> res );
+    std::pair<std::string, std::string> getRevocationInfo( std::shared_ptr<Job> job );
+    void writeBackRevocation( std::shared_ptr<Job> job, std::string date );
 };