/freebsd/crypto/openssl/test/ |
H A D | cmp_client_test.c | 30 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 D | cmp_server_test.c | 56 STACK_OF(X509) **caPubs) in process_cert_request()
|
H A D | cmp_ctx_test.c | 97 && 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 D | cmp_mock_srv.c | 99 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 D | cmp_ctx.c | 235 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 D | cmp_local.h | 127 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 D | cmp_server.c | 163 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 D | cmp_msg.c | 448 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 D | cmp_vfy.c | 590 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 D | cmp_client.c | 621 if (crepmsg->caPubs != NULL in cert_response() 622 && !ossl_cmp_ctx_set1_caPubs(ctx, crepmsg->caPubs)) in cert_response()
|
H A D | cmp_asn.c | 367 ASN1_EXP_SEQUENCE_OF_OPT(OSSL_CMP_CERTREPMESSAGE, caPubs, X509, 1),
|
/freebsd/crypto/openssl/doc/internal/man3/ |
H A D | ossl_cmp_ctx_set1_caPubs.pod | 19 int ossl_cmp_ctx_set1_caPubs(OSSL_CMP_CTX *ctx, STACK_OF(X509) *caPubs); 34 to the caPubs field of the context.
|
H A D | ossl_cmp_mock_srv_new.pod | 27 STACK_OF(X509) *caPubs); 50 ossl_cmp_mock_srv_set1_caPubsOut() sets the caPubs to be returned in an ip.
|
H A D | ossl_cmp_certreq_new.pod | 27 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 D | ossl_cmp_msg_check_update.pod | 68 PBM-based then any certificates in the caPubs field are added to the list of
|
/freebsd/crypto/openssl/apps/include/ |
H A D | cmp_mock_srv.h | 27 STACK_OF(X509) *caPubs);
|
/freebsd/crypto/openssl/fuzz/ |
H A D | cmp.c | 109 STACK_OF(X509) **caPubs) in process_cert_request()
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | OSSL_CMP_SRV_CTX_new.pod | 43 STACK_OF(X509) **caPubs);
|
H A D | OSSL_CMP_exec_certreq.pod | 126 trust, for instance via the caPubs field of a certificate response,
|
H A D | OSSL_CMP_CTX_new.pod | 183 and any previous results (newCert, newChain, caPubs, and extraCertsIn) 679 X.509 certificates in the caPubs field of the last received certificate 681 or an empty stack if no caPubs have been received in the current transaction.
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | cmp.h.in | 415 X509 **certOut, STACK_OF(X509) **chainOut, STACK_OF(X509) **caPubs);
|
H A D | cmp.h | 534 X509 **certOut, STACK_OF(X509) **chainOut, STACK_OF(X509) **caPubs);
|
/freebsd/crypto/openssl/doc/man1/ |
H A D | openssl-cmp.pod.in | 649 The file where to save any CA certificates contained in the caPubs field of 1108 trust, for instance via the C<caPubs> field of a certificate response,
|