Lines Matching defs:req
64 "Certificate input, or CSR input file with -req (default stdin)"},
69 {"req", OPT_REQ, '-', "Input is a CSR file (rather than a certificate)"},
200 X509_REQ *req = X509_to_X509_REQ(cert, NULL, NULL);
202 if (req == NULL)
224 && !X509_REQ_add_extensions(req, exts)) {
230 return req;
234 X509_REQ_free(req);
271 X509_REQ *req = NULL, *rq = NULL;
626 "The -req option cannot be used with -new\n");
704 req = load_csr(infile, informat, "certificate request input");
705 if (req == NULL)
708 if ((pkey = X509_REQ_get0_pubkey(req)) == NULL) {
712 i = do_X509_REQ_verify(req, pkey, vfyopts);
721 print_name(bio_err, "subject=", X509_REQ_get_subject_name(req));
723 BIO_printf(bio_err, "Warning: ignoring -copy_extensions since neither -x509toreq nor -req is given\n");
729 "Warning: ignoring -preserve_dates option with -req or -new\n");
743 if (req != NULL && ext_copy != EXT_COPY_UNSET) {
747 } else if (!copy_extensions(x, req, ext_copy)) {
757 if ((fsubj != NULL || req != NULL)
759 X509_REQ_get_subject_name(req)))
761 if ((pubkey != NULL || privkey != NULL || req != NULL)
764 X509_REQ_get0_pubkey(req)))
852 if (x509toreq) { /* also works in conjunction with -req */
1071 X509_REQ_free(req);