usbloadergx/source/libs/libwolfssl/openssl/x509.h

27 lines
938 B
C
Raw Normal View History

2019-11-11 18:09:59 +01:00
/* x509.h for openssl */
#include <libs/libwolfssl/openssl/ssl.h>
2020-07-06 18:05:04 +02:00
#include <libs/libwolfssl/openssl/crypto.h>
2019-11-11 18:09:59 +01:00
#include <libs/libwolfssl/openssl/dh.h>
2020-07-06 18:05:04 +02:00
#include <libs/libwolfssl/openssl/ec.h>
#include <libs/libwolfssl/openssl/ecdsa.h>
2019-11-11 18:09:59 +01:00
/* wolfSSL_X509_print_ex flags */
#define X509_FLAG_COMPAT (0UL)
#define X509_FLAG_NO_HEADER (1UL << 0)
#define X509_FLAG_NO_VERSION (1UL << 1)
#define X509_FLAG_NO_SERIAL (1UL << 2)
#define X509_FLAG_NO_SIGNAME (1UL << 3)
#define X509_FLAG_NO_ISSUER (1UL << 4)
#define X509_FLAG_NO_VALIDITY (1UL << 5)
#define X509_FLAG_NO_SUBJECT (1UL << 6)
#define X509_FLAG_NO_PUBKEY (1UL << 7)
#define X509_FLAG_NO_EXTENSIONS (1UL << 8)
#define X509_FLAG_NO_SIGDUMP (1UL << 9)
#define X509_FLAG_NO_AUX (1UL << 10)
#define X509_FLAG_NO_ATTRIBUTES (1UL << 11)
#define X509_FLAG_NO_IDS (1UL << 12)
2020-07-06 18:05:04 +02:00
#define XN_FLAG_FN_SN 0
#define XN_FLAG_SEP_CPLUS_SPC 2