openssl_pkey.h File Reference

holds either a public key or a private key. The type is determined by the type attribute More...

#include <openssl/rand.h>
#include <openssl/evp.h>
#include <openssl/pem.h>
#include <openssl/bio.h>
#include <openssl_constants.h>
#include <axis2_util.h>

Go to the source code of this file.

Defines

#define OPENSSL_PKEY_TYPE_UNKNOWN   0
#define OPENSSL_PKEY_TYPE_PUBLIC_KEY   1
#define OPENSSL_PKEY_TYPE_PRIVATE_KEY   2

Typedefs

typedef struct openssl_pkey_t openssl_pkey_t

Functions

EVP_PKEY * openssl_pkey_get_key (const openssl_pkey_t *pkey, const axutil_env_t *env)
axis2_char_t * openssl_pkey_get_name (const openssl_pkey_t *pkey, const axutil_env_t *env)
int openssl_pkey_get_size (const openssl_pkey_t *pkey, const axutil_env_t *env)
int openssl_pkey_get_type (const openssl_pkey_t *pkey, const axutil_env_t *env)
axis2_status_t openssl_pkey_set_key (openssl_pkey_t *pkey, const axutil_env_t *env, EVP_PKEY *key)
axis2_status_t openssl_pkey_set_name (openssl_pkey_t *pkey, const axutil_env_t *env, axis2_char_t *name)
axis2_status_t openssl_pkey_set_type (openssl_pkey_t *pkey, const axutil_env_t *env, int type)
axis2_status_t openssl_pkey_load (openssl_pkey_t *pkey, const axutil_env_t *env, axis2_char_t *filename, axis2_char_t *password)
axis2_status_t openssl_pkey_populate (openssl_pkey_t *pkey, const axutil_env_t *env, EVP_PKEY *key, axis2_char_t *name, int type)
axis2_status_t openssl_pkey_free (openssl_pkey_t *pkey, const axutil_env_t *env)
axis2_status_t openssl_pkey_increment_ref (openssl_pkey_t *pkey, const axutil_env_t *env)
AXIS2_EXTERN openssl_pkey_topenssl_pkey_create (const axutil_env_t *env)


Detailed Description

holds either a public key or a private key. The type is determined by the type attribute


Generated on Wed Oct 14 01:02:16 2009 for Rampart/C by  doxygen 1.5.7.1