Lines Matching defs:newkey
120 * -newkey - make a key and a request.
171 long newkey = -1;
297 else if (strcmp(*argv,"-newkey") == 0)
428 BIO_printf(bio_err," -newkey rsa:bits generate a new RSA key of 'bits' in size\n");
429 BIO_printf(bio_err," -newkey dsa:file generate a new DSA key, parameters taken from CA in 'file'\n");
431 BIO_printf(bio_err," -newkey ec:file generate a new EC key, parameters taken from CA in 'file'\n");
647 if (!NCONF_get_number(req_conf,SECTION,BITS, &newkey))
649 newkey=DEFAULT_KEY_LENGTH;
654 genctx = set_keygen_ctx(bio_err, keyalg, &pkey_type, &newkey,
660 if (newkey < MIN_KEY_LENGTH && (pkey_type == EVP_PKEY_RSA || pkey_type == EVP_PKEY_DSA))
663 BIO_printf(bio_err,"it needs to be at least %d bits, not %ld\n",MIN_KEY_LENGTH,newkey);
669 genctx = set_keygen_ctx(bio_err, NULL, &pkey_type, &newkey,
693 newkey, keyalgstr);