Add hx509_query.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16808 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-03-26 23:33:55 +00:00
parent 8c24e62151
commit e0955cb5ba

View File

@@ -44,6 +44,7 @@ typedef struct hx509_private_key *hx509_private_key;
typedef struct hx509_validate_ctx_data *hx509_validate_ctx;
typedef struct hx509_verify_ctx_data *hx509_verify_ctx;
typedef struct hx509_revoke_ctx_data *hx509_revoke_ctx;
typedef struct hx509_query_data hx509_query;
typedef void * hx509_cursor;
typedef void (*hx509_vprint_func)(void *, const char *, va_list);
@@ -78,4 +79,14 @@ typedef struct hx509_octet_string_list {
heim_octet_string *val;
} hx509_octet_string_list;
/*
* Options passed to hx509_query_match_option.
*/
typedef enum {
HX509_QUERY_OPTION_PRIVATE_KEY = 1,
HX509_QUERY_OPTION_KU_ENCIPHERMENT = 2,
HX509_QUERY_OPTION_KU_DIGITALSIGNATURE = 3,
HX509_QUERY_OPTION_END = 0xffff
} hx509_query_option;
#include <hx509-protos.h>