miqt/qt6/network/gen_qsslkey.h

58 lines
2.3 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT6_NETWORK_GEN_QSSLKEY_H
#define MIQT_QT6_NETWORK_GEN_QSSLKEY_H
2024-11-04 09:53:04 +00:00
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include "../../libmiqt/libmiqt.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
class QIODevice;
class QSslKey;
#else
typedef struct QIODevice QIODevice;
typedef struct QSslKey QSslKey;
#endif
2024-11-19 06:29:06 +00:00
void QSslKey_new(QSslKey** outptr_QSslKey);
void QSslKey_new2(struct miqt_string encoded, int algorithm, QSslKey** outptr_QSslKey);
void QSslKey_new3(QIODevice* device, int algorithm, QSslKey** outptr_QSslKey);
void QSslKey_new4(void* handle, QSslKey** outptr_QSslKey);
void QSslKey_new5(QSslKey* other, QSslKey** outptr_QSslKey);
void QSslKey_new6(struct miqt_string encoded, int algorithm, int format, QSslKey** outptr_QSslKey);
void QSslKey_new7(struct miqt_string encoded, int algorithm, int format, int typeVal, QSslKey** outptr_QSslKey);
void QSslKey_new8(struct miqt_string encoded, int algorithm, int format, int typeVal, struct miqt_string passPhrase, QSslKey** outptr_QSslKey);
void QSslKey_new9(QIODevice* device, int algorithm, int format, QSslKey** outptr_QSslKey);
void QSslKey_new10(QIODevice* device, int algorithm, int format, int typeVal, QSslKey** outptr_QSslKey);
void QSslKey_new11(QIODevice* device, int algorithm, int format, int typeVal, struct miqt_string passPhrase, QSslKey** outptr_QSslKey);
void QSslKey_new12(void* handle, int typeVal, QSslKey** outptr_QSslKey);
2024-11-04 09:53:04 +00:00
void QSslKey_OperatorAssign(QSslKey* self, QSslKey* other);
void QSslKey_Swap(QSslKey* self, QSslKey* other);
bool QSslKey_IsNull(const QSslKey* self);
void QSslKey_Clear(QSslKey* self);
int QSslKey_Length(const QSslKey* self);
int QSslKey_Type(const QSslKey* self);
int QSslKey_Algorithm(const QSslKey* self);
struct miqt_string QSslKey_ToPem(const QSslKey* self);
struct miqt_string QSslKey_ToDer(const QSslKey* self);
void* QSslKey_Handle(const QSslKey* self);
bool QSslKey_OperatorEqual(const QSslKey* self, QSslKey* key);
bool QSslKey_OperatorNotEqual(const QSslKey* self, QSslKey* key);
struct miqt_string QSslKey_ToPem1(const QSslKey* self, struct miqt_string passPhrase);
struct miqt_string QSslKey_ToDer1(const QSslKey* self, struct miqt_string passPhrase);
2024-11-19 06:29:06 +00:00
void QSslKey_Delete(QSslKey* self, bool isSubclass);
2024-11-04 09:53:04 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif