22 globus_gsi_gssapi_test_acquire_credential();
25 globus_gsi_gssapi_test_release_credential(
26 gss_cred_id_t * credential);
29 test_establish_contexts(
30 gss_ctx_id_t *init_context,
31 gss_ctx_id_t *accept_context,
33 OM_uint32 *major_status,
34 OM_uint32 *minor_status);
37 test_establish_contexts_with_mechs(
38 gss_ctx_id_t *init_context,
39 gss_ctx_id_t *accept_context,
40 const gss_OID init_mec_type,
42 OM_uint32 *major_status,
43 OM_uint32 *minor_status);
46 globus_gsi_gssapi_test_authenticate(
49 gss_cred_id_t credential,
50 gss_ctx_id_t * context_handle,
52 gss_cred_id_t * delegated_cred);
55 globus_gsi_gssapi_test_cleanup(
56 gss_ctx_id_t * context_handle,
58 gss_cred_id_t * delegated_cred);
61 globus_gsi_gssapi_test_export_context(
63 gss_ctx_id_t * context);
67 globus_gsi_gssapi_test_import_context(
69 gss_ctx_id_t * context);
72 globus_gsi_gssapi_test_send_hello(
74 gss_ctx_id_t context);
77 globus_gsi_gssapi_test_receive_hello(
79 gss_ctx_id_t context);
82 globus_gsi_gssapi_test_dump_cert_chain(
84 gss_ctx_id_t context);
87 globus_gsi_gssapi_test_print_error(
89 OM_uint32 major_status,
90 OM_uint32 minor_status);
93 globus_gsi_gssapi_test_print_result(
98 typedef int (*test_case)(void);
106 #define TEST_CASE(x) { #x, x }
107 #define SIZEOF_ARRAY(a) (sizeof(a) / sizeof(a[0]))
110 extern const gss_OID_desc *
const globus_i_gss_mech_globus_gssapi_openssl;
111 extern const gss_OID_desc *
const globus_i_gss_proxycertinfo_extension;
112 extern const gss_OID_desc *
const globus_i_gss_ext_x509_cert_chain_oid;
113 extern const gss_OID_desc *
const gss_ext_alpn_oid;
114 extern gss_OID_desc * globus_i_gss_nt_host_ip;
115 extern gss_OID_desc * globus_i_gss_nt_x509;
119 #ifndef GLOBUS_GSS_C_NT_HOST_IP
120 #define GLOBUS_GSS_C_NT_HOST_IP globus_i_gss_nt_host_ip
122 #ifndef GLOBUS_GSS_C_NT_X509
123 #define GLOBUS_GSS_C_NT_X509 globus_i_gss_nt_x509
int globus_bool_t
Boolean type.
Definition: globus_types.h:93
Headers common to all of Globus.
uint32_t globus_result_t
Definition: globus_types.h:99