Eneboo - Documentación para desarrolladores
'defines' | Funciones | Variables
Referencia del Archivo src/libdigidoc/openssl/crypto/pem/pem_lib.c
#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

Documentación de los 'defines'

#define MIN_LENGTH   4

Documentación de las funciones

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 
)
int PEM_def_callback ( char *  buf,
int  num,
int  w,
void *  key 
)
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_read_bio ( BIO bp,
char **  name,
char **  header,
unsigned char **  data,
long *  len 
)
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 
)

Documentación de las variables

const char PEM_version[] = "PEM" OPENSSL_VERSION_PTEXT
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'