Home
last modified time | relevance | path

Searched refs:caPubs (Results 1 – 25 of 89) sorted by relevance

1234

/third_party/openssl/test/
Dcmp_client_test.c30 STACK_OF(X509) *caPubs;
52 sk_X509_free(fixture->caPubs); in tear_down()
141 if (fixture->caPubs != NULL) { in execute_exec_certrequest_ses_test()
142 STACK_OF(X509) *caPubs = OSSL_CMP_CTX_get1_caPubs(fixture->cmp_ctx); in execute_exec_certrequest_ses_test()
143 int ret = TEST_int_eq(STACK_OF_X509_cmp(fixture->caPubs, caPubs), 0); in execute_exec_certrequest_ses_test()
145 sk_X509_pop_free(caPubs, X509_free); in execute_exec_certrequest_ses_test()
190 fixture->caPubs = sk_X509_new_null(); in test_exec_IR_ses()
191 sk_X509_push(fixture->caPubs, server_cert); in test_exec_IR_ses()
192 sk_X509_push(fixture->caPubs, server_cert); in test_exec_IR_ses()
193 ossl_cmp_mock_srv_set1_caPubsOut(fixture->srv_ctx, fixture->caPubs); in test_exec_IR_ses()
Dcmp_server_test.c56 STACK_OF(X509) **caPubs) in process_cert_request()
Dcmp_ctx_test.c97 && ctx->caPubs == NULL in execute_CTX_reinit_test()
784 DEFINE_SET_GET_SK_X509_TEST(ossl_cmp, ctx, 1, 1, caPubs) in DEFINE_SET_CB_TEST()
/third_party/node/deps/openssl/openssl/apps/lib/
Dcmp_mock_srv.c99 STACK_OF(X509) *caPubs) in ossl_cmp_mock_srv_set1_caPubsOut()
108 if (caPubs != NULL && (caPubs_copy = X509_chain_up_ref(caPubs)) == NULL) in ossl_cmp_mock_srv_set1_caPubsOut()
180 STACK_OF(X509) **caPubs) in process_cert_request()
186 || certOut == NULL || chainOut == NULL || caPubs == NULL) { in process_cert_request()
198 *caPubs = NULL; in process_cert_request()
245 && (*caPubs = X509_chain_up_ref(ctx->caPubsOut)) == NULL) in process_cert_request()
257 sk_X509_pop_free(*caPubs, X509_free); in process_cert_request()
258 *caPubs = NULL; in process_cert_request()
/third_party/openssl/apps/lib/
Dcmp_mock_srv.c99 STACK_OF(X509) *caPubs) in ossl_cmp_mock_srv_set1_caPubsOut()
108 if (caPubs != NULL && (caPubs_copy = X509_chain_up_ref(caPubs)) == NULL) in ossl_cmp_mock_srv_set1_caPubsOut()
180 STACK_OF(X509) **caPubs) in process_cert_request()
186 || certOut == NULL || chainOut == NULL || caPubs == NULL) { in process_cert_request()
198 *caPubs = NULL; in process_cert_request()
245 && (*caPubs = X509_chain_up_ref(ctx->caPubsOut)) == NULL) in process_cert_request()
257 sk_X509_pop_free(*caPubs, X509_free); in process_cert_request()
258 *caPubs = NULL; in process_cert_request()
/third_party/openssl/crypto/cmp/
Dcmp_ctx.c235 sk_X509_pop_free(ctx->caPubs, X509_free); in OSSL_CMP_CTX_free()
607 return X509_chain_up_ref(ctx->caPubs); in STACK_OF()
614 int ossl_cmp_ctx_set1_caPubs(OSSL_CMP_CTX *ctx, STACK_OF(X509) *caPubs) in ossl_cmp_ctx_set1_caPubs() argument
619 sk_X509_pop_free(ctx->caPubs, X509_free); in ossl_cmp_ctx_set1_caPubs()
620 ctx->caPubs = NULL; in ossl_cmp_ctx_set1_caPubs()
621 return caPubs == NULL || (ctx->caPubs = X509_chain_up_ref(caPubs)) != NULL; in ossl_cmp_ctx_set1_caPubs()
Dcmp_local.h127 STACK_OF(X509) *caPubs; /* CA certs received from server (in IP message) */
413 STACK_OF(X509) *caPubs;
787 int ossl_cmp_ctx_set1_caPubs(OSSL_CMP_CTX *ctx, STACK_OF(X509) *caPubs);
871 STACK_OF(X509) *chain, STACK_OF(X509) *caPubs,
Dcmp_server.c163 STACK_OF(X509) *chainOut = NULL, *caPubs = NULL; in process_cert_request()
222 &certOut, &chainOut, &caPubs); in process_cert_request()
236 certOut, NULL /* enc */, chainOut, caPubs, in process_cert_request()
245 sk_X509_pop_free(caPubs, X509_free); in process_cert_request()
Dcmp_msg.c448 STACK_OF(X509) *chain, STACK_OF(X509) *caPubs, in ossl_cmp_certrep_new()
497 if (bodytype == OSSL_CMP_PKIBODY_IP && caPubs != NULL in ossl_cmp_certrep_new()
498 && (repMsg->caPubs = X509_chain_up_ref(caPubs)) == NULL) in ossl_cmp_certrep_new()
Dcmp_vfy.c590 STACK_OF(X509) *certs = msg->body->value.ip->caPubs; in OSSL_CMP_validate_msg()
805 STACK_OF(X509) *certs = msg->body->value.ip->caPubs; in ossl_cmp_msg_check_update()
Dcmp_client.c618 if (crepmsg->caPubs != NULL in cert_response()
619 && !ossl_cmp_ctx_set1_caPubs(ctx, crepmsg->caPubs)) in cert_response()
/third_party/node/deps/openssl/openssl/crypto/cmp/
Dcmp_ctx.c235 sk_X509_pop_free(ctx->caPubs, X509_free); in OSSL_CMP_CTX_free()
607 return X509_chain_up_ref(ctx->caPubs); in STACK_OF()
614 int ossl_cmp_ctx_set1_caPubs(OSSL_CMP_CTX *ctx, STACK_OF(X509) *caPubs) in ossl_cmp_ctx_set1_caPubs() argument
619 sk_X509_pop_free(ctx->caPubs, X509_free); in ossl_cmp_ctx_set1_caPubs()
620 ctx->caPubs = NULL; in ossl_cmp_ctx_set1_caPubs()
621 return caPubs == NULL || (ctx->caPubs = X509_chain_up_ref(caPubs)) != NULL; in ossl_cmp_ctx_set1_caPubs()
Dcmp_local.h127 STACK_OF(X509) *caPubs; /* CA certs received from server (in IP message) */
413 STACK_OF(X509) *caPubs;
787 int ossl_cmp_ctx_set1_caPubs(OSSL_CMP_CTX *ctx, STACK_OF(X509) *caPubs);
871 STACK_OF(X509) *chain, STACK_OF(X509) *caPubs,
Dcmp_server.c163 STACK_OF(X509) *chainOut = NULL, *caPubs = NULL; in process_cert_request()
222 &certOut, &chainOut, &caPubs); in process_cert_request()
236 certOut, NULL /* enc */, chainOut, caPubs, in process_cert_request()
245 sk_X509_pop_free(caPubs, X509_free); in process_cert_request()
Dcmp_msg.c448 STACK_OF(X509) *chain, STACK_OF(X509) *caPubs, in ossl_cmp_certrep_new()
497 if (bodytype == OSSL_CMP_PKIBODY_IP && caPubs != NULL in ossl_cmp_certrep_new()
498 && (repMsg->caPubs = X509_chain_up_ref(caPubs)) == NULL) in ossl_cmp_certrep_new()
Dcmp_vfy.c590 STACK_OF(X509) *certs = msg->body->value.ip->caPubs; in OSSL_CMP_validate_msg()
805 STACK_OF(X509) *certs = msg->body->value.ip->caPubs; in ossl_cmp_msg_check_update()
Dcmp_client.c618 if (crepmsg->caPubs != NULL in cert_response()
619 && !ossl_cmp_ctx_set1_caPubs(ctx, crepmsg->caPubs)) in cert_response()
/third_party/openssl/doc/internal/man3/
Dossl_cmp_ctx_set1_caPubs.pod19 int ossl_cmp_ctx_set1_caPubs(OSSL_CMP_CTX *ctx, STACK_OF(X509) *caPubs);
34 to the caPubs field of the context.
Dossl_cmp_mock_srv_new.pod27 STACK_OF(X509) *caPubs);
50 ossl_cmp_mock_srv_set1_caPubsOut() sets the caPubs to be returned in an ip.
Dossl_cmp_certreq_new.pod27 STACK_OF(X509) *chain, STACK_OF(X509) *caPubs,
73 I<chain>, and I<caPubs>. The I<cert>, I<chain>, and I<caPubs> arguments
Dossl_cmp_msg_check_update.pod68 PBM-based then any certificates in the caPubs field are added to the list of
/third_party/openssl/apps/include/
Dcmp_mock_srv.h27 STACK_OF(X509) *caPubs);
/third_party/node/deps/openssl/openssl/apps/include/
Dcmp_mock_srv.h27 STACK_OF(X509) *caPubs);
/third_party/node/deps/openssl/openssl/fuzz/
Dcmp.c109 STACK_OF(X509) **caPubs) in process_cert_request()
/third_party/openssl/fuzz/
Dcmp.c109 STACK_OF(X509) **caPubs) in process_cert_request()

1234