]> WPIA git - cassiopeia.git/blobdiff - src/X509.h
add: simple, signer-side record handling
[cassiopeia.git] / src / X509.h
index ba565fe20ad27363b641d4277b78f5e28828af96..5f1b76fe282adeda0ccc7605ad8531494f5de62e 100644 (file)
@@ -15,8 +15,8 @@ private:
     X509Req( X509_REQ* csr );
     X509Req( std::string spkac );
 public:
-    static std::shared_ptr<X509Req> parse( std::string filename );
-    static std::shared_ptr<X509Req> parseSPKAC( std::string filename );
+    static std::shared_ptr<X509Req> parseCSR( std::string content );
+    static std::shared_ptr<X509Req> parseSPKAC( std::string content );
     int verify();
     std::shared_ptr<EVP_PKEY> getPkey();
 };