00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 #include<openssl/evp.h>
00018 #include<oxs_buffer.h>
00019 #include<openssl_cipher_property.h>
00020 
00025 #ifndef OPENSSL_UTIL_H
00026 #define OPENSSL_UTIL_H
00027 
00028 #ifdef __cplusplus
00029 extern "C" {
00030 #endif
00031 
00037     
00038     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00039     openssl_generate_random_data(const axutil_env_t *env, oxs_buffer_t *buffer, int size);
00040 
00041     
00042 
00043     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00044     openssl_populate_cipher_property(const axutil_env_t *env, openssl_cipher_property_t *cprop);
00045 
00046     
00047     AXIS2_EXTERN EVP_CIPHER*  AXIS2_CALL
00048     openssl_get_evp_cipher_by_name(const axutil_env_t *env, axis2_char_t *cipher_name);
00049 
00050 
00051     
00052 #ifdef __cplusplus
00053 }
00054 #endif
00055 
00056 #endif