X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=src%2Fdb%2Fdatabase.h;h=b378e92495625384dae46c312f30c408ac299359;hb=HEAD;hp=31687b13ce43242e68ab14babba87ae25e2908f6;hpb=3d3967b16610579e977b5d8685f3eedb10cbc23a;p=cassiopeia.git diff --git a/src/db/database.h b/src/db/database.h index 31687b1..b378e92 100644 --- a/src/db/database.h +++ b/src/db/database.h @@ -3,14 +3,16 @@ #include #include #include +#include struct Job { std::string id; - std::string warning; + std::string attempt; std::string target; std::string task; std::string from; std::string to; + std::stringstream log; }; struct SAN { @@ -27,10 +29,6 @@ struct TBSCertificate { std::string md; std::string profile; - /** - * CSR path - */ - std::string csr; std::string csr_type; std::string csr_content; std::vector> SANs; @@ -38,6 +36,8 @@ struct TBSCertificate { std::string wishFrom; std::string wishTo; + + std::string ocspCA; }; struct SignedCertificate { @@ -47,7 +47,6 @@ struct SignedCertificate { std::string after; std::string pkHash; std::string certHash; - std::string crt_name; std::string log; std::string ca_name; };