Home | History | Annotate | Download | only in apps

Lines Matching refs:p12

89 int dump_certs_keys_p12(BIO *out, PKCS12 *p12, char *pass, int passlen, int options, char *pempass);
110 PKCS12 *p12 = NULL;
605 p12 = PKCS12_create(cpass, name, key, ucert, certs,
608 if (!p12)
615 PKCS12_set_mac(p12, mpass, -1, NULL, 0, maciter, NULL);
622 i2d_PKCS12_bio(out, p12);
644 if (!(p12 = d2i_PKCS12_bio (in, NULL))) {
662 if (options & INFO) BIO_printf (bio_err, "MAC Iteration %ld\n", p12->mac->iter ? ASN1_INTEGER_get (p12->mac->iter) : 1);
668 if(!mpass[0] && PKCS12_verify_mac(p12, NULL, 0)) {
671 } else if (!PKCS12_verify_mac(p12, mpass, -1)) {
685 if (!dump_certs_keys_p12 (out, p12, cpass, -1, options, passout)) {
695 if (p12) PKCS12_free(p12);
709 int dump_certs_keys_p12 (BIO *out, PKCS12 *p12, char *pass,
718 if (!( asafes = PKCS12_unpack_authsafes(p12))) return 0;