25 struct TBSCertificate {
33 std::string csr_content;
34 std::vector<std::shared_ptr<SAN>> SANs;
35 std::vector<std::shared_ptr<AVA>> AVAs;
39 struct SignedCertificate {
40 std::string certificate;
52 virtual std::shared_ptr<Job> fetchJob() = 0;
53 virtual bool finishJob( std::shared_ptr<Job> job ) = 0;
54 virtual std::shared_ptr<TBSCertificate> fetchTBSCert( std::shared_ptr<Job> job ) = 0;
55 virtual void writeBack( std::shared_ptr<Job> job, std::shared_ptr<SignedCertificate> res ) = 0;