]> WPIA git - cassiopeia.git/blobdiff - src/crypto/simpleOpensslSigner.h
fix: Properly check for success to create the necessary directories
[cassiopeia.git] / src / crypto / simpleOpensslSigner.h
index 8b3865505205f60522580bbd0051dcd3cf15ef33..3d9ce5259c6385674b7178d3e38eff9e0c31efea 100644 (file)
 class SimpleOpensslSigner : public Signer {
 private:
     static std::shared_ptr<int> lib_ref;
-    std::pair<std::shared_ptr<BIGNUM>, std::string> nextSerial( Profile& prof );
+    std::pair<std::shared_ptr<BIGNUM>, std::string> nextSerial( Profile& prof, std::shared_ptr<CAConfig> ca );
 public:
     SimpleOpensslSigner();
     ~SimpleOpensslSigner();
     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 );
 };