File: qsslkey_c.h

package info (click to toggle)
libqtpas 2.6%2B2.0.8%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,860 kB
  • sloc: cpp: 56,595; pascal: 13,727; sh: 44; makefile: 18
file content (34 lines) | stat: -rw-r--r-- 1,686 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//******************************************************************************
//  Copyright (c) 2005-2013 by Jan Van hijfte
//
//  See the included file COPYING.TXT for details about the copyright.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//******************************************************************************


#ifndef QSSLKEY_C_H
#define QSSLKEY_C_H

#include <QtNetwork>
#include "pascalbind.h"

C_EXPORT QSslKeyH QSslKey_Create();
C_EXPORT void QSslKey_Destroy(QSslKeyH handle);
C_EXPORT QSslKeyH QSslKey_Create2(const QByteArrayH encoded, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format, QSsl::KeyType type, const QByteArrayH passPhrase);
C_EXPORT QSslKeyH QSslKey_Create3(QIODeviceH device, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format, QSsl::KeyType type, const QByteArrayH passPhrase);
C_EXPORT QSslKeyH QSslKey_Create4(Qt::HANDLE handle, QSsl::KeyType type);
C_EXPORT QSslKeyH QSslKey_Create5(const QSslKeyH other);
C_EXPORT void QSslKey_swap(QSslKeyH handle, QSslKeyH other);
C_EXPORT bool QSslKey_isNull(QSslKeyH handle);
C_EXPORT void QSslKey_clear(QSslKeyH handle);
C_EXPORT int QSslKey_length(QSslKeyH handle);
C_EXPORT QSsl::KeyType QSslKey_type(QSslKeyH handle);
C_EXPORT QSsl::KeyAlgorithm QSslKey_algorithm(QSslKeyH handle);
C_EXPORT void QSslKey_toPem(QSslKeyH handle, QByteArrayH retval, const QByteArrayH passPhrase);
C_EXPORT void QSslKey_toDer(QSslKeyH handle, QByteArrayH retval, const QByteArrayH passPhrase);
C_EXPORT Qt::HANDLE QSslKey_handle(QSslKeyH handle);

#endif