src/x509.h@bbf12f9be71c
src/x509.h
Sat, 06 Nov 2010 01:10:01 +0000
- author
- Matthew Wild <mwild1@gmail.com>
- date
- Sat, 06 Nov 2010 01:10:01 +0000
- changeset 24
- bbf12f9be71c
- parent 14
-
1927b7b32faf
- permissions
- -rw-r--r--
x509: Add :valid_at() method to discover whether a certificate would be valid at the given timestamp
#include <openssl/x509v3.h>
#include <lua.h>
typedef struct t_x509_ {
X509 *cert;
} t_x509;
typedef t_x509* p_x509;
void luasec_push_x509(lua_State* L, X509* cert);
X509* luasec_to_x509(lua_State* L, int idx);
LUASEC_API int luaopen_ssl_x509(lua_State *L);