globus_gsi_cred_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 
00023 #ifndef GLOBUS_GSI_CREDENTIAL_CONSTANTS_H
00024 #define GLOBUS_GSI_CREDENTIAL_CONSTANTS_H
00025 
00026 #ifdef __cplusplus
00027 extern "C" {
00028 #endif
00029 
00037 typedef enum
00038 {
00040     GLOBUS_GSI_CRED_ERROR_SUCCESS = 0,
00042     GLOBUS_GSI_CRED_ERROR_READING_PROXY_CRED = 1,
00044     GLOBUS_GSI_CRED_ERROR_READING_HOST_CRED = 2,
00046     GLOBUS_GSI_CRED_ERROR_READING_SERVICE_CRED = 3,
00048     GLOBUS_GSI_CRED_ERROR_READING_CRED = 4,
00050     GLOBUS_GSI_CRED_ERROR_WRITING_CRED = 5,
00052     GLOBUS_GSI_CRED_ERROR_WRITING_PROXY_CRED = 6,
00054     GLOBUS_GSI_CRED_ERROR_CHECKING_PROXY = 7,
00056     GLOBUS_GSI_CRED_ERROR_VERIFYING_CRED = 8,
00058     GLOBUS_GSI_CRED_ERROR_WITH_CRED = 9,
00060     GLOBUS_GSI_CRED_ERROR_WITH_CRED_CERT = 10,
00062     GLOBUS_GSI_CRED_ERROR_WITH_CRED_PRIVATE_KEY = 11,
00064     GLOBUS_GSI_CRED_ERROR_WITH_CRED_CERT_CHAIN = 12,
00066     GLOBUS_GSI_CRED_ERROR_ERRNO = 13,
00068     GLOBUS_GSI_CRED_ERROR_SYSTEM_CONFIG = 14,
00070     GLOBUS_GSI_CRED_ERROR_WITH_CRED_HANDLE_ATTRS = 15,
00072     GLOBUS_GSI_CRED_ERROR_WITH_SSL_CTX = 16,
00074     GLOBUS_GSI_CRED_ERROR_WITH_CALLBACK_DATA = 17,
00076     GLOBUS_GSI_CRED_ERROR_CREATING_ERROR_OBJ = 18,
00078     GLOBUS_GSI_CRED_ERROR_KEY_IS_PASS_PROTECTED = 19,
00080     GLOBUS_GSI_CRED_ERROR_NO_CRED_FOUND = 20,
00082     GLOBUS_GSI_CRED_ERROR_SUBJECT_CMP = 21,
00084     GLOBUS_GSI_CRED_ERROR_GETTING_SERVICE_NAME = 22,
00086     GLOBUS_GSI_CRED_ERROR_BAD_PARAMETER = 23,
00088     GLOBUS_GSI_CRED_ERROR_WITH_CRED_CERT_NAME = 24,
00090     GLOBUS_GSI_CRED_ERROR_LAST = 25
00091 } globus_gsi_cred_error_t;
00092 
00103 typedef enum 
00104 {
00105     GLOBUS_PROXY,
00106     GLOBUS_USER,
00107     GLOBUS_HOST,
00108     GLOBUS_SERVICE,
00109     GLOBUS_SO_END
00110 } globus_gsi_cred_type_t;
00111 
00112 #define GLOBUS_NULL_GROUP               "GLOBUS_NULL_GROUP"
00113 #define GLOBUS_NULL_POLICY              "GLOBUS_NULL_POLICY"
00114 
00115 #ifdef __cplusplus
00116 }
00117 #endif
00118 
00119 #endif
00120 

Generated on 27 Oct 2014 for globus_gsi_credential by  doxygen 1.4.7