globus_gsi_credential
7.7
Main Page
Modules
Files
File List
Globals
All
Files
Functions
Typedefs
Enumerations
Enumerator
Groups
Pages
globus_gsi_cred_constants.h
Go to the documentation of this file.
1
/*
2
* Copyright 1999-2006 University of Chicago
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
23
#ifndef GLOBUS_GSI_CREDENTIAL_CONSTANTS_H
24
#define GLOBUS_GSI_CREDENTIAL_CONSTANTS_H
25
26
#ifdef __cplusplus
27
extern
"C"
{
28
#endif
29
37
typedef
enum
38
{
40
GLOBUS_GSI_CRED_ERROR_SUCCESS
= 0,
42
GLOBUS_GSI_CRED_ERROR_READING_PROXY_CRED
= 1,
44
GLOBUS_GSI_CRED_ERROR_READING_HOST_CRED
= 2,
46
GLOBUS_GSI_CRED_ERROR_READING_SERVICE_CRED
= 3,
48
GLOBUS_GSI_CRED_ERROR_READING_CRED
= 4,
50
GLOBUS_GSI_CRED_ERROR_WRITING_CRED
= 5,
52
GLOBUS_GSI_CRED_ERROR_WRITING_PROXY_CRED
= 6,
54
GLOBUS_GSI_CRED_ERROR_CHECKING_PROXY
= 7,
56
GLOBUS_GSI_CRED_ERROR_VERIFYING_CRED
= 8,
58
GLOBUS_GSI_CRED_ERROR_WITH_CRED
= 9,
60
GLOBUS_GSI_CRED_ERROR_WITH_CRED_CERT
= 10,
62
GLOBUS_GSI_CRED_ERROR_WITH_CRED_PRIVATE_KEY
= 11,
64
GLOBUS_GSI_CRED_ERROR_WITH_CRED_CERT_CHAIN
= 12,
66
GLOBUS_GSI_CRED_ERROR_ERRNO
= 13,
68
GLOBUS_GSI_CRED_ERROR_SYSTEM_CONFIG
= 14,
70
GLOBUS_GSI_CRED_ERROR_WITH_CRED_HANDLE_ATTRS
= 15,
72
GLOBUS_GSI_CRED_ERROR_WITH_SSL_CTX
= 16,
74
GLOBUS_GSI_CRED_ERROR_WITH_CALLBACK_DATA
= 17,
76
GLOBUS_GSI_CRED_ERROR_CREATING_ERROR_OBJ
= 18,
78
GLOBUS_GSI_CRED_ERROR_KEY_IS_PASS_PROTECTED
= 19,
80
GLOBUS_GSI_CRED_ERROR_NO_CRED_FOUND
= 20,
82
GLOBUS_GSI_CRED_ERROR_SUBJECT_CMP
= 21,
84
GLOBUS_GSI_CRED_ERROR_GETTING_SERVICE_NAME
= 22,
86
GLOBUS_GSI_CRED_ERROR_BAD_PARAMETER
= 23,
88
GLOBUS_GSI_CRED_ERROR_WITH_CRED_CERT_NAME
= 24,
90
GLOBUS_GSI_CRED_ERROR_LAST
= 25
91
}
globus_gsi_cred_error_t
;
92
103
typedef
enum
104
{
105
GLOBUS_PROXY,
106
GLOBUS_USER,
107
GLOBUS_HOST,
108
GLOBUS_SERVICE,
109
GLOBUS_SO_END
110
}
globus_gsi_cred_type_t
;
111
112
#define GLOBUS_NULL_GROUP "GLOBUS_NULL_GROUP"
113
#define GLOBUS_NULL_POLICY "GLOBUS_NULL_POLICY"
114
115
#ifdef __cplusplus
116
}
117
#endif
118
119
#endif
120
Generated by
1.8.3.1