25 struct TBSCertificate {
32 std::string csr_content;
33 std::vector<std::shared_ptr<SAN>> SANs;
36 struct SignedCertificate {
37 std::string certificate;
48 virtual std::shared_ptr<Job> fetchJob() = 0;
49 virtual bool finishJob( std::shared_ptr<Job> job ) = 0;
50 virtual std::shared_ptr<TBSCertificate> fetchTBSCert( std::shared_ptr<Job> job ) = 0;
51 virtual void writeBack( std::shared_ptr<Job> job, std::shared_ptr<SignedCertificate> res ) = 0;