30 struct TBSCertificate {
38 std::string csr_content;
39 std::vector<std::shared_ptr<SAN>> SANs;
40 std::vector<std::shared_ptr<AVA>> AVAs;
44 struct SignedCertificate {
45 std::string certificate;
57 virtual std::shared_ptr<Job> fetchJob() = 0;
58 virtual bool finishJob( std::shared_ptr<Job> job ) = 0;
59 virtual std::shared_ptr<TBSCertificate> fetchTBSCert( std::shared_ptr<Job> job ) = 0;
60 virtual void writeBack( std::shared_ptr<Job> job, std::shared_ptr<SignedCertificate> res ) = 0;