Lines Matching defs:p12
83 int dump_certs_keys_p12(BIO *out, PKCS12 *p12, char *pass, int passlen, int options, char *pempass);
103 PKCS12 *p12 = NULL;
579 p12 = PKCS12_create(cpass, name, key, ucert, certs,
582 if (!p12)
589 PKCS12_set_mac(p12, mpass, -1, NULL, 0, maciter, NULL);
596 i2d_PKCS12_bio(out, p12);
618 if (!(p12 = d2i_PKCS12_bio (in, NULL))) {
636 if (options & INFO) BIO_printf (bio_err, "MAC Iteration %ld\n", p12->mac->iter ? ASN1_INTEGER_get (p12->mac->iter) : 1);
642 if(!mpass[0] && PKCS12_verify_mac(p12, NULL, 0)) {
645 } else if (!PKCS12_verify_mac(p12, mpass, -1)) {
659 if (!dump_certs_keys_p12 (out, p12, cpass, -1, options, passout)) {
669 if (p12) PKCS12_free(p12);
683 int dump_certs_keys_p12 (BIO *out, PKCS12 *p12, char *pass,
692 if (!( asafes = PKCS12_unpack_authsafes(p12))) return 0;