#include "openssltool.h" #include #include #include #define REGEXOLD "CN = [0-9]+\\#([^\\#\\$&\"\'=\\(\\)\\\\/\\|`!<>\\{\\}\\[\\]\\+\r\n]+)" #define REGEXNEW "CN = ([^\\#\\$&\"\'=\\(\\)\\\\/\\|`!<>\\{\\}\\[\\]\\+\r\n]+)" OpenSSLTool::OpenSSLTool() { } QString OpenSSLTool::NameFromCertFile(QString cert_file) { // QProcess openssl; openssl.start("openssl",QStringList()<<"x509"<<"-in"<