Home
last modified time | relevance | path

Searched refs:bodytype (Results 1 – 10 of 10) sorted by relevance

/openssl/test/
H A Dcmp_msg_test.c22 int bodytype; member
150 fixture->bodytype = OSSL_CMP_PKIBODY_IR; in test_cmp_create_ir_protection_set()
168 fixture->bodytype = OSSL_CMP_PKIBODY_IR; in test_cmp_create_ir_protection_fails()
185 fixture->bodytype = OSSL_CMP_PKIBODY_CR; in test_cmp_create_cr_without_key()
195 fixture->bodytype = OSSL_CMP_PKIBODY_CR; in test_cmp_create_cr()
209 fixture->bodytype = OSSL_CMP_PKIBODY_RR; in test_cmp_create_certreq_with_invalid_bodytype()
227 fixture->bodytype = OSSL_CMP_PKIBODY_P10CR; in test_cmp_create_p10cr()
244 fixture->bodytype = OSSL_CMP_PKIBODY_P10CR; in test_cmp_create_p10cr_null()
258 fixture->bodytype = OSSL_CMP_PKIBODY_KUR; in test_cmp_create_kur()
273 fixture->bodytype = OSSL_CMP_PKIBODY_KUR; in test_cmp_create_kur_without_oldcert()
[all …]
/openssl/doc/internal/man3/
H A Dossl_cmp_certreq_new.pod22 OSSL_ossl_cmp_MSG *ossl_cmp_certreq_new(OSSL_CMP_CTX *ctx, int bodytype,
24 OSSL_CMP_MSG *ossl_cmp_certrep_new(OSSL_CMP_CTX *ctx, int bodytype,
52 which can be either of IR/CR/KUR/P10CR, depending on the given I<bodytype>.
56 Available CMP certificate request PKIMessage I<bodytype>s are:
71 which can be either of IP/CP/KUP, depending on the given I<bodytype>,
79 Available CMP certificate response PKIMessage I<bodytype>s are:
91 The list of all CMP PKIMessage I<bodytype>s is:
H A Dossl_cmp_mock_srv_new.pod38 int ossl_cmp_mock_srv_set_sendError(OSSL_CMP_SRV_CTX *srv_ctx, int bodytype);
78 for requests of the given I<bodytype>, or for all requests if I<bodytype> is 1.
79 A I<bodytype> of -1 can be used to disable this feature, which is the default.
H A Dossl_cmp_msg_create.pod75 OSSL_CMP_MSG *ossl_cmp_msg_create(OSSL_CMP_CTX *ctx, int bodytype);
93 using fields of B<ctx> for the header and B<bodytype> for the body.
/openssl/apps/lib/
H A Dcmp_mock_srv.c161 int ossl_cmp_mock_srv_set_sendError(OSSL_CMP_SRV_CTX *srv_ctx, int bodytype) in ossl_cmp_mock_srv_set_sendError() argument
170 ctx->sendError = bodytype; in ossl_cmp_mock_srv_set_sendError()
276 int bodytype; in process_cert_request() local
284 bodytype = OSSL_CMP_MSG_get_bodytype(cert_req); in process_cert_request()
285 if (ctx->sendError == 1 || ctx->sendError == bodytype) { in process_cert_request()
341 if (bodytype == OSSL_CMP_KUR in process_cert_request()
/openssl/crypto/cmp/
H A Dcmp_msg.c160 OSSL_CMP_MSG *ossl_cmp_msg_create(OSSL_CMP_CTX *ctx, int bodytype) in ossl_cmp_msg_create() argument
170 || !ossl_cmp_msg_set_bodytype(msg, bodytype)) in ossl_cmp_msg_create()
177 switch (bodytype) { in ossl_cmp_msg_create()
444 OSSL_CMP_MSG *ossl_cmp_certrep_new(OSSL_CMP_CTX *ctx, int bodytype, in ossl_cmp_certrep_new() argument
458 if ((msg = ossl_cmp_msg_create(ctx, bodytype)) == NULL) in ossl_cmp_certrep_new()
496 if (bodytype == OSSL_CMP_PKIBODY_IP && caPubs != NULL in ossl_cmp_certrep_new()
648 int bodytype; in ossl_cmp_msg_gen_push0_ITAV() local
653 bodytype = OSSL_CMP_MSG_get_bodytype(msg); in ossl_cmp_msg_gen_push0_ITAV()
654 if (bodytype != OSSL_CMP_PKIBODY_GENM in ossl_cmp_msg_gen_push0_ITAV()
655 && bodytype != OSSL_CMP_PKIBODY_GENP) { in ossl_cmp_msg_gen_push0_ITAV()
H A Dcmp_server.c222 int bodytype; in process_cert_request() local
231 bodytype = OSSL_CMP_PKIBODY_CP; in process_cert_request()
234 bodytype = OSSL_CMP_PKIBODY_IP; in process_cert_request()
237 bodytype = OSSL_CMP_PKIBODY_KUP; in process_cert_request()
292 msg = ossl_cmp_certrep_new(srv_ctx->ctx, bodytype, certReqId, si, in process_cert_request()
H A Dcmp_local.h950 OSSL_CMP_MSG *ossl_cmp_msg_create(OSSL_CMP_CTX *ctx, int bodytype);
951 OSSL_CMP_MSG *ossl_cmp_certreq_new(OSSL_CMP_CTX *ctx, int bodytype,
953 OSSL_CMP_MSG *ossl_cmp_certrep_new(OSSL_CMP_CTX *ctx, int bodytype,
H A Dcmp_client.c506 static X509 *get1_cert_status(OSSL_CMP_CTX *ctx, int bodytype, in get1_cert_status() argument
540 if (bodytype != OSSL_CMP_PKIBODY_KUR) { in get1_cert_status()
/openssl/apps/include/
H A Dcmp_mock_srv.h35 int ossl_cmp_mock_srv_set_sendError(OSSL_CMP_SRV_CTX *srv_ctx, int bodytype);

Completed in 27 milliseconds