00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 #ifndef OXS_ENCRYPTION_H
00019 #define OXS_ENCRYPTION_H
00020 
00021 
00032 #include <axis2_defines.h>
00033 #include <oxs_ctx.h>
00034 #include <oxs_asym_ctx.h>
00035 #include <axutil_env.h>
00036 #include <axiom_node.h>
00037 #include <axiom_element.h>
00038 #include <axutil_qname.h>
00039 
00040 #ifdef __cplusplus
00041 extern "C"
00042 {
00043 #endif
00044 
00055     AXIS2_EXTERN  axis2_status_t AXIS2_CALL
00056     oxs_encryption_symmetric_crypt(const axutil_env_t *env,
00057                                    oxs_ctx_t * enc_ctx,
00058                                    oxs_buffer_t *input,
00059                                    oxs_buffer_t *result);
00060 
00072     AXIS2_EXTERN  axis2_status_t AXIS2_CALL
00073     oxs_encryption_asymmetric_crypt(const axutil_env_t *env,
00074                                     oxs_asym_ctx_t * asym_ctx,
00075                                     oxs_buffer_t *input,
00076                                     oxs_buffer_t *result);
00077 
00079 #ifdef __cplusplus
00080 }
00081 #endif
00082 
00083 #endif