Go to main content

man pages section 3: Extended Library Functions, Volume 1

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

X509_STORE_CTX_get_ex_new_index (3openssl)

Name

X509_STORE_CTX_get_ex_new_index - X509_STORE_CTX_get_ex_new_index, X509_STORE_CTX_set_ex_data, add application specific data to X509_STORE_CTX structures

Synopsis

#include <openssl/x509_vfy.h>

int X509_STORE_CTX_get_ex_new_index(long argl, void *argp,
CRYPTO_EX_new *new_func,
CRYPTO_EX_dup *dup_func,
CRYPTO_EX_free *free_func);

int X509_STORE_CTX_set_ex_data(X509_STORE_CTX *d, int idx, void *arg);

void *X509_STORE_CTX_get_ex_data(X509_STORE_CTX *d, int idx);

Description

OpenSSL                              X509_STORE_CTX_get_ex_new_index(3openssl)



NAME
       X509_STORE_CTX_get_ex_new_index, X509_STORE_CTX_set_ex_data,
       X509_STORE_CTX_get_ex_data - add application specific data to
       X509_STORE_CTX structures

SYNOPSIS
        #include <openssl/x509_vfy.h>

        int X509_STORE_CTX_get_ex_new_index(long argl, void *argp,
                       CRYPTO_EX_new *new_func,
                       CRYPTO_EX_dup *dup_func,
                       CRYPTO_EX_free *free_func);

        int X509_STORE_CTX_set_ex_data(X509_STORE_CTX *d, int idx, void *arg);

        void *X509_STORE_CTX_get_ex_data(X509_STORE_CTX *d, int idx);

DESCRIPTION
       These functions handle application specific data in X509_STORE_CTX
       structures.  Their usage is identical to that of
       RSA_get_ex_new_index(), RSA_set_ex_data() and RSA_get_ex_data() as
       described in RSA_get_ex_new_index(3).


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+--------------------------+
       |ATTRIBUTE TYPE |     ATTRIBUTE VALUE      |
       +---------------+--------------------------+
       |Availability   | library/security/openssl |
       +---------------+--------------------------+
       |Stability      | Pass-through uncommitted |
       +---------------+--------------------------+

NOTES
       This mechanism is used internally by the ssl library to store the SSL
       structure associated with a verification operation in an X509_STORE_CTX
       structure.

       Source code for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from
       https://www.openssl.org/source/openssl-1.0.2ze.tar.gz.

       Further information about this software can be found on the open source
       community website at https://www.openssl.org/.

SEE ALSO
       RSA_get_ex_new_index(3)

HISTORY
       X509_STORE_CTX_get_ex_new_index(), X509_STORE_CTX_set_ex_data() and
       X509_STORE_CTX_get_ex_data() are available since OpenSSL 0.9.5.




1.0.2ze                           2022-05-03
                                     X509_STORE_CTX_get_ex_new_index(3openssl)