openssl_rsa.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #include <openssl/rand.h>
00018 #include <openssl/evp.h>
00019 #include <openssl/pem.h>
00020 #include <openssl/bio.h>
00021 #include <openssl/rand.h>
00022 #include <openssl_constants.h>
00023 #include <openssl_pkey.h>
00024 #include <axis2_util.h>
00025 #include <oxs_buffer.h>
00026
00031 #ifndef OPENSSL_RSA_H
00032 #define OPENSSL_RSA_H
00033
00034 #ifdef __cplusplus
00035 extern "C" {
00036 #endif
00037
00052 int AXIS2_CALL
00053 openssl_rsa_prv_decrypt(
00054 const axutil_env_t *env,
00055 const openssl_pkey_t *pkey,
00056 const axis2_char_t *padding,
00057 oxs_buffer_t *in,
00058 oxs_buffer_t *out);
00059
00069 int AXIS2_CALL
00070 openssl_rsa_pub_encrypt(
00071 const axutil_env_t *env,
00072 const openssl_pkey_t *pkey,
00073 const axis2_char_t *padding,
00074 oxs_buffer_t *in,
00075 oxs_buffer_t *out);
00076
00086 int AXIS2_CALL
00087 openssl_rsa_prv_encrypt(
00088 const axutil_env_t *env,
00089 const openssl_pkey_t *pkey,
00090 const axis2_char_t *padding,
00091 oxs_buffer_t *in,
00092 oxs_buffer_t *out);
00093
00103 int AXIS2_CALL
00104 openssl_rsa_pub_decrypt(
00105 const axutil_env_t *env,
00106 const openssl_pkey_t *pkey,
00107 const axis2_char_t *padding,
00108 oxs_buffer_t *in,
00109 oxs_buffer_t *out);
00110
00111
00113 #ifdef __cplusplus
00114 }
00115 #endif
00116
00117 #endif