Use OpenSSL C API for public_key_digest instead of calling the openssl binary.
[libdcp.git] / src / certificate_chain.h
index aabe9f008a1f4c94b9a61fc1d0d098b6dbf296b2..61bf5d47c0b37eb363b5b9d0e3474c7b7da4ce75 100644 (file)
@@ -190,7 +190,9 @@ private:
 };
 
 
-std::string public_key_digest(boost::filesystem::path private_key, boost::filesystem::path openssl);
+std::string public_key_digest(RSA* public_key);
+std::string public_key_digest(boost::filesystem::path private_key);
+std::string escape_digest(std::string digest);
 
 
 }