Home
last modified time | relevance | path

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

/third_party/openssl/test/
Dcmp_msg_test.c22 int bodytype; member
91 fixture->bodytype, in execute_certreq_create_test()
127 (fixture->cmp_ctx, fixture->bodytype)); in execute_pkimessage_create_test()
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()
[all …]
/third_party/openssl/doc/internal/man3/
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:
Dossl_cmp_mock_srv_new.pod30 int ossl_cmp_mock_srv_set_sendError(OSSL_CMP_SRV_CTX *srv_ctx, int bodytype);
55 for requests of the given I<bodytype>, or for all requests if I<bodytype> is 1.
56 A I<bodytype> of -1 can be used to disable this feature, which is the default.
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.
/third_party/openssl/crypto/cmp/
Dcmp_msg.c161 OSSL_CMP_MSG *ossl_cmp_msg_create(OSSL_CMP_CTX *ctx, int bodytype) in ossl_cmp_msg_create() argument
171 || !ossl_cmp_msg_set_bodytype(msg, bodytype)) in ossl_cmp_msg_create()
178 switch (bodytype) { in ossl_cmp_msg_create()
445 OSSL_CMP_MSG *ossl_cmp_certrep_new(OSSL_CMP_CTX *ctx, int bodytype, in ossl_cmp_certrep_new() argument
459 if ((msg = ossl_cmp_msg_create(ctx, bodytype)) == NULL) in ossl_cmp_certrep_new()
497 if (bodytype == OSSL_CMP_PKIBODY_IP && caPubs != NULL in ossl_cmp_certrep_new()
639 int bodytype; in ossl_cmp_msg_gen_push0_ITAV() local
644 bodytype = OSSL_CMP_MSG_get_bodytype(msg); in ossl_cmp_msg_gen_push0_ITAV()
645 if (bodytype != OSSL_CMP_PKIBODY_GENM in ossl_cmp_msg_gen_push0_ITAV()
646 && bodytype != OSSL_CMP_PKIBODY_GENP) { in ossl_cmp_msg_gen_push0_ITAV()
Dcmp_server.c166 int bodytype; in process_cert_request() local
175 bodytype = OSSL_CMP_PKIBODY_CP; in process_cert_request()
178 bodytype = OSSL_CMP_PKIBODY_IP; in process_cert_request()
181 bodytype = OSSL_CMP_PKIBODY_KUP; in process_cert_request()
235 msg = ossl_cmp_certrep_new(srv_ctx->ctx, bodytype, certReqId, si, in process_cert_request()
Dcmp_local.h865 OSSL_CMP_MSG *ossl_cmp_msg_create(OSSL_CMP_CTX *ctx, int bodytype);
866 OSSL_CMP_MSG *ossl_cmp_certreq_new(OSSL_CMP_CTX *ctx, int bodytype,
868 OSSL_CMP_MSG *ossl_cmp_certrep_new(OSSL_CMP_CTX *ctx, int bodytype,
Dcmp_client.c410 static X509 *get1_cert_status(OSSL_CMP_CTX *ctx, int bodytype, in get1_cert_status() argument
444 if (bodytype != OSSL_CMP_PKIBODY_KUR) { in get1_cert_status()
/third_party/node/deps/openssl/openssl/crypto/cmp/
Dcmp_msg.c161 OSSL_CMP_MSG *ossl_cmp_msg_create(OSSL_CMP_CTX *ctx, int bodytype) in ossl_cmp_msg_create() argument
171 || !ossl_cmp_msg_set_bodytype(msg, bodytype)) in ossl_cmp_msg_create()
178 switch (bodytype) { in ossl_cmp_msg_create()
445 OSSL_CMP_MSG *ossl_cmp_certrep_new(OSSL_CMP_CTX *ctx, int bodytype, in ossl_cmp_certrep_new() argument
459 if ((msg = ossl_cmp_msg_create(ctx, bodytype)) == NULL) in ossl_cmp_certrep_new()
497 if (bodytype == OSSL_CMP_PKIBODY_IP && caPubs != NULL in ossl_cmp_certrep_new()
639 int bodytype; in ossl_cmp_msg_gen_push0_ITAV() local
644 bodytype = OSSL_CMP_MSG_get_bodytype(msg); in ossl_cmp_msg_gen_push0_ITAV()
645 if (bodytype != OSSL_CMP_PKIBODY_GENM in ossl_cmp_msg_gen_push0_ITAV()
646 && bodytype != OSSL_CMP_PKIBODY_GENP) { in ossl_cmp_msg_gen_push0_ITAV()
Dcmp_server.c166 int bodytype; in process_cert_request() local
175 bodytype = OSSL_CMP_PKIBODY_CP; in process_cert_request()
178 bodytype = OSSL_CMP_PKIBODY_IP; in process_cert_request()
181 bodytype = OSSL_CMP_PKIBODY_KUP; in process_cert_request()
235 msg = ossl_cmp_certrep_new(srv_ctx->ctx, bodytype, certReqId, si, in process_cert_request()
Dcmp_local.h865 OSSL_CMP_MSG *ossl_cmp_msg_create(OSSL_CMP_CTX *ctx, int bodytype);
866 OSSL_CMP_MSG *ossl_cmp_certreq_new(OSSL_CMP_CTX *ctx, int bodytype,
868 OSSL_CMP_MSG *ossl_cmp_certrep_new(OSSL_CMP_CTX *ctx, int bodytype,
Dcmp_client.c410 static X509 *get1_cert_status(OSSL_CMP_CTX *ctx, int bodytype, in get1_cert_status() argument
444 if (bodytype != OSSL_CMP_PKIBODY_KUR) { in get1_cert_status()
/third_party/openssl/apps/include/
Dcmp_mock_srv.h30 int ossl_cmp_mock_srv_set_sendError(OSSL_CMP_SRV_CTX *srv_ctx, int bodytype);
/third_party/node/deps/openssl/openssl/apps/include/
Dcmp_mock_srv.h30 int ossl_cmp_mock_srv_set_sendError(OSSL_CMP_SRV_CTX *srv_ctx, int bodytype);
/third_party/node/deps/openssl/openssl/apps/lib/
Dcmp_mock_srv.c132 int ossl_cmp_mock_srv_set_sendError(OSSL_CMP_SRV_CTX *srv_ctx, int bodytype) in ossl_cmp_mock_srv_set_sendError() argument
141 ctx->sendError = bodytype; in ossl_cmp_mock_srv_set_sendError()
/third_party/openssl/apps/lib/
Dcmp_mock_srv.c132 int ossl_cmp_mock_srv_set_sendError(OSSL_CMP_SRV_CTX *srv_ctx, int bodytype) in ossl_cmp_mock_srv_set_sendError() argument
141 ctx->sendError = bodytype; in ossl_cmp_mock_srv_set_sendError()