# openssl_pem.h File Reference

Funcitons related to keys that are in PEM format. More...

`#include <openssl/rand.h>`
`#include <openssl/evp.h>`
`#include <openssl/pem.h>`
`#include <openssl/bio.h>`
`#include <openssl_constants.h>`
`#include <openssl_pkey.h>`
`#include <axis2_util.h>`
`#include <openssl/pkcs12.h>`
`#include <oxs_error.h>`

Go to the source code of this file.

## Enumerations
enum | openssl_pem_pkey_type_t { OPENSSL_PEM_PKEY_TYPE_PRIVATE_KEY = 0, OPENSSL_PEM_PKEY_TYPE_PUBLIC_KEY, OPENSSL_PEM_PKEY_TYPE_UNKNOWN }
## Functions
AXIS2_EXTERN axis2_status_t | openssl_pem_buf_read_pkey (const axutil_env_t *env, axis2_char_t *b64_encoded_buf, axis2_char_t *password, openssl_pem_pkey_type_t type, EVP_PKEY **pkey)
AXIS2_EXTERN axis2_status_t | openssl_pem_read_pkey (const axutil_env_t *env, axis2_char_t *filename, axis2_char_t *password, openssl_pem_pkey_type_t type, EVP_PKEY **pkey)

## Detailed Description

Funcitons related to keys that are in PEM format.