Typedefs | |
| typedef struct openssl_cipher_ctx_t | openssl_cipher_ctx_t |
Functions | |
| axis2_status_t | openssl_cipher_ctx_free (openssl_cipher_ctx_t *ctx, const axutil_env_t *env) |
| const EVP_CIPHER * | openssl_cipher_ctx_get_cipher (openssl_cipher_ctx_t *ctx, const axutil_env_t *env) |
| oxs_key_t * | openssl_cipher_ctx_get_key (openssl_cipher_ctx_t *ctx, const axutil_env_t *env) |
| axis2_char_t * | openssl_cipher_ctx_get_iv (openssl_cipher_ctx_t *ctx, const axutil_env_t *env) |
| axis2_char_t * | openssl_cipher_ctx_get_pad (openssl_cipher_ctx_t *ctx, const axutil_env_t *env) |
| axis2_status_t | openssl_cipher_ctx_set_cipher (openssl_cipher_ctx_t *ctx, const axutil_env_t *env, const EVP_CIPHER *) |
| axis2_status_t | openssl_cipher_ctx_set_key (openssl_cipher_ctx_t *ctx, const axutil_env_t *env, oxs_key_t *key) |
| axis2_status_t | openssl_cipher_ctx_set_iv (openssl_cipher_ctx_t *ctx, const axutil_env_t *env, axis2_char_t *iv) |
| axis2_status_t | openssl_cipher_ctx_set_pad (openssl_cipher_ctx_t *ctx, const axutil_env_t *env, axis2_char_t *pad) |
| AXIS2_EXTERN openssl_cipher_ctx_t * | openssl_cipher_ctx_create (const axutil_env_t *env) |
| typedef struct openssl_cipher_ctx_t openssl_cipher_ctx_t |
Type name for struct openssl_cipher_ctx
| AXIS2_EXTERN openssl_cipher_ctx_t* openssl_cipher_ctx_create | ( | const axutil_env_t * | env | ) |
Create a new cipher context. All the fields carry NULL values at the begining.
| env | pointer to environment struct |
| axis2_status_t openssl_cipher_ctx_free | ( | openssl_cipher_ctx_t * | ctx, | |
| const axutil_env_t * | env | |||
| ) |
Free function
| ctx | to the openssl cipher ctx struct | |
| env | pointer to environment struct |
| const EVP_CIPHER* openssl_cipher_ctx_get_cipher | ( | openssl_cipher_ctx_t * | ctx, | |
| const axutil_env_t * | env | |||
| ) |
Given the ctx return the CIPHER
| ctx | to the openssl cipher ctx struct | |
| env | pointer to environment struct |
| axis2_char_t* openssl_cipher_ctx_get_iv | ( | openssl_cipher_ctx_t * | ctx, | |
| const axutil_env_t * | env | |||
| ) |
Given the ctx return iv
| ctx | to the openssl cipher ctx struct | |
| env | pointer to environment struct |
| oxs_key_t* openssl_cipher_ctx_get_key | ( | openssl_cipher_ctx_t * | ctx, | |
| const axutil_env_t * | env | |||
| ) |
Given the ctx return key
| ctx | to the openssl cipher ctx struct | |
| env | pointer to environment struct |
| axis2_char_t* openssl_cipher_ctx_get_pad | ( | openssl_cipher_ctx_t * | ctx, | |
| const axutil_env_t * | env | |||
| ) |
Given the ctx return the padding
| ctx | to the openssl cipher ctx struct | |
| env | pointer to environment struct |
| axis2_status_t openssl_cipher_ctx_set_cipher | ( | openssl_cipher_ctx_t * | ctx, | |
| const axutil_env_t * | env, | |||
| const EVP_CIPHER * | ||||
| ) |
Set the Cipher for the cipher context.
| ctx | to the openssl cipher ctx struct | |
| env | pointer to environment struct | |
| EVP_CIPHER | The pointer for the Cipher to be set in the cipher context |
| axis2_status_t openssl_cipher_ctx_set_iv | ( | openssl_cipher_ctx_t * | ctx, | |
| const axutil_env_t * | env, | |||
| axis2_char_t * | iv | |||
| ) |
Set the Initial Value for the cipher context.
| ctx | to the openssl cipher ctx struct | |
| env | pointer to environment struct | |
| iv | The Initial Value to be set in the cipher context |
| axis2_status_t openssl_cipher_ctx_set_key | ( | openssl_cipher_ctx_t * | ctx, | |
| const axutil_env_t * | env, | |||
| oxs_key_t * | key | |||
| ) |
Set the Key for the cipher context.
| ctx | to the openssl cipher ctx struct | |
| env | pointer to environment struct | |
| key | The key to be set in the cipher context |
| axis2_status_t openssl_cipher_ctx_set_pad | ( | openssl_cipher_ctx_t * | ctx, | |
| const axutil_env_t * | env, | |||
| axis2_char_t * | pad | |||
| ) |
Set the pad for the cipher context.
| ctx | to the openssl cipher ctx struct | |
| env | pointer to environment struct | |
| pad | the pad to be set in the cipher context |
1.5.5