Manual Pages for UNIX Darwin command on man SSL_get_ex_new_index
MyWebUniversity

Manual Pages for UNIX Darwin command on man SSL_get_ex_new_index

SSLgetexnewindex(3) OpenSSL SSLgetexnewindex(3)

NAME

SSLgetexnewindex, SSLsetexdata, SSLgetexdata - internal

application specific data functions

SYNOPSIS

#include

int SSLgetexnewindex(long argl, void *argp, CRYPTOEXnew *newfunc, CRYPTOEXdup *dupfunc, CRYPTOEXfree *freefunc); int SSLsetexdata(SSL *ssl, int idx, void *arg); void *SSLgetexdata(const SSL *ssl, int idx); typedef int newfunc(void *parent, void *ptr, CRYPTOEXDATA *ad, int idx, long argl, void *argp); typedef void freefunc(void *parent, void *ptr, CRYPTOEXDATA *ad, int idx, long argl, void *argp); typedef int dupfunc(CRYPTOEXDATA *to, CRYPTOEXDATA *from, void *fromd, int idx, long argl, void *argp);

DESCRIPTION

Several OpenSSL structures can have application specific data attached to them. These functions are used internally by OpenSSL to manipulate application specific data attached to a specific structure. SSLgetexnewindex() is used to register a new index for application specific data. SSLsetexdata() is used to store application data at aarrgg for iiddxx into the ssssll object. SSLgetexdata() is used to retrieve the information for iiddxx from ssssll. A detailed description for the **ggeetteexxnneewwiinnddeexx(()) functionality can be found in RSAgetexnewindex(3). The **ggeetteexxddaattaa(()) and **sseetteexxddaattaa(()) functionality is described in CRYPTOsetexdata(3). EEXXAAMMPPLLEESS An example on how to use the functionality is included in the example verifycallback() in SSLCTXsetverify(3).

SEE ALSO

ssl(3), RSAgetexnewindex(3), CRYPTOsetexdata(3), SSLCTXsetverify(3)

0.9.7l 2005-03-30 SSLgetexnewindex(3)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™