X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=src%2Fcrypto%2FsimpleOpensslSigner.h;h=3d9ce5259c6385674b7178d3e38eff9e0c31efea;hb=5880a76d92f96db6f94ebdf0bdfebd989f10b232;hp=11e95dd7807c68d4926060686302fefe8d10ca14;hpb=9e866a1a2facc8cb1565cd660c6b6d482f18ecb1;p=cassiopeia.git diff --git a/src/crypto/simpleOpensslSigner.h b/src/crypto/simpleOpensslSigner.h index 11e95dd..3d9ce52 100644 --- a/src/crypto/simpleOpensslSigner.h +++ b/src/crypto/simpleOpensslSigner.h @@ -5,14 +5,15 @@ #include "db/database.h" #include "crypto/sslUtil.h" #include "crypto/signer.h" +#include "crypto/CRL.h" class SimpleOpensslSigner : public Signer { private: static std::shared_ptr lib_ref; - std::pair, std::string> nextSerial( Profile& prof ); + std::pair, std::string> nextSerial( Profile& prof, std::shared_ptr ca ); public: SimpleOpensslSigner(); ~SimpleOpensslSigner(); std::shared_ptr sign( std::shared_ptr cert ); - std::shared_ptr revoke( std::shared_ptr ca, std::string serial ); + std::pair, std::string> revoke( std::shared_ptr ca, std::vector serial ); };