25 #include "ksslconfig_win.h"
27 #include "ksslconfig.h"
31 #define crypt _openssl_crypt
32 #include <openssl/pkcs12.h>
40 #include <ksslcertificate.h>
41 #include <ksslcertchain.h>
44 #define STACK_OF(x) void
48 class KSSLPKCS12Private;
83 static KSSLPKCS12* fromString(TQString base64, TQString password =
"");
91 static KSSLPKCS12* loadCertFile(TQString filename, TQString password =
"");
104 void setCert(PKCS12 *c);
112 bool changePassword(TQString pold, TQString pnew);
119 EVP_PKEY *getPrivateKey();
132 bool toFile(TQString filename);
177 bool isValid(KSSLCertificate::KSSLPurpose p);
181 bool parse(TQString pass);
184 KSSLPKCS12Private *d;
189 STACK_OF(X509) *_caStack;
Dynamically load and wrap OpenSSL.
KSSLValidation
A CA certificate can be validated as Irrelevant when it was not used to sign any other relevant certi...