4#include <QtCore/qfile.h>
12 qWarning() <<
"SslConfiguration::getSslKey: No key paths set";
18 qWarning() <<
"SslConfiguration::getSslKey: Couldn't open file:" << m_keyFile;
39 if (m_keyAlgorithm ==
value)
42 m_keyAlgorithm =
value;
47 if (m_keyFormat ==
value)
55 if (m_keyPassPhrase ==
value)
58 m_keyPassPhrase =
value;
63 if (m_keyType ==
type)
QFILE_MAYBE_NODISCARD bool open(OpenMode flags) override
Opens the file using OpenMode mode, returning true if successful; otherwise false.
QByteArray readAll()
Reads all remaining data from the device, and returns it as a byte array.
void setKeyPassPhrase(const QByteArray &value)
QSslKey getSslKey() const
void setKeyType(QSsl::KeyType type)
void setKeyFormat(QSsl::EncodingFormat value)
void setKeyFile(const QString &key)
void setKeyAlgorithm(QSsl::KeyAlgorithm value)
The QSslKey class provides an interface for private and public keys.
\macro QT_RESTRICTED_CAST_FROM_ASCII
bool isEmpty() const noexcept
Returns true if the string has no characters; otherwise returns false.
KeyType
Describes the two types of keys QSslKey supports.
KeyAlgorithm
Describes the different key algorithms supported by QSslKey.
EncodingFormat
Describes supported encoding formats for certificates and keys.
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]