Lines Matching refs:BIO_printf
278 BIO_printf (bio_err, "Usage: pkcs12 [options]\n");
279 BIO_printf (bio_err, "where options are\n");
280 BIO_printf (bio_err, "-export output PKCS12 file\n");
281 BIO_printf (bio_err, "-chain add certificate chain\n");
282 BIO_printf (bio_err, "-inkey file private key if not infile\n");
283 BIO_printf (bio_err, "-certfile f add all certs in f\n");
284 BIO_printf (bio_err, "-CApath arg - PEM format directory of CA's\n");
285 BIO_printf (bio_err, "-CAfile arg - PEM format file of CA's\n");
286 BIO_printf (bio_err, "-name \"name\" use name as friendly name\n");
287 BIO_printf (bio_err, "-caname \"nm\" use nm as CA friendly name (can be used more than once).\n");
288 BIO_printf (bio_err, "-in infile input filename\n");
289 BIO_printf (bio_err, "-out outfile output filename\n");
290 BIO_printf (bio_err, "-noout don't output anything, just verify.\n");
291 BIO_printf (bio_err, "-nomacver don't verify MAC.\n");
292 BIO_printf (bio_err, "-nocerts don't output certificates.\n");
293 BIO_printf (bio_err, "-clcerts only output client certificates.\n");
294 BIO_printf (bio_err, "-cacerts only output CA certificates.\n");
295 BIO_printf (bio_err, "-nokeys don't output private keys.\n");
296 BIO_printf (bio_err, "-info give info about PKCS#12 structure.\n");
297 BIO_printf (bio_err, "-des encrypt private keys with DES\n");
298 BIO_printf (bio_err, "-des3 encrypt private keys with triple DES (default)\n");
300 BIO_printf (bio_err, "-idea encrypt private keys with idea\n");
303 BIO_printf (bio_err, "-seed encrypt private keys with seed\n");
306 BIO_printf (bio_err, "-aes128, -aes192, -aes256\n");
307 BIO_printf (bio_err, " encrypt PEM output with cbc aes\n");
310 BIO_printf (bio_err, "-camellia128, -camellia192, -camellia256\n");
311 BIO_printf (bio_err, " encrypt PEM output with cbc camellia\n");
313 BIO_printf (bio_err, "-nodes don't encrypt private keys\n");
314 BIO_printf (bio_err, "-noiter don't use encryption iteration\n");
315 BIO_printf (bio_err, "-nomaciter don't use MAC iteration\n");
316 BIO_printf (bio_err, "-maciter use MAC iteration\n");
317 BIO_printf (bio_err, "-nomac don't generate MAC\n");
318 BIO_printf (bio_err, "-twopass separate MAC, encryption passwords\n");
319 BIO_printf (bio_err, "-descert encrypt PKCS#12 certificates with triple DES (default RC2-40)\n");
320 BIO_printf (bio_err, "-certpbe alg specify certificate PBE algorithm (default RC2-40)\n");
321 BIO_printf (bio_err, "-keypbe alg specify private key PBE algorithm (default 3DES)\n");
322 BIO_printf (bio_err, "-macalg alg digest algorithm used in MAC (default SHA1)\n");
323 BIO_printf (bio_err, "-keyex set MS key exchange type\n");
324 BIO_printf (bio_err, "-keysig set MS key signature type\n");
325 BIO_printf (bio_err, "-password p set import/export password source\n");
326 BIO_printf (bio_err, "-passin p input file pass phrase source\n");
327 BIO_printf (bio_err, "-passout p output file pass phrase source\n");
329 BIO_printf (bio_err, "-engine e use engine e, possibly a hardware device.\n");
331 BIO_printf(bio_err, "-rand file%cfile%c...\n", LIST_SEPARATOR_CHAR, LIST_SEPARATOR_CHAR);
332 BIO_printf(bio_err, " load the file (or the files in the directory) into\n");
333 BIO_printf(bio_err, " the random number generator\n");
334 BIO_printf(bio_err, "-CSP name Microsoft CSP name\n");
335 BIO_printf(bio_err, "-LMK Add local machine keyset attribute to private key\n");
349 BIO_printf(bio_err, "Error getting passwords\n");
369 BIO_printf(bio_err,"%ld semi-random bytes loaded\n",
381 BIO_printf(bio_err, "Error opening input file %s\n",
402 BIO_printf(bio_err, "Error opening output file %s\n",
413 BIO_printf (bio_err, "Can't read Password\n");
431 BIO_printf(bio_err, "Nothing to do!\n");
482 BIO_printf(bio_err, "No certificate matches private key\n");
524 BIO_printf (bio_err, "Memory allocation error\n");
542 BIO_printf (bio_err, "Error %s getting chain.\n",
573 BIO_printf (bio_err, "Can't read Password\n");
597 BIO_printf(bio_err, "Unknown digest algorithm %s\n",
641 BIO_printf (bio_err, "Can't read Password\n");
650 if ((options & INFO) && p12->mac) BIO_printf (bio_err, "MAC Iteration %ld\n", p12->mac->iter ? ASN1_INTEGER_get (p12->mac->iter) : 1);
660 BIO_printf (bio_err, "Mac verify error: invalid password?\n");
664 BIO_printf (bio_err, "MAC verified OK\n");
674 BIO_printf(bio_err, "Error outputting keys and certificates\n");
712 if (options & INFO) BIO_printf (bio_err, "PKCS7 Data\n");
715 BIO_printf(bio_err, "PKCS7 Encrypted data: ");
763 if (options & INFO) BIO_printf (bio_err, "Key bag\n");
775 BIO_printf (bio_err, "Shrouded Keybag: ");
793 if (options & INFO) BIO_printf (bio_err, "Certificate bag\n");
808 if (options & INFO) BIO_printf (bio_err, "Safe Contents bag\n");
814 BIO_printf (bio_err, "Warning unsupported bag type: ");
816 BIO_printf (bio_err, "\n");
862 BIO_printf (bio_err, "%s, Iteration %ld\n",
905 BIO_printf(out, "%s: <No Attributes>\n", name);
909 BIO_printf(out, "%s: <Empty Attributes>\n", name);
912 BIO_printf(out, "%s\n", name);
916 BIO_printf(out, " ");
919 BIO_printf(out, ": ");
920 } else BIO_printf(out, "%s: ", OBJ_nid2ln(attr_nid));
928 BIO_printf(out, "%s\n", value);
935 BIO_printf(out, "\n");
941 BIO_printf(out, "\n");
945 BIO_printf(out, "<Unsupported tag %d>\n", av->type);
948 } else BIO_printf(out, "<No Values>\n");
956 for (i = 0; i < len; i++) BIO_printf (out, "%02X ", buf[i]);
971 BIO_printf(bio_err, "Unknown PBE algorithm %s\n", str);