]> WPIA git - cassiopeia.git/blobdiff - src/crypto/signer.h
fmt: code cleanup in X509.cpp
[cassiopeia.git] / src / crypto / signer.h
index 44b2546a905d77cc23b0eea82f20d778220b1117..bb13ddd3b121de7bab4021730ae4d30463f6998d 100644 (file)
@@ -1,6 +1,7 @@
 #pragma once
 
 #include <memory>
+#include <vector>
 
 #include "db/database.h"
 #include "crypto/sslUtil.h"
@@ -9,5 +10,5 @@
 class Signer {
 public:
     virtual std::shared_ptr<SignedCertificate> sign( std::shared_ptr<TBSCertificate> cert ) = 0;
-    virtual std::shared_ptr<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::vector<std::string> serial ) = 0;
 };