• Home
  • Raw
  • Download

Lines Matching refs:bio_err

203 	if (bio_err == NULL)  in MAIN()
204 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN()
205 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); in MAIN()
239 BIO_printf(bio_err, "Can't find keygen engine %s\n", *argv); in MAIN()
394 BIO_printf(bio_err,"unknown option %s\n",*argv); in MAIN()
405 BIO_printf(bio_err,"%s [options] <infile >outfile\n",prog); in MAIN()
406 BIO_printf(bio_err,"where options are\n"); in MAIN()
407 BIO_printf(bio_err," -inform arg input format - DER or PEM\n"); in MAIN()
408 BIO_printf(bio_err," -outform arg output format - DER or PEM\n"); in MAIN()
409 BIO_printf(bio_err," -in arg input file\n"); in MAIN()
410 BIO_printf(bio_err," -out arg output file\n"); in MAIN()
411 BIO_printf(bio_err," -text text form of request\n"); in MAIN()
412 BIO_printf(bio_err," -pubkey output public key\n"); in MAIN()
413 BIO_printf(bio_err," -noout do not output REQ\n"); in MAIN()
414 BIO_printf(bio_err," -verify verify signature on REQ\n"); in MAIN()
415 BIO_printf(bio_err," -modulus RSA modulus\n"); in MAIN()
416 BIO_printf(bio_err," -nodes don't encrypt the output key\n"); in MAIN()
418 BIO_printf(bio_err," -engine e use engine e, possibly a hardware device\n"); in MAIN()
420 BIO_printf(bio_err," -subject output the request's subject\n"); in MAIN()
421 BIO_printf(bio_err," -passin private key password source\n"); in MAIN()
422 BIO_printf(bio_err," -key file use the private key contained in file\n"); in MAIN()
423 BIO_printf(bio_err," -keyform arg key file format\n"); in MAIN()
424 BIO_printf(bio_err," -keyout arg file to send the key to\n"); in MAIN()
425 BIO_printf(bio_err," -rand file%cfile%c...\n", LIST_SEPARATOR_CHAR, LIST_SEPARATOR_CHAR); in MAIN()
426 BIO_printf(bio_err," load the file (or the files in the directory) into\n"); in MAIN()
427 BIO_printf(bio_err," the random number generator\n"); in MAIN()
428 BIO_printf(bio_err," -newkey rsa:bits generate a new RSA key of 'bits' in size\n"); in MAIN()
429 …BIO_printf(bio_err," -newkey dsa:file generate a new DSA key, parameters taken from CA in 'file'\n… in MAIN()
431 …BIO_printf(bio_err," -newkey ec:file generate a new EC key, parameters taken from CA in 'file'\n"); in MAIN()
433 BIO_printf(bio_err," -[digest] Digest to sign with (md5, sha1, md2, mdc2, md4)\n"); in MAIN()
434 BIO_printf(bio_err," -config file request template file.\n"); in MAIN()
435 BIO_printf(bio_err," -subj arg set or modify request subject\n"); in MAIN()
436 BIO_printf(bio_err," -multivalue-rdn enable support for multivalued RDNs\n"); in MAIN()
437 BIO_printf(bio_err," -new new request.\n"); in MAIN()
438 BIO_printf(bio_err," -batch do not ask anything during request generation\n"); in MAIN()
439 BIO_printf(bio_err," -x509 output a x509 structure instead of a cert. req.\n"); in MAIN()
440 …BIO_printf(bio_err," -days number of days a certificate generated by -x509 is valid for.\… in MAIN()
441 …BIO_printf(bio_err," -set_serial serial number to use for a certificate generated by -x509.\n"); in MAIN()
442 BIO_printf(bio_err," -newhdr output \"NEW\" in the header lines\n"); in MAIN()
443 …BIO_printf(bio_err," -asn1-kludge Output the 'request' in a format that is wrong but some CA's\n… in MAIN()
444 BIO_printf(bio_err," have been reported as requiring\n"); in MAIN()
445 …BIO_printf(bio_err," -extensions .. specify certificate extension section (override value in confi… in MAIN()
446 …BIO_printf(bio_err," -reqexts .. specify request extension section (override value in config fi… in MAIN()
447 BIO_printf(bio_err," -utf8 input characters are UTF8 (default ASCII)\n"); in MAIN()
448 BIO_printf(bio_err," -nameopt arg - various certificate name options\n"); in MAIN()
449 BIO_printf(bio_err," -reqopt arg - various request text options\n\n"); in MAIN()
454 if(!app_passwd(bio_err, passargin, passargout, &passin, &passout)) { in MAIN()
455 BIO_printf(bio_err, "Error getting passwords\n"); in MAIN()
476 BIO_printf(bio_err,"Using configuration from %s\n",template); in MAIN()
481 BIO_printf(bio_err,"error on line %ld of %s\n",errline,template); in MAIN()
491 BIO_printf(bio_err,"Unable to load config info from %s\n", default_config_file); in MAIN()
496 BIO_printf(bio_err,"Using configuration from %s\n", in MAIN()
502 if (!load_config(bio_err, req_conf)) in MAIN()
526 if(!add_oid_section(bio_err, req_conf)) goto end; in MAIN()
552 BIO_printf(bio_err, in MAIN()
577 BIO_printf(bio_err, "Invalid global string mask setting %s\n", p); in MAIN()
603 BIO_printf(bio_err, in MAIN()
616 e = setup_engine(bio_err, engine, 0); in MAIN()
621 pkey = load_key(bio_err, keyfile, keyform, 0, passin, e, in MAIN()
634 app_RAND_load_file(randfile, bio_err, 0); in MAIN()
643 app_RAND_load_file(randfile, bio_err, 0); in MAIN()
654 genctx = set_keygen_ctx(bio_err, keyalg, &pkey_type, &newkey, in MAIN()
662 BIO_printf(bio_err,"private key length is too short,\n"); in MAIN()
663 BIO_printf(bio_err,"it needs to be at least %d bits, not %ld\n",MIN_KEY_LENGTH,newkey); in MAIN()
669 genctx = set_keygen_ctx(bio_err, NULL, &pkey_type, &newkey, in MAIN()
683 BIO_printf(bio_err, in MAIN()
686 ERR_print_errors(bio_err); in MAIN()
692 BIO_printf(bio_err,"Generating a %ld bit %s private key\n", in MAIN()
696 EVP_PKEY_CTX_set_app_data(genctx, bio_err); in MAIN()
700 BIO_puts(bio_err, "Error Generating Key\n"); in MAIN()
707 app_RAND_write_file(randfile, bio_err); in MAIN()
718 BIO_printf(bio_err,"writing new private key to stdout\n"); in MAIN()
729 BIO_printf(bio_err,"writing new private key to '%s'\n",keyout); in MAIN()
763 BIO_printf(bio_err,"-----\n"); in MAIN()
789 BIO_printf(bio_err,"bad input format specified for X509 request\n"); in MAIN()
794 BIO_printf(bio_err,"unable to load X509 request\n"); in MAIN()
803 BIO_printf(bio_err,"you need to specify a private key\n"); in MAIN()
824 BIO_printf(bio_err,"problems making Certificate Request\n"); in MAIN()
864 BIO_printf(bio_err, in MAIN()
870 i=do_X509_sign(bio_err, x509ss, pkey, digest, sigopts); in MAIN()
873 ERR_print_errors(bio_err); in MAIN()
890 BIO_printf(bio_err, in MAIN()
895 i=do_X509_REQ_sign(bio_err, req, pkey, digest, sigopts); in MAIN()
898 ERR_print_errors(bio_err); in MAIN()
906 BIO_printf(bio_err, "Cannot modifiy certificate subject\n"); in MAIN()
914 BIO_printf(bio_err, "Modifying Request's Subject\n"); in MAIN()
915 print_name(bio_err, "old subject=", X509_REQ_get_subject_name(req), nmflag); in MAIN()
920 BIO_printf(bio_err, "ERROR: cannot modify subject\n"); in MAIN()
929 print_name(bio_err, "new subject=", X509_REQ_get_subject_name(req), nmflag); in MAIN()
956 BIO_printf(bio_err,"verify failure\n"); in MAIN()
957 ERR_print_errors(bio_err); in MAIN()
960 BIO_printf(bio_err,"verify OK\n"); in MAIN()
998 BIO_printf(bio_err,"Error getting public key\n"); in MAIN()
999 ERR_print_errors(bio_err); in MAIN()
1054 BIO_printf(bio_err,"bad output format specified for outfile\n"); in MAIN()
1059 BIO_printf(bio_err,"unable to write X509 request\n"); in MAIN()
1070 BIO_printf(bio_err,"bad output format specified for outfile\n"); in MAIN()
1075 BIO_printf(bio_err,"unable to write X509 certificate\n"); in MAIN()
1087 ERR_print_errors(bio_err); in MAIN()
1131 BIO_printf(bio_err,"unable to find '%s' in config\n", in make_REQ()
1138 BIO_printf(bio_err,"unable to get '%s' section\n",dn_sect); in make_REQ()
1153 BIO_printf(bio_err,"unable to get '%s' section\n",attr_sect); in make_REQ()
1218 BIO_printf(bio_err,"You are about to be asked to enter information that will be incorporated\n"); in prompt_info()
1219 BIO_printf(bio_err,"into your certificate request.\n"); in prompt_info()
1220 …BIO_printf(bio_err,"What you are about to enter is what is called a Distinguished Name or a DN.\n"… in prompt_info()
1221 BIO_printf(bio_err,"There are quite a few fields but you can leave some blank\n"); in prompt_info()
1222 BIO_printf(bio_err,"For some fields there will be a default value,\n"); in prompt_info()
1223 BIO_printf(bio_err,"If you enter '.', the field will be left blank.\n"); in prompt_info()
1224 BIO_printf(bio_err,"-----\n"); in prompt_info()
1264 BIO_printf(bio_err,"Name '%s' too long\n",v->name); in prompt_info()
1301 BIO_printf(bio_err,"error, no objects specified in config file\n"); in prompt_info()
1309 BIO_printf(bio_err,"\nPlease enter the following 'extra' attributes\n"); in prompt_info()
1310 BIO_printf(bio_err,"to be sent with your certificate request\n"); in prompt_info()
1329 BIO_printf(bio_err,"Name '%s' too long\n",v->name); in prompt_info()
1371 BIO_printf(bio_err,"No template, please set one up.\n"); in prompt_info()
1427 BIO_printf(bio_err,"error, no objects specified in config file\n");
1449 if (!batch) BIO_printf(bio_err,"%s [%s]:",text,def);
1450 (void)BIO_flush(bio_err);
1455 BIO_printf(bio_err,"%s\n",value);
1485 BIO_printf(bio_err,"weird input :-(\n");
1514 if (!batch) BIO_printf(bio_err,"%s [%s]:",text,def);
1515 (void)BIO_flush(bio_err);
1520 BIO_printf(bio_err,"%s\n",value);
1550 BIO_printf(bio_err,"weird input :-(\n");
1566 BIO_printf(bio_err, "Error adding attribute\n");
1567 ERR_print_errors(bio_err);
1580 BIO_printf(bio_err,"string is too short, it needs to be at least %d bytes long\n",n_min);
1585 BIO_printf(bio_err,"string is too long, it needs to be less than %d bytes long\n",n_max);
1799 ERR_print_errors(bio_err);