*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> SSL_SESSION_get_ex_new_index (3)              
Title
Content
Arch
Section
 

SSL_SESSION_get_ex_new_index(3)

Contents


NAME    [Toc]    [Back]

       SSL_SESSION_get_ex_new_index,     SSL_SESSION_set_ex_data,
       SSL_SESSION_get_ex_data -  Unternal  application  specific
       data functions

SYNOPSIS    [Toc]    [Back]

       #include <openssl/ssl.h>

       int SSL_SESSION_get_ex_new_index(
               long  argl,  void  *argp, CRYPTO_EX_new *new_func,
       CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func );  int
       SSL_SESSION_set_ex_data(
               SSL_SESSION  *session,  int idx, void *arg ); void
       *SSL_SESSION_get_ex_data(
               SSL_SESSION  *session,  int  idx  );  typedef  int
       new_func(
               void  *parent,  void *ptr, CRYPTO_EX_DATA *ad, int
       idx, long argl, void *argp ); typedef void free_func(
               oid *parent, void *ptr,  CRYPTO_EX_DATA  *ad,  int
       idx, long argl, void *argp ); typedef int dup_func(
               CRYPTO_EX_DATA  *to,  CRYPTO_EX_DATA  *from,  void
       *from_d,                  int idx, long argl,  void  *argp
       );

DESCRIPTION    [Toc]    [Back]

       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.

       The SSL_SESSION_get_ex_new_index()  function  is  used  to
       register a new index for application specific data.

       The  SSL_SESSION_set_ex_data()  function  is used to store
       application data at arg for idx into the session object.

       The SSL_SESSION_get_ex_data() function is used to retrieve
       the information for idx from session.

       A  detailed description for the *_get_ex_new_index() functionality
 can  be  found  in  RSA_get_ex_new_index().  The
       *_get_ex_data()   and   *_set_ex_data()  functionality  is
       described in CRYPTO_set_ex_data().

RESTRICTIONS    [Toc]    [Back]

       The application data is only maintained for sessions  held
       in  memory.   The  application  data  is not included when
       dumping the session with the  i2d_SSL_SESSION()  function,
       as well as all functions indirectly calling the dump functions,
   such   as   the    PEM_write_SSL_SESSION()    and
       PEM_write_bio_SSL_SESSION()functions.    It   cannot    be
       restored.

SEE ALSO    [Toc]    [Back]

      
      
       Functions:        ssl(3),         RSA_get_ex_new_index(3),
       CRYPTO_set_ex_data(3)



                                  SSL_SESSION_get_ex_new_index(3)
[ Back ]
 Similar pages
Name OS Title
CRYPTO_set_ex_data OpenBSD internal application specific data functions
SSL_CTX_get_ex_data Tru64 Internal application specific data functions
SSL_CTX_get_ex_new_index Tru64 Internal application specific data functions
SSL_get_ex_new_index NetBSD internal application specific data functions
SSL_SESSION_get_ex_new_index NetBSD internal application specific data functions
SSL_get_ex_data OpenBSD internal application specific data functions
SSL_CTX_set_ex_data Tru64 Internal application specific data functions
CRYPTO_set_ex_data NetBSD internal application specific data functions
SSL_get_ex_new_index OpenBSD internal application specific data functions
SSL_set_ex_data OpenBSD internal application specific data functions
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service