wolfSSL SSL/TLS library, support up to TLS1.3

Dependents:   CyaSSL-Twitter-OAuth4Tw Example-client-tls-cert TwitterReader TweetTest ... more

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers objects.h Source File

objects.h

00001 /* objects.h
00002  *
00003  * Copyright (C) 2006-2020 wolfSSL Inc.
00004  *
00005  * This file is part of wolfSSL.
00006  *
00007  * wolfSSL is free software; you can redistribute it and/or modify
00008  * it under the terms of the GNU General Public License as published by
00009  * the Free Software Foundation; either version 2 of the License, or
00010  * (at your option) any later version.
00011  *
00012  * wolfSSL is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  * GNU General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU General Public License
00018  * along with this program; if not, write to the Free Software
00019  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
00020  */
00021 
00022 
00023 #ifndef WOLFSSL_OBJECTS_H_
00024 #define WOLFSSL_OBJECTS_H_
00025 
00026 #include <wolfssl/wolfcrypt/settings.h>
00027 //#include <wolfssl/openssl/ssl.h>
00028 #ifndef OPENSSL_EXTRA_SSL_GUARD
00029 #define OPENSSL_EXTRA_SSL_GUARD
00030 #include <wolfssl/ssl.h>
00031 #endif /* OPENSSL_EXTRA_SSL_GUARD */
00032 
00033 #ifdef __cplusplus
00034     extern "C" {
00035 #endif
00036 
00037 #define OBJ_nid2sn  wolfSSL_OBJ_nid2sn
00038 #define OBJ_obj2nid wolfSSL_OBJ_obj2nid
00039 #define OBJ_sn2nid  wolfSSL_OBJ_sn2nid
00040 #define OBJ_nid2ln  wolfSSL_OBJ_nid2ln
00041 #define OBJ_ln2nid  wolfSSL_OBJ_ln2nid
00042 #define OBJ_txt2nid wolfSSL_OBJ_txt2nid
00043 #define OBJ_txt2obj wolfSSL_OBJ_txt2obj
00044 #define OBJ_nid2obj wolfSSL_OBJ_nid2obj
00045 #define OBJ_obj2txt wolfSSL_OBJ_obj2txt
00046 #define OBJ_cleanup wolfSSL_OBJ_cleanup
00047 #define OBJ_cmp     wolfSSL_OBJ_cmp
00048 #define OBJ_create  wolfSSL_OBJ_create
00049 #define ASN1_OBJECT_free wolfSSL_ASN1_OBJECT_free
00050 
00051 /* not required for wolfSSL */
00052 #define OPENSSL_load_builtin_modules()
00053 
00054 
00055 #define NID_ad_OCSP                     178
00056 #define NID_ad_ca_issuers               179
00057 
00058 
00059 #ifdef __cplusplus
00060     }  /* extern "C" */
00061 #endif
00062 
00063 #endif /* WOLFSSL_OBJECTS_H_ */
00064