47 #include <openssl/x509.h>
50 #include "newformat.h"
113 #define RECURSE_CHAIN 0
114 #define RECURSE_NONE 1
116 #define VERIFY_FULL 0xffffffff
117 #define VERIFY_NONE 0x00000000
118 #define VERIFY_DATE 0x00000001
119 #define VERIFY_NOTARGET 0x00000002
120 #define VERIFY_KEY 0x00000004
121 #define VERIFY_SIGN 0x00000008
122 #define VERIFY_ORDER 0x00000010
123 #define VERIFY_ID 0x00000020
124 #define VERIFY_CERTLIST 0x00000040
129 #define VERR_NOSOCKET 1
130 #define VERR_NOIDENT 2
134 #define VERR_NOINIT 6
136 #define VERR_IDCHECK 8
138 #define VERR_EXTRAINFO 9
139 #define VERR_FORMAT 10
140 #define VERR_NODATA 11
141 #define VERR_PARSE 12
144 #define VERR_SERVER 15
146 #define VERR_VERIFY 17
148 #define VERR_ORDER 19
149 #define VERR_SERVERCODE 20
150 #define VERR_NOTAVAIL 21
176 char *system,
char *user,
196 char *system,
char *user,
297 extern int VOMS_Contact(
char *hostname,
int port,
char *servsubject,
298 char *command,
struct vomsdata *vd,
int *error);
311 extern int VOMS_ContactRaw(
char *hostname,
int port,
char *servsubject,
312 char *command,
void **data,
int *datalen,
int *version,
328 extern int VOMS_Retrieve(X509 *cert, STACK_OF(X509) *chain,
int how,