Home
last modified time | relevance | path

Searched refs:crm (Results 1 – 15 of 15) sorted by relevance

/openssl/crypto/crmf/
H A Dcrmf_lib.c95 if (crm == NULL || crm->certReq == NULL || ctrl == NULL) { in OSSL_CRMF_MSG_push0_regCtrl()
113 crm->certReq->controls = NULL; in OSSL_CRMF_MSG_push0_regCtrl()
221 if (crm == NULL || ri == NULL) { in IMPLEMENT_CRMF_CTRL_FUNC()
226 if (crm->regInfo == NULL) in IMPLEMENT_CRMF_CTRL_FUNC()
228 if (crm->regInfo == NULL) in IMPLEMENT_CRMF_CTRL_FUNC()
236 crm->regInfo = NULL; in IMPLEMENT_CRMF_CTRL_FUNC()
251 if (crm == NULL || crm->certReq == NULL) { in IMPLEMENT_CRMF_CTRL_FUNC()
281 if (crm == NULL || crm->certReq == NULL || crm->certReq->certReqId == NULL) { in OSSL_CRMF_MSG_set_certReqId()
311 if (crm == NULL || /* not really needed: */ crm->certReq == NULL) { in OSSL_CRMF_MSG_get_certReqId()
457 OSSL_CRMF_POPO_free(crm->popo); in OSSL_CRMF_MSG_create_popo()
[all …]
/openssl/doc/man3/
H A DOSSL_CRMF_MSG_set0_validity.pod18 int OSSL_CRMF_MSG_set0_validity(OSSL_CRMF_MSG *crm,
21 int OSSL_CRMF_MSG_set_certReqId(OSSL_CRMF_MSG *crm, int rid);
29 int OSSL_CRMF_MSG_set0_extensions(OSSL_CRMF_MSG *crm, X509_EXTENSIONS *exts);
31 int OSSL_CRMF_MSG_push0_extension(OSSL_CRMF_MSG *crm, X509_EXTENSION *ext);
33 int OSSL_CRMF_MSG_create_popo(int meth, OSSL_CRMF_MSG *crm,
44 as validity constraints in the certTemplate of I<crm>.
47 On success ownership of I<notBefore> and I<notAfter> is transferred to I<crm>.
49 OSSL_CRMF_MSG_set_certReqId() sets I<rid> as the certReqId of I<crm>.
59 certTemplate of I<crm>. Frees any pre-existing ones and consumes I<exts>.
62 extensions in the certTemplate of I<crm>. Consumes I<ext>.
[all …]
H A DOSSL_CRMF_MSG_get0_tmpl.pod21 OSSL_CRMF_CERTTEMPLATE *OSSL_CRMF_MSG_get0_tmpl(const OSSL_CRMF_MSG *crm);
42 int OSSL_CRMF_MSG_get_certReqId(const OSSL_CRMF_MSG *crm);
47 OSSL_CRMF_MSG_get0_tmpl() retrieves the certificate template of I<crm>.
77 OSSL_CRMF_MSG_get_certReqId() retrieves the certReqId of I<crm>.
H A DOSSL_CMP_exec_certreq.pod24 const OSSL_CRMF_MSG *crm);
34 const OSSL_CRMF_MSG *crm, int *checkAfter);
69 may be supplied via the I<crm> parameter pointing to a CRMF structure.
70 Typically I<crm> is NULL, then the template ingredients are taken from I<ctx>
81 constructed as stated above using the I<req_type> and optional I<crm> parameter.
H A DOSSL_CMP_SRV_CTX_new.pod39 const OSSL_CRMF_MSG *crm,
/openssl/include/openssl/
H A Dcrmf.h.in135 int OSSL_CRMF_MSG_set0_validity(OSSL_CRMF_MSG *crm,
137 int OSSL_CRMF_MSG_set_certReqId(OSSL_CRMF_MSG *crm, int rid);
138 int OSSL_CRMF_MSG_get_certReqId(const OSSL_CRMF_MSG *crm);
139 int OSSL_CRMF_MSG_set0_extensions(OSSL_CRMF_MSG *crm, X509_EXTENSIONS *exts);
141 int OSSL_CRMF_MSG_push0_extension(OSSL_CRMF_MSG *crm, X509_EXTENSION *ext);
147 int OSSL_CRMF_MSG_create_popo(int meth, OSSL_CRMF_MSG *crm,
153 OSSL_CRMF_CERTTEMPLATE *OSSL_CRMF_MSG_get0_tmpl(const OSSL_CRMF_MSG *crm);
H A Dcmp.h.in414 const OSSL_CRMF_MSG *crm, const X509_REQ *p10cr,
456 const OSSL_CRMF_MSG *crm);
470 const OSSL_CRMF_MSG *crm, int *checkAfter);
/openssl/crypto/cmp/
H A Dcmp_msg.c274 OSSL_CRMF_MSG *crm = NULL; in OSSL_CMP_CTX_setup_CRM() local
305 if ((crm = OSSL_CRMF_MSG_new()) == NULL) in OSSL_CMP_CTX_setup_CRM()
307 if (!OSSL_CRMF_MSG_set_certReqId(crm, rid) in OSSL_CMP_CTX_setup_CRM()
351 if (!OSSL_CRMF_MSG_set0_extensions(crm, exts)) in OSSL_CMP_CTX_setup_CRM()
374 OSSL_CRMF_MSG_free(crm); in OSSL_CMP_CTX_setup_CRM()
375 crm = NULL; in OSSL_CMP_CTX_setup_CRM()
380 return crm; in OSSL_CMP_CTX_setup_CRM()
384 const OSSL_CRMF_MSG *crm) in ossl_cmp_certreq_new() argument
397 if (type == OSSL_CMP_PKIBODY_P10CR && crm != NULL) { in ossl_cmp_certreq_new()
425 if (crm == NULL) { in ossl_cmp_certreq_new()
[all …]
H A Dcmp_client.c640 int req_type, const OSSL_CRMF_MSG *crm, in initial_certreq() argument
654 if ((req = ossl_cmp_certreq_new(ctx, req_type, crm)) == NULL) in initial_certreq()
663 const OSSL_CRMF_MSG *crm, int *checkAfter) in OSSL_CMP_try_certreq() argument
677 if (!initial_certreq(ctx, req_type, crm, &rep, rep_type)) in OSSL_CMP_try_certreq()
704 const OSSL_CRMF_MSG *crm) in OSSL_CMP_exec_certreq() argument
718 if (!initial_certreq(ctx, req_type, crm, &rep, rep_type)) in OSSL_CMP_exec_certreq()
H A Dcmp_server.c162 const OSSL_CRMF_MSG *crm = NULL; in process_cert_request() local
197 if ((crm = sk_OSSL_CRMF_MSG_value(reqs, OSSL_CMP_CERTREQID)) == NULL) { in process_cert_request()
201 certReqId = OSSL_CRMF_MSG_get_certReqId(crm); in process_cert_request()
214 si = srv_ctx->process_cert_request(srv_ctx, req, certReqId, crm, p10cr, in process_cert_request()
H A Dcmp_local.h866 const OSSL_CRMF_MSG *crm);
903 ossl_cmp_certrepmessage_get0_certresponse(const OSSL_CMP_CERTREPMESSAGE *crm,
/openssl/apps/lib/
H A Dcmp_mock_srv.c209 const OSSL_CRMF_MSG *crm, in process_cert_request() argument
250 && crm != NULL /* thus not p10cr */ && ctx->refCert != NULL) { in process_cert_request()
251 const OSSL_CRMF_CERTID *cid = OSSL_CRMF_MSG_get0_regCtrl_oldCertID(crm); in process_cert_request()
/openssl/test/
H A Dcmp_server_test.c52 const OSSL_CRMF_MSG *crm, in process_cert_request() argument
/openssl/doc/internal/man3/
H A Dossl_cmp_certreq_new.pod23 const OSSL_CRMF_MSG *crm);
53 The CRMF message to use may be given explicitly via a non-NULL I<crm> argument,
/openssl/fuzz/
H A Dcmp.c105 const OSSL_CRMF_MSG *crm, in process_cert_request() argument

Completed in 39 milliseconds