]> WPIA git - cassiopeia.git/blobdiff - src/X509.h
add: Handling the MD for signing the certificate
[cassiopeia.git] / src / X509.h
index 62f32a481c3705ed404e4a32d6c17647a61e60c2..ba565fe20ad27363b641d4277b78f5e28828af96 100644 (file)
@@ -33,5 +33,5 @@ public:
     void setSerialNumber( BIGNUM* num );
     void setExtensions( std::shared_ptr<X509> caCert, std::vector<std::shared_ptr<SAN>>& sans );
     void setTimes( uint32_t before, uint32_t after );
-    std::shared_ptr<SignedCertificate> sign( std::shared_ptr<EVP_PKEY> caKey );
+    std::shared_ptr<SignedCertificate> sign( std::shared_ptr<EVP_PKEY> caKey, std::string signAlg );
 };