+struct SAN {
+ std::string content;
+ std::string type;
+};
+
+struct AVA {
+ std::string name;
+ std::string value;
+};
+
+struct TBSCertificate {
+ std::string md;
+ std::string profile;
+ /**
+ * CSR path
+ */
+ std::string csr;
+ std::string csr_type;
+ std::string csr_content;
+ std::vector<std::shared_ptr<SAN>> SANs;
+ std::vector<std::shared_ptr<AVA>> AVAs;
+};
+
+
+struct SignedCertificate {
+ std::string certificate;
+ std::string serial;
+ uint32_t before;
+ uint32_t after;
+ std::string pkHash;
+ std::string certHash;
+ std::string crt_name;
+ std::string log;
+};
+