6 #include "crypto/sslUtil.h"
10 std::shared_ptr<X509_CRL> crl;
12 CRL( std::string path );
15 * Adds the serial to this serial.
16 * @param serial the serial to remove (as hex string)
17 * @param time the "revokation time" (der-encoded)
18 * @returns DER-encoded TIME of the revoked time
20 std::string revoke( std::string serial, std::string time );
26 * @param ca the CA to sign with
28 void sign( std::shared_ptr<CAConfig> ca );
30 bool verify( std::shared_ptr<CAConfig> ca );
32 std::string getSignature();
33 void setSignature( std::string signature );
35 std::string toString();