]> WPIA git - cassiopeia.git/blobdiff - src/crypto/remoteSigner.h
upd: split revoking command into add-serial and revoke
[cassiopeia.git] / src / crypto / remoteSigner.h
index f08eae6a77b13c9263ece20b3c66ed54cd183027..525bbd0123632e3eddbd48a98204a21d52dd770c 100644 (file)
@@ -20,7 +20,7 @@ public:
     RemoteSigner( std::shared_ptr<BIO> target, std::shared_ptr<SSL_CTX> ctx );
     ~RemoteSigner();
     std::shared_ptr<SignedCertificate> sign( std::shared_ptr<TBSCertificate> cert );
-    std::pair<std::shared_ptr<CRL>, std::string> revoke( std::shared_ptr<CAConfig> ca, std::string serial );
+    std::pair<std::shared_ptr<CRL>, std::string> revoke( std::shared_ptr<CAConfig> ca, std::vector<std::string> serial );
 
     void setLog( std::shared_ptr<std::ostream> target );
 };