Home
last modified time | relevance | path

Searched refs:req_type (Results 1 – 6 of 6) sorted by relevance

/openssl/test/
H A Dcmp_client_test.c26 int req_type; member
84 fixture->req_type = -1; in set_up()
127 X509 *res = OSSL_CMP_exec_certreq(ctx, fixture->req_type, NULL); in execute_exec_certrequest_ses_test()
187 fixture->req_type = OSSL_CMP_PKIBODY_IR; in test_exec_IR_ses()
197 static int test_exec_REQ_ses_poll(int req_type, int check_after, in test_exec_REQ_ses_poll() argument
202 fixture->req_type = req_type; in test_exec_REQ_ses_poll()
209 if (req_type == OSSL_CMP_PKIBODY_IR) { in test_exec_REQ_ses_poll()
211 } else if (req_type == OSSL_CMP_PKIBODY_GENM) { in test_exec_REQ_ses_poll()
241 fixture->req_type = OSSL_CMP_PKIBODY_CR; in test_exec_CR_ses()
268 fixture->req_type = OSSL_CMP_PKIBODY_KUR; in test_exec_KUR_ses()
[all …]
/openssl/crypto/cmp/
H A Dcmp_client.c656 ossl_unused int req_type, in cert_response() argument
811 if ((req = ossl_cmp_certreq_new(ctx, req_type, crm)) == NULL) in initial_certreq()
820 int OSSL_CMP_try_certreq(OSSL_CMP_CTX *ctx, int req_type, in OSSL_CMP_try_certreq() argument
824 int is_p10 = req_type == OSSL_CMP_PKIBODY_P10CR; in OSSL_CMP_try_certreq()
826 int rep_type = is_p10 ? OSSL_CMP_PKIBODY_CP : req_type + 1; in OSSL_CMP_try_certreq()
841 if (req_type < 0) in OSSL_CMP_try_certreq()
850 req_type, rep_type); in OSSL_CMP_try_certreq()
864 X509 *OSSL_CMP_exec_certreq(OSSL_CMP_CTX *ctx, int req_type, in OSSL_CMP_exec_certreq() argument
868 int is_p10 = req_type == OSSL_CMP_PKIBODY_P10CR; in OSSL_CMP_exec_certreq()
870 int rep_type = is_p10 ? OSSL_CMP_PKIBODY_CP : req_type + 1; in OSSL_CMP_exec_certreq()
[all …]
H A Dcmp_server.c578 int req_type, rsp_type; in OSSL_CMP_SRV_process_request() local
590 req_type = OSSL_CMP_MSG_get_bodytype(req); in OSSL_CMP_SRV_process_request()
592 "received %s", ossl_cmp_bodytype_to_string(req_type)); in OSSL_CMP_SRV_process_request()
605 if (srv_ctx->polling && req_type != OSSL_CMP_PKIBODY_POLLREQ in OSSL_CMP_SRV_process_request()
606 && req_type != OSSL_CMP_PKIBODY_ERROR) { in OSSL_CMP_SRV_process_request()
611 switch (req_type) { in OSSL_CMP_SRV_process_request()
658 if (req_type == OSSL_CMP_PKIBODY_POLLREQ) { in OSSL_CMP_SRV_process_request()
/openssl/apps/lib/
H A Dcmp_mock_srv.c206 int req_type = OSSL_CMP_MSG_get_bodytype(req); in delayed_delivery() local
217 if (req_type == OSSL_CMP_IR in delayed_delivery()
218 || req_type == OSSL_CMP_CR in delayed_delivery()
219 || req_type == OSSL_CMP_P10CR in delayed_delivery()
220 || req_type == OSSL_CMP_KUR in delayed_delivery()
222 || req_type == OSSL_CMP_ERROR) in delayed_delivery()
/openssl/doc/man3/
H A DOSSL_CMP_exec_certreq.pod27 X509 *OSSL_CMP_exec_certreq(OSSL_CMP_CTX *ctx, int req_type,
37 int OSSL_CMP_try_certreq(OSSL_CMP_CTX *ctx, int req_type,
81 by the I<req_type> parameter, which may be IR, CR, P10CR, or KUR.
95 constructed as stated above using the I<req_type> and optional I<crm> parameter.
98 unless the I<req_type> argument is < 0, which aborts the request.
112 a negative value as the I<req_type> argument then OSSL_CMP_try_certreq()
/openssl/include/openssl/
H A Dcmp.h.in547 X509 *OSSL_CMP_exec_certreq(OSSL_CMP_CTX *ctx, int req_type,
563 int OSSL_CMP_try_certreq(OSSL_CMP_CTX *ctx, int req_type,

Completed in 17 milliseconds