Manual Pages for UNIX Darwin command on man SSL_SESSION_get_ex_data
MyWebUniversity

Manual Pages for UNIX Darwin command on man SSL_SESSION_get_ex_data

SSLSESSIONgetexnewindex(3) OpenSSL SSLSESSIONgetexnewindex(3)

NAME

SSLSESSIONgetexnewindex, SSLSESSIONsetexdata,

SSLSESSIONgetexdata - internal application specific data functions

SYNOPSIS

#include

int SSLSESSIONgetexnewindex(long argl, void *argp, CRYPTOEXnew *newfunc, CRYPTOEXdup *dupfunc, CRYPTOEXfree *freefunc); int SSLSESSIONsetexdata(SSLSESSION *session, int idx, void *arg); void *SSLSESSIONgetexdata(const SSLSESSION *session, 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. SSLSESSIONgetexnewindex() is used to register a new index for application specific data. SSLSESSIONsetexdata() is used to store application data at aarrgg for iiddxx into the sseessssiioonn object. SSLSESSIONgetexdata() is used to retrieve the information for iiddxx from sseessssiioonn. A detailed description for the **ggeetteexxnneewwiinnddeexx(()) functionality can be found in RSAgetexnewindex(3). The **ggeetteexxddaattaa(()) and **sseetteexxddaattaa(()) functionality is described in CRYPTOsetexdata(3). WWAARRNNIINNGGSS The application data is only maintained for sessions held in memory. The application data is not included when dumping the session with i2dSSLSESSION() (and all functions indirectly calling the dump functions like PEMwriteSSLSESSION() and PEMwritebioSSLSESSION()) and can therefore not be restored.

SEE ALSO

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

0.9.7l 2005-03-30 SSLSESSIONgetexnewindex(3)




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