Home
last modified time | relevance | path

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

/openssl/crypto/crmf/
H A Dcrmf_lib.c94 if (crm == NULL || crm->certReq == NULL || ctrl == NULL) { in OSSL_CRMF_MSG_push0_regCtrl()
112 crm->certReq->controls = NULL; in OSSL_CRMF_MSG_push0_regCtrl()
220 if (crm == NULL || ri == NULL) { in IMPLEMENT_CRMF_CTRL_FUNC()
225 if (crm->regInfo == NULL) in IMPLEMENT_CRMF_CTRL_FUNC()
227 if (crm->regInfo == NULL) in IMPLEMENT_CRMF_CTRL_FUNC()
235 crm->regInfo = NULL; in IMPLEMENT_CRMF_CTRL_FUNC()
249 if (crm == NULL || crm->certReq == NULL) { in IMPLEMENT_CRMF_CTRL_FUNC()
277 if (crm == NULL || crm->certReq == NULL || crm->certReq->certReqId == NULL) { in OSSL_CRMF_MSG_set_certReqId()
307 if (crm == NULL || /* not really needed: */ crm->certReq == NULL) { in OSSL_CRMF_MSG_get_certReqId()
451 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);
46 OSSL_CRMF_MSG_get0_tmpl() retrieves the certificate template of I<crm>.
76 OSSL_CRMF_MSG_get_certReqId() retrieves the certReqId of I<crm>.
H A DOSSL_CMP_exec_certreq.pod28 const OSSL_CRMF_MSG *crm);
38 const OSSL_CRMF_MSG *crm, int *checkAfter);
83 may be supplied via the I<crm> parameter pointing to a CRMF structure.
84 Typically I<crm> is NULL, then the template ingredients are taken from I<ctx>
95 constructed as stated above using the I<req_type> and optional I<crm> parameter.
H A DOSSL_CMP_SRV_CTX_new.pod42 const OSSL_CRMF_MSG *crm,
/openssl/crypto/cmp/
H A Dcmp_msg.c106 const OSSL_CRMF_MSG *crm; in OSSL_CMP_MSG_get0_certreq_publickey() local
119 if ((tmpl = OSSL_CRMF_MSG_get0_tmpl(crm)) == NULL in OSSL_CMP_MSG_get0_certreq_publickey()
273 OSSL_CRMF_MSG *crm = NULL; in OSSL_CMP_CTX_setup_CRM() local
298 if ((crm = OSSL_CRMF_MSG_new()) == NULL) in OSSL_CMP_CTX_setup_CRM()
300 if (!OSSL_CRMF_MSG_set_certReqId(crm, rid) in OSSL_CMP_CTX_setup_CRM()
344 if (!OSSL_CRMF_MSG_set0_extensions(crm, exts)) in OSSL_CMP_CTX_setup_CRM()
367 OSSL_CRMF_MSG_free(crm); in OSSL_CMP_CTX_setup_CRM()
368 crm = NULL; in OSSL_CMP_CTX_setup_CRM()
373 return crm; in OSSL_CMP_CTX_setup_CRM()
412 if (crm == NULL) { in ossl_cmp_certreq_new()
[all …]
H A Dcmp_client.c797 int req_type, const OSSL_CRMF_MSG *crm, in initial_certreq() argument
808 if ((req = ossl_cmp_certreq_new(ctx, req_type, crm)) == NULL) in initial_certreq()
818 const OSSL_CRMF_MSG *crm, int *checkAfter) in OSSL_CMP_try_certreq() argument
832 if (!initial_certreq(ctx, req_type, crm, &rep, rep_type)) in OSSL_CMP_try_certreq()
862 const OSSL_CRMF_MSG *crm) in OSSL_CMP_exec_certreq() argument
875 if (!initial_certreq(ctx, req_type, crm, &rep, rep_type)) in OSSL_CMP_exec_certreq()
H A Dcmp_server.c220 const OSSL_CRMF_MSG *crm = NULL; in process_cert_request() local
254 if ((crm = sk_OSSL_CRMF_MSG_value(reqs, 0)) == NULL) { in process_cert_request()
258 certReqId = OSSL_CRMF_MSG_get_certReqId(crm); in process_cert_request()
276 si = srv_ctx->process_cert_request(srv_ctx, req, certReqId, crm, p10cr, in process_cert_request()
H A Dcmp_local.h952 const OSSL_CRMF_MSG *crm);
989 ossl_cmp_certrepmessage_get0_certresponse(const OSSL_CMP_CERTREPMESSAGE *crm,
/openssl/include/openssl/
H A Dcrmf.h.in142 int OSSL_CRMF_MSG_set0_validity(OSSL_CRMF_MSG *crm,
144 int OSSL_CRMF_MSG_set_certReqId(OSSL_CRMF_MSG *crm, int rid);
145 int OSSL_CRMF_MSG_get_certReqId(const OSSL_CRMF_MSG *crm);
146 int OSSL_CRMF_MSG_set0_extensions(OSSL_CRMF_MSG *crm, X509_EXTENSIONS *exts);
148 int OSSL_CRMF_MSG_push0_extension(OSSL_CRMF_MSG *crm, X509_EXTENSION *ext);
154 int OSSL_CRMF_MSG_create_popo(int meth, OSSL_CRMF_MSG *crm,
160 OSSL_CRMF_CERTTEMPLATE *OSSL_CRMF_MSG_get0_tmpl(const OSSL_CRMF_MSG *crm);
H A Dcmp.h.in499 const OSSL_CRMF_MSG *crm, const X509_REQ *p10cr,
548 const OSSL_CRMF_MSG *crm);
564 const OSSL_CRMF_MSG *crm, int *checkAfter);
/openssl/apps/lib/
H A Dcmp_mock_srv.c269 const OSSL_CRMF_MSG *crm, in process_cert_request() argument
342 && crm != NULL /* thus not p10cr */ && ctx->refCert != NULL) { in process_cert_request()
343 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 49 milliseconds