43 #ifndef QSSLSOCKET_OPENSSL_P_H 44 #define QSSLSOCKET_OPENSSL_P_H 61 #if defined(OCSP_RESPONSE) 66 #include <openssl/asn1.h> 67 #include <openssl/bio.h> 68 #include <openssl/bn.h> 69 #include <openssl/err.h> 70 #include <openssl/evp.h> 71 #include <openssl/pem.h> 72 #include <openssl/pkcs12.h> 73 #include <openssl/pkcs7.h> 74 #include <openssl/rand.h> 75 #include <openssl/ssl.h> 76 #include <openssl/stack.h> 77 #include <openssl/x509.h> 78 #include <openssl/x509v3.h> 79 #include <openssl/x509_vfy.h> 80 #include <openssl/dsa.h> 81 #include <openssl/rsa.h> 82 #include <openssl/crypto.h> 83 #if OPENSSL_VERSION_NUMBER >= 0x0090806fL && !defined(OPENSSL_NO_TLSEXT) 84 #include <openssl/tls1.h> 87 #if OPENSSL_VERSION_NUMBER >= 0x10000000L 128 #if defined(Q_OS_SYMBIAN) 130 #include <QByteArray> 133 #include <unifiedcertstore.h> 134 #include <ccertattributefilter.h> 143 class CSymbianCertificateRetriever :
public CActive
146 static CSymbianCertificateRetriever* NewL();
147 ~CSymbianCertificateRetriever();
153 CSymbianCertificateRetriever();
154 static TInt ThreadEntryPoint(TAny* aParams);
155 void doThreadEntryL();
156 void GetCertificateL();
159 TInt RunError(TInt aError);
165 RetrievingCertificates
169 CUnifiedCertStore* iCertStore;
170 RMPointerArray<CCTCertInfo> iCertInfos;
171 CCertAttributeFilter* iCertFilter;
172 TInt iCurrentCertIndex;
174 TPtr8 iCertificatePtr;
#define QT_END_NAMESPACE
This macro expands to.
QSslSocketBackendPrivate()
X509_STORE_CTX * certificateStoreCtx
The QByteArray class provides an array of bytes.
The QSslSocket class provides an SSL encrypted socket for both clients and servers.
The QString class provides a Unicode character string.
static QList< QSslCertificate > STACKOFX509_to_QSslCertificates(STACK_OF(X509) *x509)
The QSslCipher class represents an SSL cryptographic cipher.
#define QT_BEGIN_NAMESPACE
This macro expands to.
void startServerEncryption()
void transmit()
Transmits encrypted data between the BIOs and the socket.
void disconnectFromHost()
#define Q_DECLARE_PUBLIC(Class)
QSslCipher sessionCipher() const
#define Q_AUTOTEST_EXPORT
void startClientEncryption()
QList< QPair< int, int > > errorList
static QSslCipher QSslCipher_from_SSL_CIPHER(SSL_CIPHER *cipher)
static QString getErrorsFromOpenSsl()
STACK_OF(SSL_CIPHER) *SSL_get_ciphers SSL *a
X509_STORE * certificateStore
static Q_AUTOTEST_EXPORT bool isMatchingHostname(const QString &cn, const QString &hostname)
virtual ~QSslSocketBackendPrivate()
The QList class is a template class that provides lists.