OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
pem_pkey.c File Reference
#include <stdio.h>
#include "cryptlib.h"
#include <openssl/buffer.h>
#include <openssl/objects.h>
#include <openssl/evp.h>
#include <openssl/rand.h>
#include <openssl/x509.h>
#include <openssl/pkcs12.h>
#include <openssl/pem.h>
#include <openssl/engine.h>
#include "asn1_locl.h"

Go to the source code of this file.

Functions

int pem_check_suffix (const char *pem_str, const char *suffix)
 
EVP_PKEYPEM_read_bio_PrivateKey (BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u)
 
int PEM_write_bio_PrivateKey (BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u)
 
EVP_PKEYPEM_read_bio_Parameters (BIO *bp, EVP_PKEY **x)
 
int PEM_write_bio_Parameters (BIO *bp, EVP_PKEY *x)
 
EVP_PKEYPEM_read_PrivateKey (FILE *fp, EVP_PKEY **x, pem_password_cb *cb, void *u)
 
int PEM_write_PrivateKey (FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u)
 

Function Documentation

int pem_check_suffix ( const char *  pem_str,
const char *  suffix 
)

Definition at line 837 of file pem_lib.c.

EVP_PKEY* PEM_read_bio_Parameters ( BIO bp,
EVP_PKEY **  x 
)

Definition at line 155 of file pem_pkey.c.

EVP_PKEY* PEM_read_bio_PrivateKey ( BIO bp,
EVP_PKEY **  x,
pem_password_cb cb,
void u 
)

Definition at line 75 of file pem_pkey.c.

EVP_PKEY* PEM_read_PrivateKey ( FILE *  fp,
EVP_PKEY **  x,
pem_password_cb cb,
void u 
)

Definition at line 209 of file pem_pkey.c.

int PEM_write_bio_Parameters ( BIO bp,
EVP_PKEY x 
)

Definition at line 196 of file pem_pkey.c.

int PEM_write_bio_PrivateKey ( BIO bp,
EVP_PKEY x,
const EVP_CIPHER enc,
unsigned char *  kstr,
int  klen,
pem_password_cb cb,
void u 
)

Definition at line 140 of file pem_pkey.c.

int PEM_write_PrivateKey ( FILE *  fp,
EVP_PKEY x,
const EVP_CIPHER enc,
unsigned char *  kstr,
int  klen,
pem_password_cb cb,
void u 
)

Definition at line 225 of file pem_pkey.c.