59 #include <openssl/rsa.h> 60 #include <openssl/dsa.h> 77 void clear(
bool deep =
true);
80 bool deepClear =
true);
100 #endif // QSSLKEY_P_H QByteArray pemFromDer(const QByteArray &der) const
Returns a DER key formatted as PEM.
#define QT_END_NAMESPACE
This macro expands to.
The QAtomicInt class provides platform-independent atomic operations on integers. ...
The QByteArray class provides an array of bytes.
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
QSsl::KeyAlgorithm algorithm
#define QT_BEGIN_NAMESPACE
This macro expands to.
QByteArray derFromPem(const QByteArray &pem) const
Returns a PEM key formatted as DER.
void decodePem(const QByteArray &pem, const QByteArray &passPhrase, bool deepClear=true)
Allocates a new rsa or dsa struct and decodes pem into it according to the current algorithm and type...
QByteArray pemFooter() const
void clear(bool deep=true)
QByteArray pemHeader() const
KeyAlgorithm
Describes the different key algorithms supported by QSslKey.
KeyType
Describes the two types of keys QSslKey supports.