openssl_constants.h

Go to the documentation of this file.
00001 /*
00002  *   Copyright 2003-2004 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 #include <axis2_util.h>
00018 
00023 #ifndef OPENSSL_CONSTANTS_H
00024 #define OPENSSL_CONSTANTS_H
00025 
00026 #ifdef __cplusplus
00027 extern "C" {
00028 #endif
00029 
00030 #define OPENSSL_ENCRYPT             1
00031 #define OPENSSL_DECRYPT             0
00032 #define OPENSSL_LEAVE_UNCHANGED     -1
00033 
00036 #define OPENSSL_EVP_des_ede3_cbc     "EVP_des_ede3_cbc"
00037 #define OPENSSL_EVP_aes_128_cbc      "EVP_aes_128_cbc"
00038 #define OPENSSL_EVP_aes_192_cbc      "EVP_aes_192_cbc"
00039 #define OPENSSL_EVP_aes_256_cbc      "EVP_aes_256_cbc"
00040 
00041 #define OPENSSL_RSA_ENCRYPTION      "rsaEncryption"
00042 
00043 #define OPENSSL_DEFAULT_IV8          "01234567"
00044 #define OPENSSL_DEFAULT_IV16         "0123456701234567"
00045 #define OPENSSL_DEFAULT_IV24         "012345670123456701234567"
00046 
00047 
00048 #ifdef __cplusplus
00049 }
00050 #endif
00051 
00052 #endif    /* OPENSSL_CONSTANTS_H */

Generated on Wed Dec 20 20:14:10 2006 for Axis2/C by  doxygen 1.5.1