Commit f6d9ce83 authored by Oleg Korshul's avatar Oleg Korshul

.

parent 03edd408
......@@ -33,6 +33,9 @@ public:
virtual bool ShowSelectDialog() = 0;
virtual int ShowCertificate(ICertificate* pCert) = 0;
static int LoadKey(std::wstring file, std::string password);
static int LoadCert(std::wstring file, std::string password);
};
class Q_DECL_EXPORT CCertificateInfo
......
......@@ -652,12 +652,12 @@ void CCertificate_openssl::SetOpenSslDialog(ICertificateSelectDialogOpenSsl* pDi
return m_internal->SetOpenSslDialog(pDialog);
}
int LoadKey(std::wstring file, std::string password)
int ICertificateSelectDialogOpenSsl::LoadKey(std::wstring file, std::string password)
{
return CCertificate_openssl_private::LoadKey(file, password, NULL);
}
int LoadCert(std::wstring file, std::string password)
int ICertificateSelectDialogOpenSsl::LoadCert(std::wstring file, std::string password)
{
return CCertificate_openssl_private::LoadCert(file, password, NULL);
}
......@@ -44,10 +44,6 @@ public:
virtual int ShowCertificate();
virtual void SetOpenSslDialog(ICertificateSelectDialogOpenSsl* pDialog);
public:
static int LoadKey(std::wstring file, std::string password);
static int LoadCert(std::wstring file, std::string password);
};
#endif // _XMLSIGNER_OPENSSL_H_
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment