⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ssl_get_ex_data_x509_store_ctx_idx.pod

📁 开源的ssl算法openssl,版本0.9.8H
💻 POD
字号:
=pod=head1 NAMESSL_get_ex_data_X509_STORE_CTX_idx - get ex_data index to access SSL structurefrom X509_STORE_CTX=head1 SYNOPSIS #include <openssl/ssl.h> int SSL_get_ex_data_X509_STORE_CTX_idx(void);=head1 DESCRIPTIONSSL_get_ex_data_X509_STORE_CTX_idx() returns the index number under whichthe pointer to the SSL object is stored into the X509_STORE_CTX object.=head1 NOTESWhenever a X509_STORE_CTX object is created for the verification of thepeers certificate during a handshake, a pointer to the SSL object isstored into the X509_STORE_CTX object to identify the connection affected.To retrieve this pointer the X509_STORE_CTX_get_ex_data() function canbe used with the correct index. This index is globally the same for allX509_STORE_CTX objects and can be retrieved usingSSL_get_ex_data_X509_STORE_CTX_idx(). The index value is set whenSSL_get_ex_data_X509_STORE_CTX_idx() is first called either by the applicationprogram directly or indirectly during other SSL setup functions or duringthe handshake.The value depends on other index values defined for X509_STORE_CTX objectsbefore the SSL index is created.=head1 RETURN VALUES=over 4=item E<gt>=0The index value to access the pointer.=item E<lt>0An error occurred, check the error stack for a detailed error message.=back=head1 EXAMPLESThe index returned from SSL_get_ex_data_X509_STORE_CTX_idx() allows toaccess the SSL object for the connection to be accessed during theverify_callback() when checking the peers certificate. Please checkthe example in L<SSL_CTX_set_verify(3)|SSL_CTX_set_verify(3)>,=head1 SEE ALSOL<ssl(3)|ssl(3)>, L<SSL_CTX_set_verify(3)|SSL_CTX_set_verify(3)>,L<CRYPTO_set_ex_data(3)|CRYPTO_set_ex_data(3)>=cut

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -