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

Go to the source code of this file.

Functions

PKCS12PKCS12_create (char *pass, char *name, EVP_PKEY *pkey, X509 *cert, STACK_OF(X509)*ca, int nid_key, int nid_cert, int iter, int mac_iter, int keytype)
 
PKCS12_SAFEBAGPKCS12_add_cert (STACK_OF(PKCS12_SAFEBAG)**pbags, X509 *cert)
 
PKCS12_SAFEBAGPKCS12_add_key (STACK_OF(PKCS12_SAFEBAG)**pbags, EVP_PKEY *key, int key_usage, int iter, int nid_key, char *pass)
 
int PKCS12_add_safe (STACK_OF(PKCS7)**psafes, STACK_OF(PKCS12_SAFEBAG)*bags, int nid_safe, int iter, char *pass)
 
PKCS12PKCS12_add_safes (STACK_OF(PKCS7)*safes, int nid_p7)
 

Function Documentation

PKCS12_SAFEBAG* PKCS12_add_cert ( STACK_OF(PKCS12_SAFEBAG)**  pbags,
X509 cert 
)

Definition at line 187 of file p12_crt.c.

PKCS12_SAFEBAG* PKCS12_add_key ( STACK_OF(PKCS12_SAFEBAG)**  pbags,
EVP_PKEY key,
int  key_usage,
int  iter,
int  nid_key,
char *  pass 
)

Definition at line 227 of file p12_crt.c.

int PKCS12_add_safe ( STACK_OF(PKCS7)**  psafes,
STACK_OF(PKCS12_SAFEBAG)*  bags,
int  nid_safe,
int  iter,
char *  pass 
)

Definition at line 265 of file p12_crt.c.

PKCS12* PKCS12_add_safes ( STACK_OF(PKCS7)*  safes,
int  nid_p7 
)

Definition at line 341 of file p12_crt.c.

PKCS12* PKCS12_create ( char *  pass,
char *  name,
EVP_PKEY pkey,
X509 cert,
STACK_OF(X509)*  ca,
int  nid_key,
int  nid_cert,
int  iter,
int  mac_iter,
int  keytype 
)

Definition at line 79 of file p12_crt.c.