OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
p12_utl.c File Reference
#include <stdio.h>
#include "cryptlib.h"
#include <openssl/pkcs12.h>

Go to the source code of this file.

Functions

unsigned char * OPENSSL_asc2uni (const char *asc, int asclen, unsigned char **uni, int *unilen)
 
char * OPENSSL_uni2asc (unsigned char *uni, int unilen)
 
int i2d_PKCS12_bio (BIO *bp, PKCS12 *p12)
 
int i2d_PKCS12_fp (FILE *fp, PKCS12 *p12)
 
PKCS12d2i_PKCS12_bio (BIO *bp, PKCS12 **p12)
 
PKCS12d2i_PKCS12_fp (FILE *fp, PKCS12 **p12)
 
PKCS12_SAFEBAGPKCS12_x5092certbag (X509 *x509)
 
PKCS12_SAFEBAGPKCS12_x509crl2certbag (X509_CRL *crl)
 
X509PKCS12_certbag2x509 (PKCS12_SAFEBAG *bag)
 
X509_CRLPKCS12_certbag2x509crl (PKCS12_SAFEBAG *bag)
 

Function Documentation

PKCS12* d2i_PKCS12_bio ( BIO bp,
PKCS12 **  p12 
)

Definition at line 110 of file p12_utl.c.

PKCS12* d2i_PKCS12_fp ( FILE *  fp,
PKCS12 **  p12 
)

Definition at line 115 of file p12_utl.c.

int i2d_PKCS12_bio ( BIO bp,
PKCS12 p12 
)

Definition at line 98 of file p12_utl.c.

int i2d_PKCS12_fp ( FILE *  fp,
PKCS12 p12 
)

Definition at line 104 of file p12_utl.c.

unsigned char* OPENSSL_asc2uni ( const char *  asc,
int  asclen,
unsigned char **  uni,
int *  unilen 
)

Definition at line 65 of file p12_utl.c.

char* OPENSSL_uni2asc ( unsigned char *  uni,
int  unilen 
)

Definition at line 84 of file p12_utl.c.

X509* PKCS12_certbag2x509 ( PKCS12_SAFEBAG bag)

Definition at line 133 of file p12_utl.c.

X509_CRL* PKCS12_certbag2x509crl ( PKCS12_SAFEBAG bag)

Definition at line 140 of file p12_utl.c.

PKCS12_SAFEBAG* PKCS12_x5092certbag ( X509 x509)

Definition at line 121 of file p12_utl.c.

PKCS12_SAFEBAG* PKCS12_x509crl2certbag ( X509_CRL crl)

Definition at line 127 of file p12_utl.c.