Loading...
Searching...
No Matches
globus_gsi_cred_constants.h
Go to the documentation of this file.
/*
* Copyright 1999-2006 University of Chicago
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef GLOBUS_GSI_CREDENTIAL_CONSTANTS_H
#define GLOBUS_GSI_CREDENTIAL_CONSTANTS_H
#ifdef __cplusplus
extern "C" {
#endif
typedef enum
{
GLOBUS_GSI_CRED_ERROR_SUCCESS = 0,
GLOBUS_GSI_CRED_ERROR_READING_PROXY_CRED = 1,
GLOBUS_GSI_CRED_ERROR_READING_HOST_CRED = 2,
GLOBUS_GSI_CRED_ERROR_READING_SERVICE_CRED = 3,
GLOBUS_GSI_CRED_ERROR_READING_CRED = 4,
GLOBUS_GSI_CRED_ERROR_WRITING_CRED = 5,
GLOBUS_GSI_CRED_ERROR_WRITING_PROXY_CRED = 6,
GLOBUS_GSI_CRED_ERROR_CHECKING_PROXY = 7,
GLOBUS_GSI_CRED_ERROR_VERIFYING_CRED = 8,
GLOBUS_GSI_CRED_ERROR_WITH_CRED = 9,
GLOBUS_GSI_CRED_ERROR_WITH_CRED_CERT = 10,
GLOBUS_GSI_CRED_ERROR_WITH_CRED_PRIVATE_KEY = 11,
GLOBUS_GSI_CRED_ERROR_WITH_CRED_CERT_CHAIN = 12,
GLOBUS_GSI_CRED_ERROR_ERRNO = 13,
GLOBUS_GSI_CRED_ERROR_SYSTEM_CONFIG = 14,
GLOBUS_GSI_CRED_ERROR_WITH_CRED_HANDLE_ATTRS = 15,
GLOBUS_GSI_CRED_ERROR_WITH_SSL_CTX = 16,
GLOBUS_GSI_CRED_ERROR_WITH_CALLBACK_DATA = 17,
GLOBUS_GSI_CRED_ERROR_CREATING_ERROR_OBJ = 18,
GLOBUS_GSI_CRED_ERROR_KEY_IS_PASS_PROTECTED = 19,
GLOBUS_GSI_CRED_ERROR_NO_CRED_FOUND = 20,
GLOBUS_GSI_CRED_ERROR_SUBJECT_CMP = 21,
GLOBUS_GSI_CRED_ERROR_GETTING_SERVICE_NAME = 22,
GLOBUS_GSI_CRED_ERROR_BAD_PARAMETER = 23,
GLOBUS_GSI_CRED_ERROR_WITH_CRED_CERT_NAME = 24,
GLOBUS_GSI_CRED_ERROR_LAST = 25
} globus_gsi_cred_error_t;
typedef enum
{
GLOBUS_PROXY,
GLOBUS_USER,
GLOBUS_HOST,
GLOBUS_SERVICE,
GLOBUS_SO_END
} globus_gsi_cred_type_t;
#define GLOBUS_NULL_GROUP "GLOBUS_NULL_GROUP"
#define GLOBUS_NULL_POLICY "GLOBUS_NULL_POLICY"
#ifdef __cplusplus
}
#endif
#endif
globus_gsi_cred_type_t
globus_gsi_cred_type_t
Definition globus_gsi_cred_constants.h:105
globus_gsi_cred_error_t
globus_gsi_cred_error_t
Definition globus_gsi_cred_constants.h:39
GLOBUS_GSI_CRED_ERROR_WITH_CRED_CERT_CHAIN
@ GLOBUS_GSI_CRED_ERROR_WITH_CRED_CERT_CHAIN
Definition globus_gsi_cred_constants.h:65
GLOBUS_GSI_CRED_ERROR_CREATING_ERROR_OBJ
@ GLOBUS_GSI_CRED_ERROR_CREATING_ERROR_OBJ
Definition globus_gsi_cred_constants.h:77
GLOBUS_GSI_CRED_ERROR_CHECKING_PROXY
@ GLOBUS_GSI_CRED_ERROR_CHECKING_PROXY
Definition globus_gsi_cred_constants.h:55
GLOBUS_GSI_CRED_ERROR_ERRNO
@ GLOBUS_GSI_CRED_ERROR_ERRNO
Definition globus_gsi_cred_constants.h:67
GLOBUS_GSI_CRED_ERROR_WITH_CRED
@ GLOBUS_GSI_CRED_ERROR_WITH_CRED
Definition globus_gsi_cred_constants.h:59
GLOBUS_GSI_CRED_ERROR_NO_CRED_FOUND
@ GLOBUS_GSI_CRED_ERROR_NO_CRED_FOUND
Definition globus_gsi_cred_constants.h:81
GLOBUS_GSI_CRED_ERROR_SYSTEM_CONFIG
@ GLOBUS_GSI_CRED_ERROR_SYSTEM_CONFIG
Definition globus_gsi_cred_constants.h:69
GLOBUS_GSI_CRED_ERROR_READING_PROXY_CRED
@ GLOBUS_GSI_CRED_ERROR_READING_PROXY_CRED
Definition globus_gsi_cred_constants.h:43
GLOBUS_GSI_CRED_ERROR_GETTING_SERVICE_NAME
@ GLOBUS_GSI_CRED_ERROR_GETTING_SERVICE_NAME
Definition globus_gsi_cred_constants.h:85
GLOBUS_GSI_CRED_ERROR_SUCCESS
@ GLOBUS_GSI_CRED_ERROR_SUCCESS
Definition globus_gsi_cred_constants.h:41
GLOBUS_GSI_CRED_ERROR_WITH_CRED_HANDLE_ATTRS
@ GLOBUS_GSI_CRED_ERROR_WITH_CRED_HANDLE_ATTRS
Definition globus_gsi_cred_constants.h:71
GLOBUS_GSI_CRED_ERROR_KEY_IS_PASS_PROTECTED
@ GLOBUS_GSI_CRED_ERROR_KEY_IS_PASS_PROTECTED
Definition globus_gsi_cred_constants.h:79
GLOBUS_GSI_CRED_ERROR_WRITING_PROXY_CRED
@ GLOBUS_GSI_CRED_ERROR_WRITING_PROXY_CRED
Definition globus_gsi_cred_constants.h:53
GLOBUS_GSI_CRED_ERROR_BAD_PARAMETER
@ GLOBUS_GSI_CRED_ERROR_BAD_PARAMETER
Definition globus_gsi_cred_constants.h:87
GLOBUS_GSI_CRED_ERROR_WITH_CRED_CERT
@ GLOBUS_GSI_CRED_ERROR_WITH_CRED_CERT
Definition globus_gsi_cred_constants.h:61
GLOBUS_GSI_CRED_ERROR_READING_HOST_CRED
@ GLOBUS_GSI_CRED_ERROR_READING_HOST_CRED
Definition globus_gsi_cred_constants.h:45
GLOBUS_GSI_CRED_ERROR_READING_SERVICE_CRED
@ GLOBUS_GSI_CRED_ERROR_READING_SERVICE_CRED
Definition globus_gsi_cred_constants.h:47
GLOBUS_GSI_CRED_ERROR_SUBJECT_CMP
@ GLOBUS_GSI_CRED_ERROR_SUBJECT_CMP
Definition globus_gsi_cred_constants.h:83
GLOBUS_GSI_CRED_ERROR_READING_CRED
@ GLOBUS_GSI_CRED_ERROR_READING_CRED
Definition globus_gsi_cred_constants.h:49
GLOBUS_GSI_CRED_ERROR_LAST
@ GLOBUS_GSI_CRED_ERROR_LAST
Definition globus_gsi_cred_constants.h:91
GLOBUS_GSI_CRED_ERROR_WITH_CRED_CERT_NAME
@ GLOBUS_GSI_CRED_ERROR_WITH_CRED_CERT_NAME
Definition globus_gsi_cred_constants.h:89
GLOBUS_GSI_CRED_ERROR_WRITING_CRED
@ GLOBUS_GSI_CRED_ERROR_WRITING_CRED
Definition globus_gsi_cred_constants.h:51
GLOBUS_GSI_CRED_ERROR_WITH_CALLBACK_DATA
@ GLOBUS_GSI_CRED_ERROR_WITH_CALLBACK_DATA
Definition globus_gsi_cred_constants.h:75
GLOBUS_GSI_CRED_ERROR_WITH_CRED_PRIVATE_KEY
@ GLOBUS_GSI_CRED_ERROR_WITH_CRED_PRIVATE_KEY
Definition globus_gsi_cred_constants.h:63
GLOBUS_GSI_CRED_ERROR_WITH_SSL_CTX
@ GLOBUS_GSI_CRED_ERROR_WITH_SSL_CTX
Definition globus_gsi_cred_constants.h:73
GLOBUS_GSI_CRED_ERROR_VERIFYING_CRED
@ GLOBUS_GSI_CRED_ERROR_VERIFYING_CRED
Definition globus_gsi_cred_constants.h:57