BIO_GET_EX_NEW_INDEX - Online Linux Manual PageSection : 3ossl
Updated : 2022-03-15
Source : 3.0.2
Note : OpenSSL

NAMEBIO_get_ex_new_index, BIO_set_ex_data, BIO_get_ex_data, BIO_set_app_data, BIO_get_app_data, DH_get_ex_new_index, DH_set_ex_data, DH_get_ex_data, DSA_get_ex_new_index, DSA_set_ex_data, DSA_get_ex_data, EC_KEY_get_ex_new_index, EC_KEY_set_ex_data, EC_KEY_get_ex_data, ENGINE_get_ex_new_index, ENGINE_set_ex_data, ENGINE_get_ex_data, EVP_PKEY_get_ex_new_index, EVP_PKEY_set_ex_data, EVP_PKEY_get_ex_data, RSA_get_ex_new_index, RSA_set_ex_data, RSA_get_ex_data, RSA_set_app_data, RSA_get_app_data, SSL_get_ex_new_index, SSL_set_ex_data, SSL_get_ex_data, SSL_set_app_data, SSL_get_app_data, SSL_CTX_get_ex_new_index, SSL_CTX_set_ex_data, SSL_CTX_get_ex_data, SSL_CTX_set_app_data, SSL_CTX_get_app_data, SSL_SESSION_get_ex_new_index, SSL_SESSION_set_ex_data, SSL_SESSION_get_ex_data, SSL_SESSION_set_app_data, SSL_SESSION_get_app_data, UI_get_ex_new_index, UI_set_ex_data, UI_get_ex_data, UI_set_app_data, UI_get_app_data, X509_STORE_CTX_get_ex_new_index, X509_STORE_CTX_set_ex_data, X509_STORE_CTX_get_ex_data, X509_STORE_CTX_set_app_data, X509_STORE_CTX_get_app_data, X509_STORE_get_ex_new_index, X509_STORE_set_ex_data, X509_STORE_get_ex_data, X509_get_ex_new_index, X509_set_ex_data, X509_get_ex_data ​− application−specific data

SYNOPSIS​ #include <openssl/x509.h> ​ ​ int TYPE_get_ex_new_index(long argl, void *argp, ​ CRYPTO_EX_new *new_func, ​ CRYPTO_EX_dup *dup_func, ​ CRYPTO_EX_free *free_func); ​ ​ int TYPE_set_ex_data(TYPE *d, int idx, void *arg); ​ ​ void *TYPE_get_ex_data(const TYPE *d, int idx); ​ ​ #define TYPE_set_app_data(TYPE *d, void *arg) ​ #define TYPE_get_app_data(TYPE *d) The following functions have been deprecated since OpenSSL 3.0, and can be hidden entirely by defining OPENSSL_API_COMPAT with a suitable version value, see openssl_user_macros(7): ​ int DH_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, ​ CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); ​ int DH_set_ex_data(DH *type, int idx, void *arg); ​ void *DH_get_ex_data(DH *type, int idx); ​ int DSA_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, ​ CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); ​ int DSA_set_ex_data(DSA *type, int idx, void *arg); ​ void *DSA_get_ex_data(DSA *type, int idx); ​ int EC_KEY_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, ​ CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); ​ int EC_KEY_set_ex_data(EC_KEY *type, int idx, void *arg); ​ void *EC_KEY_get_ex_data(EC_KEY *type, int idx); ​ int RSA_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, ​ CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); ​ int RSA_set_ex_data(RSA *type, int idx, void *arg); ​ void *RSA_get_ex_data(RSA *type, int idx); ​ int RSA_set_app_data(RSA *type, void *arg); ​ void *RSA_get_app_data(RSA *type); ​ int ENGINE_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, ​ CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); ​ int ENGINE_set_ex_data(ENGINE *type, int idx, void *arg); ​ void *ENGINE_get_ex_data(ENGINE *type, int idx);

DESCRIPTIONIn the description here, TYPE is used a placeholder for any of the OpenSSL datatypes listed in CRYPTO_get_ex_new_index(3). All functions with a TYPE of DH, DSA, RSA and EC_KEY are deprecated. Applications should instead use EVP_PKEY_set_ex_data(), ​EVP_PKEY_get_ex_data() and EVP_PKEY_get_ex_new_index(). All functions with a TYPE of ENGINE are deprecated. Applications using engines should be replaced by providers. These functions handle application-specific data for OpenSSL data structures. TYPE_get_ex_new_index() is a macro that calls CRYPTO_get_ex_new_index() with the correct index value. TYPE_set_ex_data() is a function that calls CRYPTO_set_ex_data() with an offset into the opaque exdata part of the TYPE object. TYPE_get_ex_data() is a function that calls CRYPTO_get_ex_data() with an offset into the opaque exdata part of the TYPE object. For compatibility with previous releases, the exdata index of zero is reserved for application data. There are two convenience functions for this. ​TYPE_set_app_data() is a macro that invokes TYPE_set_ex_data() with ​idx set to zero. ​TYPE_get_app_data() is a macro that invokes TYPE_get_ex_data() with ​idx set to zero.

RETURN VALUESTYPE_get_ex_new_index() returns a new index on success or −1 on error. TYPE_set_ex_data() returns 1 on success or 0 on error. TYPE_get_ex_data() returns the application data or NULL if an error occurred.

SEE ALSOCRYPTO_get_ex_new_index(3).

HISTORYThe functions DH_get_ex_new_index(), DH_set_ex_data(), DH_get_ex_data(), ​DSA_get_ex_new_index(), DSA_set_ex_data(), DSA_get_ex_data(), ​EC_KEY_get_ex_new_index(), EC_KEY_set_ex_data(), EC_KEY_get_ex_data(), ​ENGINE_get_ex_new_index(), ENGINE_set_ex_data(), ENGINE_get_ex_data(), ​RSA_get_ex_new_index(), RSA_set_ex_data(), RSA_get_ex_data(), ​RSA_set_app_data() and RSA_get_app_data() were deprecated in OpenSSL 3.0.

COPYRIGHTCopyright 2015−2021 The OpenSSL Project Authors. All Rights Reserved. Licensed under the Apache License 2.0 (the License). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.
0
Johanes Gumabo
Data Size   :   17,244 byte
man-SSL_SESSION_get_ex_data.3osslBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 175,456
Visitor ID   :     :  
Visitor IP   :   3.15.34.105   :  
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.05
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.

ERROR : Need New Coding :         (parse_manual_page_|249|B___IO_get_app_data.3ossl|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|149|B___IO_get_app_data.3ossl|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|249|B___IO_get_app_data.3ossl|43|br══─}─══|'br══─}─══ )         (htmlprn|149|B___IO_get_app_data.3ossl|43|'br══─}─══ |'br══─}─══ )