00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef GLOBUS_GSI_CALLBACK_CONSTANTS_H
00018 #define GLOBUS_GSI_CALLBACK_CONSTANTS_H
00019
00026 #ifdef __cplusplus
00027 extern "C" {
00028 #endif
00029
00037 typedef enum
00038 {
00040 GLOBUS_GSI_CALLBACK_ERROR_SUCCESS = 0,
00042 GLOBUS_GSI_CALLBACK_ERROR_VERIFY_CRED = 1,
00044 GLOBUS_GSI_CALLBACK_ERROR_CERT_NOT_YET_VALID = 2,
00046 GLOBUS_GSI_CALLBACK_ERROR_CANT_GET_LOCAL_CA_CERT = 3,
00048 GLOBUS_GSI_CALLBACK_ERROR_CERT_HAS_EXPIRED = 4,
00050 GLOBUS_GSI_CALLBACK_ERROR_INVALID_PROXY = 5,
00052 GLOBUS_GSI_CALLBACK_ERROR_LIMITED_PROXY = 6,
00054 GLOBUS_GSI_CALLBACK_ERROR_INVALID_CRL = 7,
00056 GLOBUS_GSI_CALLBACK_ERROR_REVOKED_CERT = 8,
00058 GLOBUS_GSI_CALLBACK_ERROR_MIXING_DIFFERENT_PROXY_TYPES = 9,
00060 GLOBUS_GSI_CALLBACK_ERROR_WITH_SIGNING_POLICY = 10,
00062 GLOBUS_GSI_CALLBACK_ERROR_OLD_GAA = 11,
00064 GLOBUS_GSI_CALLBACK_ERROR_CALLBACK_DATA = 12,
00066 GLOBUS_GSI_CALLBACK_ERROR_ERRNO = 13,
00068 GLOBUS_GSI_CALLBACK_ERROR_CERT_CHAIN = 14,
00070 GLOBUS_GSI_CALLBACK_ERROR_WITH_CALLBACK_DATA_INDEX = 15,
00072 GLOBUS_GSI_CALLBACK_ERROR_PROXY_PATH_LENGTH_EXCEEDED = 16,
00074 GLOBUS_GSI_CALLBACK_ERROR_LAST = 18
00075
00076 } globus_gsi_callback_error_t;
00077
00084 #define GLOBUS_GSI_CALLBACK_VERIFY_DEPTH 100
00085
00086 #ifdef __cplusplus
00087 }
00088 #endif
00089
00090 #endif
00091