PKCS12
PKCS12_pack_authsafes(PKCS12 *p12, STACK_OF(PKCS7) *safes)
PKCS12_unpack_authsafes(const PKCS12 *p12)
PKCS12 *
d2i_PKCS12(PKCS12 **a, const unsigned char **in, long len)
return (PKCS12 *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
i2d_PKCS12(PKCS12 *a, unsigned char **out)
PKCS12 *
return (PKCS12 *)ASN1_item_new(&PKCS12_it);
PKCS12_free(PKCS12 *a)
.offset = offsetof(PKCS12, version),
.offset = offsetof(PKCS12, authsafes),
.offset = offsetof(PKCS12, mac),
.size = sizeof(PKCS12),
PKCS12 *
PKCS12 *p12;
PKCS12 *
PKCS12 *p12 = NULL;
PKCS12 *
PKCS12 *pkcs12;
parse_pk12(PKCS12 *p12, const char *pass, int passlen, EVP_PKEY **pkey,
static int parse_pk12( PKCS12 *p12, const char *pass, int passlen,
PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert,
PKCS12_gen_mac(PKCS12 *p12, const char *pass, int passlen,
PKCS12_verify_mac(PKCS12 *p12, const char *pass, int passlen)
PKCS12_set_mac(PKCS12 *p12, const char *pass, int passlen, unsigned char *salt,
PKCS12_setup_mac(PKCS12 *p12, int iter, unsigned char *salt, int saltlen,
PKCS12_mac_present(const PKCS12 *p12)
const PKCS12 *p12)
pkcs12_repack_authsafes(PKCS12 *pkcs12, STACK_OF(PKCS7) *safes,
PKCS12_newpass(PKCS12 *pkcs12, const char *oldpass, const char *newpass)
i2d_PKCS12_bio(BIO *bp, PKCS12 *p12)
i2d_PKCS12_fp(FILE *fp, PKCS12 *p12)
PKCS12 *
d2i_PKCS12_bio(BIO *bp, PKCS12 **p12)
PKCS12 *
d2i_PKCS12_fp(FILE *fp, PKCS12 **p12)
int PKCS12_mac_present(const PKCS12 *p12);
const PKCS12 *p12);
STACK_OF(PKCS7) *PKCS12_unpack_authsafes(const PKCS12 *p12);
int PKCS12_verify_mac(PKCS12 *p12, const char *pass, int passlen);
int PKCS12_set_mac(PKCS12 *p12, const char *pass, int passlen,
PKCS12 *PKCS12_new(void);
void PKCS12_free(PKCS12 *a);
PKCS12 *d2i_PKCS12(PKCS12 **a, const unsigned char **in, long len);
int i2d_PKCS12(PKCS12 *a, unsigned char **out);
int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert,
PKCS12 *PKCS12_create(const char *pass, const char *name, EVP_PKEY *pkey,
int i2d_PKCS12_bio(BIO *bp, PKCS12 *p12);
int i2d_PKCS12_fp(FILE *fp, PKCS12 *p12);
PKCS12 *d2i_PKCS12_bio(BIO *bp, PKCS12 **p12);
PKCS12 *d2i_PKCS12_fp(FILE *fp, PKCS12 **p12);
int PKCS12_newpass(PKCS12 *p12, const char *oldpass, const char *newpass);
PKCS12 *PKCS12_add_safes(STACK_OF(PKCS7) *safes, int p7_nid);
int PKCS12_gen_mac(PKCS12 *p12, const char *pass, int passlen,
PKCS12 *PKCS12_init(int mode);
int PKCS12_pack_authsafes(PKCS12 *p12, STACK_OF(PKCS7) *safes);
int PKCS12_setup_mac(PKCS12 *p12, int iter, unsigned char *salt,
PKCS12 *p12;
PKCS12 *p12 = NULL;
dump_certs_keys_p12(BIO *out, PKCS12 *p12, char *pass, int passlen, int options,
static int dump_certs_keys_p12(BIO *out, PKCS12 *p12, char *pass, int passlen,