00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #include <axis2_util.h>
00018
00023 #ifndef OPENSSL_CONSTANTS_H
00024 #define OPENSSL_CONSTANTS_H
00025
00033 #ifdef __cplusplus
00034 extern "C" {
00035 #endif
00036
00037 #define OPENSSL_ENCRYPT 1
00038 #define OPENSSL_DECRYPT 0
00039 #define OPENSSL_LEAVE_UNCHANGED -1
00040
00043 #define OPENSSL_EVP_des_ede3_cbc "EVP_des_ede3_cbc"
00044 #define OPENSSL_EVP_aes_128_cbc "EVP_aes_128_cbc"
00045 #define OPENSSL_EVP_aes_192_cbc "EVP_aes_192_cbc"
00046 #define OPENSSL_EVP_aes_256_cbc "EVP_aes_256_cbc"
00047
00048 #define OPENSSL_HMAC_SHA1 "HmacSha1"
00049 #define OPENSSL_HMAC_SHA1_KEY_LEN 32
00050
00051 #define OPENSSL_RSA_ENCRYPTION "rsaEncryption"
00052 #define OPENSSL_RSA_PKCS1_PADDING "RSA_PKCS1_PADDING"
00053 #define OPENSSL_RSA_PKCS1_OAEP_PADDING "RSA_PKCS1_OAEP_PADDING"
00054
00055 #define OPENSSL_DEFAULT_IV8 "01234567"
00056 #define OPENSSL_DEFAULT_IV16 "0123456701234567"
00057 #define OPENSSL_DEFAULT_IV24 "012345670123456701234567"
00058
00059 #define OPENSSL_DEFAULT_LABEL_FOR_PSHA1 "WS-SecureConversation"
00060 #define OPENSSL_DEFAULT_KEY_LEN_FOR_PSHA1 32
00061 #define OPENSSL_DEFAULT_KEY_OFFSET_FOR_PSHA1 0
00062
00064 #ifdef __cplusplus
00065 }
00066 #endif
00067
00068 #endif