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
00038 typedef enum
00039 {
00041 GLOBUS_GSI_CALLBACK_ERROR_SUCCESS = 0,
00043 GLOBUS_GSI_CALLBACK_ERROR_VERIFY_CRED = 1,
00045 GLOBUS_GSI_CALLBACK_ERROR_CERT_NOT_YET_VALID = 2,
00047 GLOBUS_GSI_CALLBACK_ERROR_CANT_GET_LOCAL_CA_CERT = 3,
00049 GLOBUS_GSI_CALLBACK_ERROR_CERT_HAS_EXPIRED = 4,
00051 GLOBUS_GSI_CALLBACK_ERROR_INVALID_PROXY = 5,
00053 GLOBUS_GSI_CALLBACK_ERROR_LIMITED_PROXY = 6,
00055 GLOBUS_GSI_CALLBACK_ERROR_INVALID_CRL = 7,
00057 GLOBUS_GSI_CALLBACK_ERROR_REVOKED_CERT = 8,
00059 GLOBUS_GSI_CALLBACK_ERROR_MIXING_DIFFERENT_PROXY_TYPES = 9,
00061 GLOBUS_GSI_CALLBACK_ERROR_WITH_SIGNING_POLICY = 10,
00063 GLOBUS_GSI_CALLBACK_ERROR_OLD_GAA = 11,
00065 GLOBUS_GSI_CALLBACK_ERROR_CALLBACK_DATA = 12,
00067 GLOBUS_GSI_CALLBACK_ERROR_ERRNO = 13,
00069 GLOBUS_GSI_CALLBACK_ERROR_CERT_CHAIN = 14,
00071 GLOBUS_GSI_CALLBACK_ERROR_WITH_CALLBACK_DATA_INDEX = 15,
00073 GLOBUS_GSI_CALLBACK_ERROR_PROXY_PATH_LENGTH_EXCEEDED = 16,
00075 GLOBUS_GSI_CALLBACK_ERROR_LAST = 18
00076
00077 } globus_gsi_callback_error_t;
00078
00085 #define GLOBUS_GSI_CALLBACK_VERIFY_DEPTH 100
00086
00087 #ifdef __cplusplus
00088 }
00089 #endif
00090
00091 #endif
00092