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

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

SSL_state(3)

Contents


NAME    [Toc]    [Back]

       SSL_state - Get a description of an SSL state

SYNOPSIS    [Toc]    [Back]

       #include <openssl/ssl.h>

       int SSL_state(
               SSL *ssl ); char *SSL_state_string(
               SSL *ssl ); char *SSL_state_string_long(
               SSL *ssl );

DESCRIPTION    [Toc]    [Back]

       These  APIs are used to get the information about the current
 SSL state.

       The SSL_state() function takes the address of the  current
       SSL structure and return its state code (integer).

       The  SSL_state_string()  function takes the address of the
       current SSL structure and return an address of  its  state
       code (string).

       The  SSL_state_string_long() function takes the address of
       the current SSL structure and return  an  address  of  its
       state (human-readable string).

RETURN VALUES    [Toc]    [Back]

       The  SSL_state() function returns SSL status codes.  Indicates
 SSL CONNECT  state.   Indicates  SSL  ACCEPT  state.
       Indicates  SSL  MASK  state.   Indicates  SSL  INIT state.
       Indicates SSL  BEFORE  state.   Indicates  SSL  OK  state.
       Indicates SSL RENEGOTIATE state.

       The  SSL_state_string()  and SSL_state_string_long() functions
 return SSL state strings.

       [Return values by SSL_state_string()] | [Return values  by
       SSL_state_string_long()]  Indicates  that the SSL state is
       before SSL initialization.  Indicates that the  SSL  state
       is  before  accept initialization.  Indicates that the SSL
       state is before connect  initialization.   Indicates  that
       SSL negotiation finished successfully.  Indicates that SSL
       is renegotiating ciphers.  Indicates that the SSL state is
       before/connect  initialization.   Indicates ok/connect SSL
       initialization.   Indicates  that   the   SSL   state   is
       before/accept  initialization.   Indicates  that  the  SSL
       state is ok/accept  SSL  initialization.   Indicates  that
       SSLv2 is client starting encryption.  Indicates that SSLv2
       server is starting encryption.  Indicates  that  SSLv2  is
       writing  client  hello A.  Indicates that SSLv2 is writing
       client hello B.  Indicates that SSLv2  is  reading  server
       hello  A.  Indicates that SSLv2 is reading server hello B.
       Indicates that SSLv2  is  writing  client  master  key  A.
       Indicates  that  SSLv2  is  writing  client  master key B.
       Indicates that SSLv2 is writing client finished A.   Indicates
  that SSLv2 is writing client finished B.  Indicates
       that SSLv2 is writing  client  certificate  A.   Indicates
       that  SSLv2  is  writing  client certificate B.  Indicates
       that SSLv2 is writing  client  certificate  C.   Indicates
       that  SSLv2  is  writing  client certificate D.  Indicates
       that SSLv2 is reading server  verify  A.   Indicates  that
       SSLv2 is reading server verify B.  Indicates that SSLv2 is
       reading server finished A.  Indicates that SSLv2 is  reading
  server  finished  B.  Indicates that SSLv2 is reading
       client hello A.  Indicates that SSLv2  is  reading  client
       hello  B.  Indicates that SSLv2 is reading client hello C.
       Indicates that SSLv2 is writing server hello A.  Indicates
       that  SSLv2  is  writing  server  hello B.  Indicates that
       SSLv2 is reading client  master  key  A.   Indicates  that
       SSLv2  is  reading  client  master  key B.  Indicates that
       SSLv2 is writing server verify A.  Indicates that SSLv2 is
       writing  server verify B.  Indicates that SSLv2 is writing
       server verify C.  Indicates that SSLv2 is  reading  client
       finished  A.   Indicates that SSLv2 is reading client finished
 B.  Indicates that SSLv2 is writing server  finished
       A.   Indicates  that  SSLv2  is writing server finished B.
       Indicates that SSLv2 is  writing  request  certificate  A.
       Indicates  that  SSLv2  is  writing request certificate B.
       Indicates that SSLv2 is  writing  request  certificate  C.
       Indicates  that  SSLv2  is  writing request certificate D.
       Indicates that SSLv2 X509 is reading  server  certificate.
       Indicates  that  SSLv2 X509 is reading client certificate.
       Indicates that SSLv3 is  flushing  data.   Indicates  that
       SSLv3  is writing client hello A.  Indicates that SSLv3 is
       writing client hello B.  Indicates that SSLv3  is  reading
       server  hello  A.   Indicates that SSLv3 is reading server
       hello B.  Indicates that SSLv3 is reading server  certificate
  A.   Indicates that SSLv3 is reading server certificate
 B.   Indicates  that  SSLv3  is  reading  server  key
       exchange  A.   Indicates  that SSLv3 is reading server key
       exchange B.  Indicates that SSLv3 is reading  server  certificate
  request  A.   Indicates  that  SSLv3  is reading
       server certificate request B.   Indicates  that  SSLv3  is
       reading  server  done  A.  Indicates that SSLv3 is reading
       server done B.  Indicates that  SSLv3  is  writing  client
       certificate  A.   Indicates  that  SSLv3 is writing client
       certificate B.  Indicates that  SSLv3  is  writing  client
       certificate  C.   Indicates  that  SSLv3 is writing client
       certificate D.  Indicates that SSLv3 is writing client key
       exchange  A.   Indicates  that SSLv3 is writing client key
       exchange B.  Indicates that SSLv3 is  writing  certificate
       verify  A.   Indicates  that  SSLv3 is writing certificate
       verify B.  Indicates that SSLv3 is writing  change  cipher
       spec  A.   Indicates  that  SSLv3 is writing change cipher
       spec B.  Indicates  that  SSLv3  is  writing  finished  A.
       Indicates  that  SSLv3  is  writing finished B.  Indicates
       that SSLv3 is reading change  cipher  spec  A.   Indicates
       that  SSLv3  is  reading  change cipher spec B.  Indicates
       that SSLv3 is reading finished A.  Indicates that SSLv3 is
       reading finished B.  Indicates that SSLv3 is writing hello
       request A.  Indicates that SSLv3 is writing hello  request
       B.   Indicates  that  SSLv3  is  writing  hello request C.
       Indicates that SSLv3 is reading client hello A.  Indicates
       that  SSLv3  is  reading  client  hello B.  Indicates that
       SSLv3 is reading client hello C.  Indicates that SSLv3  is
       writing  server  hello A.  Indicates that SSLv3 is writing
       server hello B.  Indicates that SSLv3 is writing  certificate
  A.   Indicates  that SSLv3 is writing certificate B.
       Indicates that SSLv3 is writing key exchange A.  Indicates
       that  SSLv3  is  writing  key  exchange B.  Indicates that
       SSLv3 is writing certificate request  A.   Indicates  that
       SSLv3  is  writing  certificate request B.  Indicates that
       SSLv3 is writing server done A.  Indicates that  SSLv3  is
       writing  server  done  B.  Indicates that SSLv3 is reading
       client certificate A.  Indicates  that  SSLv3  is  reading
       client  certificate  B.   Indicates  that SSLv3 is reading
       client key exchange A.  Indicates that  SSLv3  is  reading
       client  key  exchange  B.  Indicates that SSLv3 is reading
       certificate verify A.  Indicates  that  SSLv3  is  reading
       certificate  verify B.  Indicates that SSLv2/v3 is writing
       client hello A.  Indicates that SSLv2/v3 is writing client
       hello  B.  Indicates that SSLv2/v3 is reading server hello
       A.  Indicates that SSLv2/v3 is  reading  server  hello  B.
       Indicates  that SSLv2/v3 is reading client hello A.  Indicates
 that SSLv2/v3 is reading client hello B.   Indicates
       that the SSL state is unknown.

SEE ALSO    [Toc]    [Back]

      
      
       SSL_state_string(3)



                                                     SSL_state(3)
[ Back ]
 Similar pages
Name OS Title
SSL_state_string OpenBSD get textual description of state of an SSL object
SSL_state_string NetBSD get textual description of state of an SSL object
SSL_state_string_long OpenBSD get textual description of state of an SSL object
SSL_state_string Tru64 Get textual description of state of an SSL object
SSL_state_string_long Tru64 Get textual description of state of an SSL object
SSL_rstate_string NetBSD get textual description of state of an SSL object during read operation
SSL_rstate_string OpenBSD get textual description of state of an SSL object during read operation
SSL_rstate_string_long OpenBSD get textual description of state of an SSL object during read operation
SSL_rstate_string Tru64 Get textual description of state of an SSL object during read operation
SSL_rstate_string_long Tru64 Get textual description of state of an SSL object during read operation
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service