Lines Matching defs:csr
291 "For kur, default is subject of -csr arg or reference cert (see -oldcert)"},
303 "Augments or replaces any extensions contained CSR given with -csr"},
318 {"csr", OPT_CSR, 's',
694 X509_REQ *csr;
698 csr = load_csr(infile, FORMAT_PEM, desc);
700 if (csr == NULL) {
702 csr = load_csr(infile, FORMAT_ASN1, desc);
704 if (csr == NULL) {
709 EVP_PKEY *pkey = X509_REQ_get0_pubkey(csr);
710 int ret = do_X509_REQ_verify(csr, pkey, NULL /* vfyopts */);
717 return csr;
1521 X509_REQ *csr = NULL;
1528 CMP_warn("no -subject given; no -csr or -oldcert or -cert available for fallback");
1533 CMP_err("missing -newkey (or -key) to be certified and no -csr, -oldcert, or -cert given for fallback public key");
1540 CMP_err1("no -newkey option given with private key for POPO, -csr option only provides public key%s",
1542 ", and -key option superseded by by -csr");
1586 CMP_err("missing -oldcert for certificate to be updated and no -csr given");
1595 CMP_err("missing -oldcert for certificate to be revoked and no -csr given");
1599 CMP_warn("ignoring -csr since certificate to be revoked is given");
1662 CMP_warn("-csr option is ignored for command 'genm'");
1664 if ((csr = load_csr_autofmt(opt_csr, "PKCS#10 CSR")) == NULL)
1666 if (!OSSL_CMP_CTX_set1_p10CSR(ctx, csr))
1673 X509V3_set_ctx(&ext_ctx, NULL, NULL, csr, NULL, X509V3_CTX_REPLACE);
1689 X509_REQ_free(csr);
1772 X509_REQ_free(csr);