rampart_error.h

Go to the documentation of this file.
00001 /*
00002  * Copyright 2004,2005 The Apache Software Foundation.
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 RAMPART_ERROR_H
00018 #define RAMPART_ERROR_H
00019 
00020 #include <axutil_error.h>
00021 
00022 #ifdef __cplusplus
00023 extern "C"
00024 {
00025 #endif
00026 
00042     enum rampart_error_codes
00043     { 
00044         /* No error */
00045         RAMPART_ERROR_NONE = RAMPART_ERROR_CODES_START,
00046         RAMPART_ERROR_UNSUPPORTED_SECURITY_TOKEN,
00047         RAMPART_ERROR_INVALID_SECURITY,
00048         RAMPART_ERROR_INVALID_SECURITY_TOKEN,
00049         RAMPART_ERROR_FAILED_AUTHENTICATION,
00050         RAMPART_ERROR_FAILED_CHECK,
00051         RAMPART_ERROR_SECURITY_TOKEN_UNAVAILABLE,
00052         RAMPART_ERROR_RAMPART_ERROR_LAST,
00053         RAMPART_ERROR_IN_TIMESTAMP,
00054         RAMPART_ERROR_IN_USERNAMETOKEN ,
00055         RAMPART_ERROR_IN_ENCRYPTED_KEY  ,
00056         RAMPART_ERROR_IN_ENCRYPTED_DATA ,
00057         RAMPART_ERROR_IN_SIGNATURE ,
00058         RAMPART_ERROR_MSG_REPLAYED ,
00059         RAMPART_ERROR_IN_POLICY ,
00060         RAMPART_ERROR_LAST
00061     };
00062       
00063     typedef enum rampart_error_codes rampart_error_codes_t;
00064 
00071 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00072 rampart_error_init();
00073 
00075 #ifdef __cplusplus
00076 }
00077 #endif
00078  
00079 #endif /*RAMPART_ERROR_H*/

Generated on Wed Oct 14 01:02:16 2009 for Rampart/C by  doxygen 1.5.7.1