mirror of
https://github.com/brunoos/luasec.git
synced 2025-07-17 22:39:49 +02:00
Add x509:setencode() function to change the encode of ASN.1 string.
This commit is contained in:
@ -12,8 +12,12 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
/* We do not support UniversalString nor BMPString as ASN.1 String types */
|
||||
enum { LSEC_AI5_STRING, LSEC_UTF8_STRING };
|
||||
|
||||
typedef struct t_x509_ {
|
||||
X509 *cert;
|
||||
int encode;
|
||||
} t_x509;
|
||||
typedef t_x509* p_x509;
|
||||
|
||||
|
Reference in New Issue
Block a user