#include "qsslsocket_openssl_symbols_p.h"
#include "qtlsbackend_openssl_p.h"
#include "qtlskey_openssl_p.h"
#include <QtNetwork/private/qsslkey_p.h>
#include <QtNetwork/qsslsocket.h>
#include <QtCore/qscopeguard.h>
Go to the source code of this file.
|  | 
| namespace | QTlsPrivate | 
|  | Namespace containing onternal types that TLS backends implement. 
 | 
|  | 
◆ get_key
      
        
          | #define get_key | ( |  | key, | 
        
          |  |  |  | alg | 
        
          |  | ) |  | key = q_EVP_PKEY_get1_##alg(pkey) | 
      
 
 
◆ get_pubkey
      
        
          | #define get_pubkey | ( |  | keyName, | 
        
          |  |  |  | alg | 
        
          |  | ) |  | tlsKey->keyName = q_EVP_PKEY_get1_##alg(pkey) | 
      
 
 
◆ write_privatekey
      
        
          | #define write_privatekey | ( |  | alg, | 
        
          |  |  |  | key | 
        
          |  | ) |  |  | 
      
 
Value:        q_PEM_write_bio_##alg##PrivateKey(bio, 
key, cipher, (
uchar *)passPhrase.data(), \
        passPhrase.size(), nullptr, nullptr)
 
 
◆ write_pubkey
      
        
          | #define write_pubkey | ( |  | alg, | 
        
          |  |  |  | key | 
        
          |  | ) |  | q_PEM_write_bio_##alg##_PUBKEY(bio, key) |