]> WPIA git - cassiopeia.git/blobdiff - src/crypto/signer.h
cln: Simplified revoking code
[cassiopeia.git] / src / crypto / signer.h
index d9ab74ee3c15a271201d048a62637c9635efb4a7..582308daf6a0e7325f03a687596344e646dd47a7 100644 (file)
@@ -4,9 +4,10 @@
 
 #include "db/database.h"
 #include "crypto/sslUtil.h"
+#include "crypto/CRL.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;
+    virtual std::pair<std::shared_ptr<CRL>, std::string> revoke( std::shared_ptr<CAConfig> ca, std::string serial ) = 0;
 };