From 84293fbe7cf828c6afb734f1d9ba5b8ad585637b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 26 Nov 2006 15:18:47 +0000 Subject: [PATCH] Add hx509_peer_info and hx509_select selectors. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19116 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hx509/hx509.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/hx509/hx509.h b/lib/hx509/hx509.h index c13a068be..4915905b2 100644 --- a/lib/hx509/hx509.h +++ b/lib/hx509/hx509.h @@ -48,7 +48,7 @@ typedef struct hx509_query_data hx509_query; typedef void * hx509_cursor; typedef struct hx509_request_data *hx509_request; typedef struct hx509_error_data *hx509_error; - +typedef struct hx509_peer_info *hx509_peer_info; typedef void (*hx509_vprint_func)(void *, const char *, va_list); @@ -97,4 +97,9 @@ typedef enum { /* flags to hx509_cms_unenvelope */ #define HX509_CMS_UE_DONT_REQUIRE_KU_ENCIPHERMENT 0x01 +/* selectors passed to hx509_select */ +#define HX509_SELECT_DIGEST 1 +#define HX509_SELECT_PUBLIC_SIG 2 +#define HX509_SELECT_PUBLIC_ENC 3 + #include