30 struct TBSCertificate {
35 std::string csr_content;
36 std::vector<std::shared_ptr<SAN>> SANs;
37 std::vector<std::shared_ptr<AVA>> AVAs;
41 struct SignedCertificate {
42 std::string certificate;
53 virtual std::shared_ptr<Job> fetchJob() = 0;
54 virtual bool finishJob( std::shared_ptr<Job> job ) = 0;
55 virtual std::shared_ptr<TBSCertificate> fetchTBSCert( std::shared_ptr<Job> job ) = 0;
56 virtual void writeBack( std::shared_ptr<Job> job, std::shared_ptr<SignedCertificate> res ) = 0;