2024-11-17 19:21:37 +13:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_NETWORK_GEN_QOCSPRESPONSE_H
|
|
|
|
#define MIQT_QT_NETWORK_GEN_QOCSPRESPONSE_H
|
2024-11-04 22:53:04 +13: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 QOcspResponse;
|
|
|
|
class QSslCertificate;
|
|
|
|
#else
|
|
|
|
typedef struct QOcspResponse QOcspResponse;
|
|
|
|
typedef struct QSslCertificate QSslCertificate;
|
|
|
|
#endif
|
|
|
|
|
2024-12-07 17:15:57 +13:00
|
|
|
QOcspResponse* QOcspResponse_new();
|
|
|
|
QOcspResponse* QOcspResponse_new2(QOcspResponse* other);
|
2025-02-01 13:45:16 +13:00
|
|
|
void QOcspResponse_operatorAssign(QOcspResponse* self, QOcspResponse* other);
|
|
|
|
int QOcspResponse_certificateStatus(const QOcspResponse* self);
|
|
|
|
int QOcspResponse_revocationReason(const QOcspResponse* self);
|
|
|
|
QSslCertificate* QOcspResponse_responder(const QOcspResponse* self);
|
|
|
|
QSslCertificate* QOcspResponse_subject(const QOcspResponse* self);
|
|
|
|
void QOcspResponse_swap(QOcspResponse* self, QOcspResponse* other);
|
|
|
|
void QOcspResponse_delete(QOcspResponse* self);
|
2024-11-04 22:53:04 +13:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
2025-02-01 13:45:16 +13:00
|
|
|
#endif
|
2024-11-04 22:53:04 +13:00
|
|
|
|
|
|
|
#endif
|