Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QQmlSslKey Class Reference

#include <qqmlsslkey_p.h>

+ Collaboration diagram for QQmlSslKey:

Public Member Functions

QSslKey getSslKey () const
 
QString keyFile () const
 
QSsl::KeyAlgorithm keyAlgorithm () const
 
QSsl::EncodingFormat keyFormat () const
 
QByteArray keyPassPhrase () const
 
QSsl::KeyType keyType () const
 
void setKeyFile (const QString &key)
 
void setKeyAlgorithm (QSsl::KeyAlgorithm value)
 
void setKeyFormat (QSsl::EncodingFormat value)
 
void setKeyPassPhrase (const QByteArray &value)
 
void setKeyType (QSsl::KeyType type)
 

Properties

QString keyFile
 
QSsl::KeyAlgorithm keyAlgorithm
 
QSsl::EncodingFormat keyFormat
 
QByteArray keyPassPhrase
 
QSsl::KeyType keyType
 

Friends

bool operator== (const QQmlSslKey &lvalue, const QQmlSslKey &rvalue)
 

Detailed Description

Definition at line 28 of file qqmlsslkey_p.h.

Member Function Documentation

◆ getSslKey()

QT_BEGIN_NAMESPACE QSslKey QQmlSslKey::getSslKey ( ) const

Definition at line 9 of file qqmlsslkey.cpp.

References file, QString::isEmpty(), QFile::open(), qWarning, QIODevice::readAll(), and QIODeviceBase::ReadOnly.

Referenced by QQmlSslConfiguration::setPrivateKey().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ keyAlgorithm()

QSsl::KeyAlgorithm QQmlSslKey::keyAlgorithm ( ) const
inline

Definition at line 47 of file qqmlsslkey_p.h.

◆ keyFile()

QString QQmlSslKey::keyFile ( ) const
inline

Definition at line 46 of file qqmlsslkey_p.h.

◆ keyFormat()

QSsl::EncodingFormat QQmlSslKey::keyFormat ( ) const
inline

Definition at line 48 of file qqmlsslkey_p.h.

◆ keyPassPhrase()

QByteArray QQmlSslKey::keyPassPhrase ( ) const
inline

Definition at line 49 of file qqmlsslkey_p.h.

◆ keyType()

QSsl::KeyType QQmlSslKey::keyType ( ) const
inline

Definition at line 50 of file qqmlsslkey_p.h.

◆ setKeyAlgorithm()

void QQmlSslKey::setKeyAlgorithm ( QSsl::KeyAlgorithm value)

Definition at line 37 of file qqmlsslkey.cpp.

◆ setKeyFile()

void QQmlSslKey::setKeyFile ( const QString & key)

Definition at line 29 of file qqmlsslkey.cpp.

◆ setKeyFormat()

void QQmlSslKey::setKeyFormat ( QSsl::EncodingFormat value)

Definition at line 45 of file qqmlsslkey.cpp.

◆ setKeyPassPhrase()

void QQmlSslKey::setKeyPassPhrase ( const QByteArray & value)

Definition at line 53 of file qqmlsslkey.cpp.

◆ setKeyType()

void QQmlSslKey::setKeyType ( QSsl::KeyType type)

Definition at line 61 of file qqmlsslkey.cpp.

Friends And Related Symbol Documentation

◆ operator==

bool operator== ( const QQmlSslKey & lvalue,
const QQmlSslKey & rvalue )
friend

Definition at line 59 of file qqmlsslkey_p.h.

Property Documentation

◆ keyAlgorithm

QSsl::KeyAlgorithm QQmlSslKey::keyAlgorithm
readwrite

Definition at line 36 of file qqmlsslkey_p.h.

◆ keyFile

QString QQmlSslKey::keyFile
readwrite

Definition at line 34 of file qqmlsslkey_p.h.

◆ keyFormat

QSsl::EncodingFormat QQmlSslKey::keyFormat
readwrite

Definition at line 38 of file qqmlsslkey_p.h.

◆ keyPassPhrase

QByteArray QQmlSslKey::keyPassPhrase
readwrite

Definition at line 40 of file qqmlsslkey_p.h.

◆ keyType

QSsl::KeyType QQmlSslKey::keyType
readwrite

Definition at line 42 of file qqmlsslkey_p.h.


The documentation for this class was generated from the following files: