]> WPIA git - cassiopeia.git/blobdiff - src/signer.h
add: Initial code to implement revocation
[cassiopeia.git] / src / signer.h
index feef5da64bbafcb39a70e820e7cefcdd5531c1af..0d671355b58481e50cb99d848467d4998acb1486 100644 (file)
@@ -3,8 +3,10 @@
 #include <memory>
 
 #include "database.h"
+#include "sslUtil.h"
 
 class Signer {
 public:
     virtual std::shared_ptr<SignedCertificate> sign( std::shared_ptr<TBSCertificate> cert ) = 0;
+    virtual std::shared_ptr<X509_CRL> revoke( std::shared_ptr<CAConfig> ca, std::string serial ) = 0;
 };