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

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

SSL_get_verify_result(3)

Contents


NAME    [Toc]    [Back]

       SSL_get_verify_result  -  Get  result  of peer certificate
       verification

SYNOPSIS    [Toc]    [Back]

       #include <openssl/ssl.h>

       long SSL_get_verify_result(
               SSL *ssl );

DESCRIPTION    [Toc]    [Back]

       The SSL_get_verify_result() function returns the result of
       the  verification of the X509 certificate presented by the
       peer, if any.

NOTES    [Toc]    [Back]

       The SSL_get_verify_result() function can only  return  one
       error  code  while  the  verification of a certificate can
       fail because of many reasons at the same  time.  Only  the
       last  verification error that occurred during the processing
 is available from SSL_get_verify_result().

       The verification result is part of the established session
       and is restored when a session is reused.

RESTRICTIONS    [Toc]    [Back]

       If  no peer certificate was presented, the returned result
       code is X509_V_OK.  This is because no verification  error
       occurred;  it does not indicate success.  The SSL_get_verify_result()
 function is only useful  in  connection  with
       the SSL_get_peer_certificate() function.

RETURN VALUES    [Toc]    [Back]

       The following return values can currently occur: The verification
 succeeded or no peer certificate  was  presented.
       Documented in verify(1).

SEE ALSO    [Toc]    [Back]

      
      
       Commands: verify(1)

       Functions:        ssl(3),        SSL_set_verify_result(3),
       SSL_get_peer_certificate(3),



                                         SSL_get_verify_result(3)
[ Back ]
 Similar pages
Name OS Title
SSL_set_verify_result Tru64 Override result of peer certificate verification
SSL_set_verify_result OpenBSD override result of peer certificate verification
SSL_set_verify_result NetBSD override result of peer certificate verification
SSL_set_verify_depth OpenBSD set peer certificate verification parameters
SSL_CTX_set_cert_verify_callback NetBSD set peer certificate verification procedure
SSL_CTX_set_verify_depth Tru64 Set peer certificate verification parameters
SSL_CTX_set_verify_depth OpenBSD set peer certificate verification parameters
SSL_CTX_set_verify NetBSD set peer certificate verification parameters
SSL_set_verify Tru64 Set peer certificate verification parameters
SSL_CTX_set_verify Tru64 Set peer certificate verification parameters
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service