20 struct TBSCertificate {
27 std::string csr_content;
28 std::vector<std::shared_ptr<SAN>> SANs;
31 struct SignedCertificate {
32 std::string certificate;
43 virtual std::shared_ptr<Job> fetchJob() = 0;
44 virtual bool finishJob( std::shared_ptr<Job> job ) = 0;
45 virtual std::shared_ptr<TBSCertificate> fetchTBSCert( std::shared_ptr<Job> job ) = 0;
46 virtual void writeBack( std::shared_ptr<Job> job, std::shared_ptr<SignedCertificate> res ) = 0;