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

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

SSL_ctrl(3)

Contents


NAME    [Toc]    [Back]

       SSL_ctrl  -  Performs an operation (get or set information
       in SSL) for the SSL structure

SYNOPSIS    [Toc]    [Back]

       #include <openssl/ssl.h>

       long SSL_ctrl(
               SSL *s,
               int cmd,
               long larg,
               char *parg );

DESCRIPTION    [Toc]    [Back]

       The SSL_ctrl() function performs an operation (get or  set
       information  in  SSL)  for  the  SSL structure. The second
       argument cmd accepts the macros in the following table:

    Table 1: Macros for cmd""
       ------------------------------------------------------------------------
                                            SSLv2   SSLv3                TLSv1
       ------------------------------------------------------------------------
       SSL_CTRL_GET_READ_AHEAD              YES     YES                  YES
       SSL_CTRL_SET_READ_AHEAD              YES     YES                  YES
       SSL_CTRL_OPTIONS                     YES     YES                  YES
       SSL_CTRL_MODE                        YES     YES                  YES
       SSL_CTRL_GET_SESSION_REUSED          YES     YES                  NO
       SSL_CTRL_GET_CLIENT_CERT_REQUEST     NO      YES                  NO
       SSL_CTRL_GET_NUM_RENEGOTIATIONS      NO      YES                  NO
       SSL_CTRL_CLEAR_NUM_RENEGOTIATIONS    NO      YES                  NO
       SSL_CTRL_GET_TOTAL_RENEGOTIATIONS    NO      YES                  NO
       SSL_CTRL_GET_FLAGS                   NO      YES                  NO
       SSL_CTRL_NEED_TMP_RSA                NO      YES(#ifndef          NO
                                                    NO_RSA)
       SSL_CTRL_SET_TMP_RSA                 NO      YES(#ifndef          NO
                                                    NO_RSA)
       SSL_CTRL_SET_TMP_RSA_CB              NO      YES(#ifndef          NO
                                                    NO_RSA)
       SSL_CTRL_SET_TMP_DH                  NO      YES(#ifndef NO_DH)   NO
       SSL_CTRL_SET_TMP_DH_CB               NO      YES(#ifndef NO_DH)   NO
       ------------------------------------------------------------------------

RETURN VALUES    [Toc]    [Back]

       The SSL_ctrl() function returns a long. The  return  value
       depends on the type of command cmd passed to this API.

SEE ALSO    [Toc]    [Back]

      
      
       Functions:      SSL_CTX_ctrl(3),     SSL_callback_ctrl(3),
       SSL_CTX_callback_ctrl(3)



                                                      SSL_ctrl(3)
[ Back ]
 Similar pages
Name OS Title
SSL_callback_ctrl Tru64 Perform an operation (get or set information in SSL) for the SSL structure
sem_wait Tru64 Performs (or conditionally performs) a semaphore lock (P1003.1b)
sem_trywait Tru64 Performs (or conditionally performs) a semaphore lock (P1003.1b)
SSL_want Tru64 Obtain state information TLS/SSL I/O operation
SSL_want_x509_lookup OpenBSD obtain state information TLS/SSL I/O operation
SSL_want_read OpenBSD obtain state information TLS/SSL I/O operation
SSL_want_nothing OpenBSD obtain state information TLS/SSL I/O operation
SSL_want OpenBSD obtain state information TLS/SSL I/O operation
SSL_want NetBSD obtain state information TLS/SSL I/O operation
SSL_want_write Tru64 Obtain state information TLS/SSL I/O operation
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service