globus_gsi_callback_constants.h

Go to the documentation of this file.
00001 /*
00002  * Copyright 1999-2006 University of Chicago
00003  * 
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  * 
00008  * http://www.apache.org/licenses/LICENSE-2.0
00009  * 
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
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 /* GLOBUS_GSI_CALLBACK_CONSTANTS_H */
00091 

Generated on 11 Jan 2017 for globus_gsi_callback by  doxygen 1.4.7