Eneboo - Documentación para desarrolladores
|
#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/pem.h>
#include <openssl/pkcs12.h>
#include <openssl/des.h>
'defines' | |
#define | MIN_LENGTH 4 |
Funciones | |
int | PEM_def_callback (char *buf, int num, int w, void *key) |
void | PEM_proc_type (char *buf, int type) |
void | PEM_dek_info (char *buf, const char *type, int len, char *str) |
void * | PEM_ASN1_read (d2i_of_void *d2i, const char *name, FILE *fp, void **x, pem_password_cb *cb, void *u) |
int | PEM_bytes_read_bio (unsigned char **pdata, long *plen, char **pnm, const char *name, BIO *bp, pem_password_cb *cb, void *u) |
int | PEM_ASN1_write (i2d_of_void *i2d, const char *name, FILE *fp, char *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *callback, void *u) |
int | PEM_ASN1_write_bio (i2d_of_void *i2d, const char *name, BIO *bp, char *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *callback, void *u) |
int | PEM_do_header (EVP_CIPHER_INFO *cipher, unsigned char *data, long *plen, pem_password_cb *callback, void *u) |
int | PEM_get_EVP_CIPHER_INFO (char *header, EVP_CIPHER_INFO *cipher) |
int | PEM_write (FILE *fp, char *name, char *header, unsigned char *data, long len) |
int | PEM_write_bio (BIO *bp, const char *name, char *header, unsigned char *data, long len) |
int | PEM_read (FILE *fp, char **name, char **header, unsigned char **data, long *len) |
int | PEM_read_bio (BIO *bp, char **name, char **header, unsigned char **data, long *len) |
Variables | |
const char | PEM_version [] = "PEM" OPENSSL_VERSION_PTEXT |
#define MIN_LENGTH 4 |
void* PEM_ASN1_read | ( | d2i_of_void * | d2i, |
const char * | name, | ||
FILE * | fp, | ||
void ** | x, | ||
pem_password_cb * | cb, | ||
void * | u | ||
) |
int PEM_ASN1_write | ( | i2d_of_void * | i2d, |
const char * | name, | ||
FILE * | fp, | ||
char * | x, | ||
const EVP_CIPHER * | enc, | ||
unsigned char * | kstr, | ||
int | klen, | ||
pem_password_cb * | callback, | ||
void * | u | ||
) |
int PEM_ASN1_write_bio | ( | i2d_of_void * | i2d, |
const char * | name, | ||
BIO * | bp, | ||
char * | x, | ||
const EVP_CIPHER * | enc, | ||
unsigned char * | kstr, | ||
int | klen, | ||
pem_password_cb * | callback, | ||
void * | u | ||
) |
int PEM_bytes_read_bio | ( | unsigned char ** | pdata, |
long * | plen, | ||
char ** | pnm, | ||
const char * | name, | ||
BIO * | bp, | ||
pem_password_cb * | cb, | ||
void * | u | ||
) |
void PEM_dek_info | ( | char * | buf, |
const char * | type, | ||
int | len, | ||
char * | str | ||
) |
int PEM_do_header | ( | EVP_CIPHER_INFO * | cipher, |
unsigned char * | data, | ||
long * | plen, | ||
pem_password_cb * | callback, | ||
void * | u | ||
) |
int PEM_get_EVP_CIPHER_INFO | ( | char * | header, |
EVP_CIPHER_INFO * | cipher | ||
) |
void PEM_proc_type | ( | char * | buf, |
int | type | ||
) |
int PEM_read | ( | FILE * | fp, |
char ** | name, | ||
char ** | header, | ||
unsigned char ** | data, | ||
long * | len | ||
) |
int PEM_write | ( | FILE * | fp, |
char * | name, | ||
char * | header, | ||
unsigned char * | data, | ||
long | len | ||
) |
const char PEM_version[] = "PEM" OPENSSL_VERSION_PTEXT |