Qore Programming Language: include/qore/QoreSSLBase.h (6585) Source File

Qore Programming Language 0.8.11

- Main Page
- Related Pages
- Modules
- Classes
- Files

- File List
- File Members

All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
QoreSSLBase.h
1 /* -*- mode: c++; indent-tabs-mode: nil -*- */
2 /*
3 QoreSSLBase.h
4
5 Qore Programming Language
6
7 Copyright 2003 - 2013 David Nichols
8
9 This library is free software; you can redistribute it and/or
10 modify it under the terms of the GNU Lesser General Public
11 License as published by the Free Software Foundation; either
12 version 2.1 of the License, or (at your option) any later version.
13
14 This library is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 Lesser General Public License for more details.
18
19 You should have received a copy of the GNU Lesser General Public
20 License along with this library; if not, write to the Free Software
21 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22 */
23
24 #ifndef _QORE_QORESSLBASE_H
25
26 #define _QORE_QORESSLBASE_H
27
28 #include <openssl/ssl.h>
29 #include <openssl/x509v3.h>
30
32 class QoreSSLBase {
33 public:
34 DLLEXPORT static QoreHashNode *X509_NAME_to_hash(X509_NAME *n);
35 DLLEXPORT static DateTimeNode *ASN1_TIME_to_DateTime(ASN1_STRING *t);
36 DLLEXPORT static QoreStringNode *ASN1_OBJECT_to_QoreStringNode(ASN1_OBJECT *o);
37 };
38
39 #endif // _QORE_CLASS_SSLBASE_H
QoreHashNode
This is the hash or associative list container type in Qore, dynamically allocated only...
Definition: QoreHashNode.h:41
QoreStringNode
Qore's string value type, reference counted, dynamically-allocated only.
Definition: QoreStringNode.h:40
DateTimeNode
Qore's parse tree/value type for date-time values, reference-counted, dynamically-allocated only...
Definition: DateTimeNode.h:36
QoreSSLBase
offers static functions to help with translating openssl data structures to Qore data structures ...
Definition: QoreSSLBase.h:32