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

Go to the source code of this file.

Functions

PKCS12_SAFEBAGPKCS12_item_pack_safebag (void *obj, const ASN1_ITEM *it, int nid1, int nid2)
 
PKCS12_SAFEBAGPKCS12_MAKE_KEYBAG (PKCS8_PRIV_KEY_INFO *p8)
 
PKCS12_SAFEBAGPKCS12_MAKE_SHKEYBAG (int pbe_nid, const char *pass, int passlen, unsigned char *salt, int saltlen, int iter, PKCS8_PRIV_KEY_INFO *p8)
 
PKCS7PKCS12_pack_p7data (STACK_OF(PKCS12_SAFEBAG)*sk)
 
 STACK_OF (PKCS12_SAFEBAG)
 
PKCS7PKCS12_pack_p7encdata (int pbe_nid, const char *pass, int passlen, unsigned char *salt, int saltlen, int iter, STACK_OF(PKCS12_SAFEBAG)*bags)
 
PKCS8_PRIV_KEY_INFOPKCS12_decrypt_skey (PKCS12_SAFEBAG *bag, const char *pass, int passlen)
 
int PKCS12_pack_authsafes (PKCS12 *p12, STACK_OF(PKCS7)*safes)
 
 STACK_OF (PKCS7)
 

Function Documentation

PKCS8_PRIV_KEY_INFO* PKCS12_decrypt_skey ( PKCS12_SAFEBAG bag,
const char *  pass,
int  passlen 
)

Definition at line 218 of file p12_add.c.

PKCS12_SAFEBAG* PKCS12_item_pack_safebag ( void obj,
const ASN1_ITEM it,
int  nid1,
int  nid2 
)

Definition at line 65 of file p12_add.c.

PKCS12_SAFEBAG* PKCS12_MAKE_KEYBAG ( PKCS8_PRIV_KEY_INFO p8)

Definition at line 90 of file p12_add.c.

PKCS12_SAFEBAG* PKCS12_MAKE_SHKEYBAG ( int  pbe_nid,
const char *  pass,
int  passlen,
unsigned char *  salt,
int  saltlen,
int  iter,
PKCS8_PRIV_KEY_INFO p8 
)

Definition at line 104 of file p12_add.c.

int PKCS12_pack_authsafes ( PKCS12 p12,
STACK_OF(PKCS7)*  safes 
)

Definition at line 224 of file p12_add.c.

PKCS7* PKCS12_pack_p7data ( STACK_OF(PKCS12_SAFEBAG)*  sk)

Definition at line 135 of file p12_add.c.

PKCS7* PKCS12_pack_p7encdata ( int  pbe_nid,
const char *  pass,
int  passlen,
unsigned char *  salt,
int  saltlen,
int  iter,
STACK_OF(PKCS12_SAFEBAG)*  bags 
)

Definition at line 168 of file p12_add.c.

STACK_OF ( PKCS12_SAFEBAG  )

Definition at line 156 of file p12_add.c.

STACK_OF ( PKCS7  )

Definition at line 232 of file p12_add.c.