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