gnutls_certificate_set_ocsp_status_request_file - Online Linux Manual PageSection : 3
Updated : 3.7.3
Source : gnutls
Note : gnutls

NAMEgnutls_certificate_set_ocsp_status_request_file − API function

SYNOPSIS#include <gnutls/gnutls.h> int gnutls_certificate_set_ocsp_status_request_file(gnutls_certificate_credentials_t sc, const char * response_file, unsigned idx);

ARGUMENTSgnutls_certificate_credentials_t sc is a credentials structure. const char * response_file a filename of the OCSP response unsigned idx is a certificate index as returned by gnutls_certificate_set_key() and friends

DESCRIPTIONThis function loads the provided OCSP response. It will be sent to the client if requests an OCSP certificate status for the certificate chain specified by idx .

NOTEthe ability to set multiple OCSP responses per credential structure via the index idx was added in version 3.5.6. To keep backwards compatibility, it requires using gnutls_certificate_set_flags() with the GNUTLS_CERTIFICATE_API_V2 flag to make the set certificate functions return an index usable by this function. This function can be called multiple times since GnuTLS 3.6.3 when multiple responses which apply to the chain are available. If the response provided does not match any certificates present in the chain, the code GNUTLS_E_OCSP_MISMATCH_WITH_CERTS is returned. To revert to the previous behavior set the flag GNUTLS_CERTIFICATE_SKIP_OCSP_RESPONSE_CHECK in the certificate credentials structure. In that case, only the end−certificate's OCSP response can be set. If the response is already expired at the time of loading the code GNUTLS_E_EXPIRED is returned. To revert to the previous behavior of this function which does not return any errors, set the flag GNUTLS_CERTIFICATE_SKIP_OCSP_RESPONSE_CHECK

RETURNSOn success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error code is returned.

SINCE3.1.3

REPORTING BUGSReport bugs to <bugs@gnutls.org>.
Home page: https://www.gnutls.org

COPYRIGHTCopyright © 2001- Free Software Foundation, Inc., and others.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.

SEE ALSOThe full documentation for gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form visit https://www.gnutls.org/manual/ 
0
Johanes Gumabo
Data Size   :   7,228 byte
man-gnutls_certificate_set_ocsp_status_request_file.3Build   :   2024-12-29, 07:25   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   5 / 259,379
Visitor ID   :     :  
Visitor IP   :   18.118.166.80   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.