Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/test/
H A 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()
H A Dcmp_server_test.c56 STACK_OF(X509) **caPubs) in process_cert_request()
H A Dcmp_ctx_test.c97 && ctx->caPubs == NULL in execute_CTX_reinit_test()
787 DEFINE_SET_GET_SK_X509_TEST(ossl_cmp, ctx, 1, 1, caPubs) in DEFINE_SET_CB_TEST()
/freebsd/crypto/openssl/apps/lib/
H A 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()
/freebsd/crypto/openssl/crypto/cmp/
H A 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()
H A 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,
H A 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()
H A 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()
H A 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()
H A Dcmp_client.c618 if (crepmsg->caPubs != NULL in cert_response()
619 && !ossl_cmp_ctx_set1_caPubs(ctx, crepmsg->caPubs)) in cert_response()
H A Dcmp_asn.c367 ASN1_EXP_SEQUENCE_OF_OPT(OSSL_CMP_CERTREPMESSAGE, caPubs, X509, 1),
/freebsd/crypto/openssl/doc/internal/man3/
H A 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.
H A 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.
H A 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
H A Dossl_cmp_msg_check_update.pod68 PBM-based then any certificates in the caPubs field are added to the list of
/freebsd/crypto/openssl/apps/include/
H A Dcmp_mock_srv.h27 STACK_OF(X509) *caPubs);
/freebsd/crypto/openssl/fuzz/
H A Dcmp.c109 STACK_OF(X509) **caPubs) in process_cert_request()
/freebsd/crypto/openssl/doc/man3/
H A DOSSL_CMP_SRV_CTX_new.pod43 STACK_OF(X509) **caPubs);
H A DOSSL_CMP_exec_certreq.pod126 trust, for instance via the caPubs field of a certificate response,
H A DOSSL_CMP_CTX_new.pod182 and any previous results (newCert, newChain, caPubs, and extraCertsIn)
671 X.509 certificates in the caPubs field of the last received certificate
673 or an empty stack if no caPubs have been received in the current transaction.
/freebsd/crypto/openssl/include/openssl/
H A Dcmp.h.in415 X509 **certOut, STACK_OF(X509) **chainOut, STACK_OF(X509) **caPubs);
H A Dcmp.h534 X509 **certOut, STACK_OF(X509) **chainOut, STACK_OF(X509) **caPubs);
/freebsd/crypto/openssl/doc/man1/
H A Dopenssl-cmp.pod.in645 The file where to save any CA certificates contained in the caPubs field of
1103 trust, for instance via the C<caPubs> field of a certificate response,