From efadbf79e9c864578bfd1277d824e69b2989aac5 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Thu, 30 Mar 2006 07:22:01 +0000 Subject: - rewrote a lot of RSA stuff - done major work for ASN1/decoder - allow loading of ASN1 der encoded private keys, public keys and certificates - extracting public key from certificates - passing certificates from stroke to charon => basic authentication with RSA certificates works! --- Source/charon/threads/stroke.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Source/charon/threads/stroke.h') diff --git a/Source/charon/threads/stroke.h b/Source/charon/threads/stroke.h index 267c455f0..113d38d30 100644 --- a/Source/charon/threads/stroke.h +++ b/Source/charon/threads/stroke.h @@ -29,6 +29,9 @@ #define STROKE_SOCKET "/var/run/charon.ctl" +#define IPSEC_DIR "/etc/ipsec.d/" +#define PRIVATE_KEY_DIR IPSEC_DIR "private/" +#define CERTIFICATE_DIR IPSEC_DIR "certs/" /** * @brief A stroke message sent over the unix socket. @@ -61,6 +64,7 @@ struct stroke_msg_t { char *name; struct { char *id; + char *cert; char *address; char *subnet; u_int8_t subnet_mask; -- cgit v1.2.3