OCSP_sendreq_new.pod (1.1.1.5) | OCSP_sendreq_new.pod (1.1.1.6) |
---|---|
1=pod 2 3=head1 NAME 4 5OCSP_REQ_CTX, 6OCSP_sendreq_new, 7OCSP_sendreq_nbio, 8OCSP_sendreq_bio, --- 26 unchanged lines hidden (view full) --- 35 int OCSP_REQ_CTX_set1_req(OCSP_REQ_CTX *rctx, const OCSP_REQUEST *req); 36 37=head1 DESCRIPTION 38 39These functions perform an OCSP POST request / response transfer over HTTP, 40using the HTTP request functions described in L<OSSL_HTTP_REQ_CTX(3)>. 41 42The function OCSP_sendreq_new() builds a complete B<OSSL_HTTP_REQ_CTX> structure | 1=pod 2 3=head1 NAME 4 5OCSP_REQ_CTX, 6OCSP_sendreq_new, 7OCSP_sendreq_nbio, 8OCSP_sendreq_bio, --- 26 unchanged lines hidden (view full) --- 35 int OCSP_REQ_CTX_set1_req(OCSP_REQ_CTX *rctx, const OCSP_REQUEST *req); 36 37=head1 DESCRIPTION 38 39These functions perform an OCSP POST request / response transfer over HTTP, 40using the HTTP request functions described in L<OSSL_HTTP_REQ_CTX(3)>. 41 42The function OCSP_sendreq_new() builds a complete B<OSSL_HTTP_REQ_CTX> structure |
43with the B | 43with the B<BIO> I<io> to be used for requests and response, the URL path I<path>, |
44optionally the OCSP request I<req>, and a response header maximum line length 45of I<buf_size>. If I<buf_size> is zero a default value of 4KiB is used. 46The I<req> may be set to NULL and provided later using OCSP_REQ_CTX_set1_req() 47or L<OSSL_HTTP_REQ_CTX_set1_req(3)>. 48The I<io> and I<path> arguments to OCSP_sendreq_new() correspond to the 49components of the URL. 50For example if the responder URL is C<http://example.com/ocspreq> the BIO 51I<io> should haven been connected to host C<example.com> on port 80 and I<path> --- 58 unchanged lines hidden (view full) --- 110OCSP_REQ_CTX_add1_header(), 111OCSP_REQ_CTX_free(), 112OCSP_set_max_response_length(), 113and OCSP_REQ_CTX_set1_req() 114were deprecated in OpenSSL 3.0. 115 116=head1 COPYRIGHT 117 | 44optionally the OCSP request I<req>, and a response header maximum line length 45of I<buf_size>. If I<buf_size> is zero a default value of 4KiB is used. 46The I<req> may be set to NULL and provided later using OCSP_REQ_CTX_set1_req() 47or L<OSSL_HTTP_REQ_CTX_set1_req(3)>. 48The I<io> and I<path> arguments to OCSP_sendreq_new() correspond to the 49components of the URL. 50For example if the responder URL is C<http://example.com/ocspreq> the BIO 51I<io> should haven been connected to host C<example.com> on port 80 and I<path> --- 58 unchanged lines hidden (view full) --- 110OCSP_REQ_CTX_add1_header(), 111OCSP_REQ_CTX_free(), 112OCSP_set_max_response_length(), 113and OCSP_REQ_CTX_set1_req() 114were deprecated in OpenSSL 3.0. 115 116=head1 COPYRIGHT 117 |
118Copyright 2015-2021 The OpenSSL Project Authors. All Rights Reserved. | 118Copyright 2015-2023 The OpenSSL Project Authors. All Rights Reserved. |
119 120Licensed under the Apache License 2.0 (the "License"). You may not use 121this file except in compliance with the License. You can obtain a copy 122in the file LICENSE in the source distribution or at 123L<https://www.openssl.org/source/license.html>. 124 125=cut | 119 120Licensed under the Apache License 2.0 (the "License"). You may not use 121this file except in compliance with the License. You can obtain a copy 122in the file LICENSE in the source distribution or at 123L<https://www.openssl.org/source/license.html>. 124 125=cut |