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

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

SSL_set_trust(3)

Contents


NAME    [Toc]    [Back]

       SSL_set_trust - sets a trust value to the SSL structure

SYNOPSIS    [Toc]    [Back]

       #include  <openssl/ssl.h> #include <openssl/x509.h>(to use
       the macros of trust values)

       int SSL_set_trust(
               SSL *s,
               int trust );

DESCRIPTION    [Toc]    [Back]

       The SSL_set_trust() function sets a trust value in the SSL
       structure.   The trust values and their macros are defined
       in  x509v3.h  as  follows:  #define  X509_TRUST_COMPAT   1
       #define        X509_TRUST_SSL_CLIENT       2       #define
       X509_TRUST_SSL_SERVER 3 #define X509_TRUST_EMAIL 4 #define
       X509_TRUST_OBJECT_SIGN 5

       The  trust  value  must be between 1 and 5.  If an out-ofrange
  value  is  passed,  the  SSL_set_trust()   function
       returns 0.  Upon success, 1 is returned.

RETURN VALUES    [Toc]    [Back]

       The following return values can occur: The trust value was
       successfully set in the SSL structure.  Seting  the  trust
       value in the SSL structure failed.

SEE ALSO    [Toc]    [Back]

      
      
       Functions: SSL_CTX_set_trust(3)



                                                 SSL_set_trust(3)
[ Back ]
 Similar pages
Name OS Title
SSL_CTX_set_trust Tru64 Set a trust value to the SSL_CTX structure
SSL_set_read_ahead Tru64 sets the read-ahead flag in the SSL structure.
XmClipboardStartCopy IRIX A clipboard function that sets up a storage and data structure
XmClipboardStartCopy Tru64 A clipboard function that sets up a storage and data structure
XmClipboardStartCopy HP-UX A clipboard function that sets up a storage and data structure
ALgetconfig IRIX (obsolete) get/set the ALconfig structure of an audio ALport structure
keynote OpenBSD a trust-management system
kn_encode_hex OpenBSD a trust-management system library
kn_encode_base64 OpenBSD a trust-management system library
kn_init OpenBSD a trust-management system library
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service