QGIS API Documentation  2.18.3-Las Palmas (77b8c3d)
Macros | Functions
qgsauthcrypto.cpp File Reference
#include "qgsauthcrypto.h"
#include <QObject>
#include <QtCrypto>
Include dependency graph for qgsauthcrypto.cpp:

Go to the source code of this file.

Macros

#define CIPHER_IV_LENGTH   32
 
#define CIPHER_MODE   QCA::Cipher::CBC
 
#define CIPHER_PADDING   QCA::Cipher::PKCS7
 
#define CIPHER_PROVIDER   "qca-ossl"
 
#define CIPHER_SIGNATURE   "aes256-cbc-pkcs7"
 
#define CIPHER_TYPE   "aes256"
 
#define KEY_GEN_ITERATIONS   10000
 
#define KEY_GEN_IV_LENGTH   16
 
#define KEY_GEN_LENGTH   16
 
#define PASSWORD_HASH_ALGORITHM   "sha256"
 

Functions

static QCA::SymmetricKey passwordKey_ (const QString &pass, const QCA::InitializationVector &salt)
 

Macro Definition Documentation

#define CIPHER_IV_LENGTH   32

Definition at line 28 of file qgsauthcrypto.cpp.

#define CIPHER_MODE   QCA::Cipher::CBC

Definition at line 26 of file qgsauthcrypto.cpp.

#define CIPHER_PADDING   QCA::Cipher::PKCS7

Definition at line 27 of file qgsauthcrypto.cpp.

#define CIPHER_PROVIDER   "qca-ossl"

Definition at line 29 of file qgsauthcrypto.cpp.

#define CIPHER_SIGNATURE   "aes256-cbc-pkcs7"

Definition at line 24 of file qgsauthcrypto.cpp.

#define CIPHER_TYPE   "aes256"

Definition at line 25 of file qgsauthcrypto.cpp.

#define KEY_GEN_ITERATIONS   10000

Definition at line 31 of file qgsauthcrypto.cpp.

#define KEY_GEN_IV_LENGTH   16

Definition at line 33 of file qgsauthcrypto.cpp.

#define KEY_GEN_LENGTH   16

Definition at line 32 of file qgsauthcrypto.cpp.

#define PASSWORD_HASH_ALGORITHM   "sha256"

Definition at line 30 of file qgsauthcrypto.cpp.

Function Documentation

static QCA::SymmetricKey passwordKey_ ( const QString pass,
const QCA::InitializationVector &  salt 
)
static

Definition at line 61 of file qgsauthcrypto.cpp.