SSL_CTX_set_purpose man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

SSL_CTX_set_purpose(3)					SSL_CTX_set_purpose(3)

NAME
       SSL_CTX_set_purpose - Set a purpose value to the SSL_CTX structure

SYNOPSIS
       #include	 <openssl/ssl.h> #include <openssl/x509v3.h>(to use the macros
       for purpose values)

       int SSL_CTX_set_purpose(
	       SSL_CTX *s,
	       int purpose );

DESCRIPTION
       The SSL_CTX_set_purpose() function sets a purpose value in the  SSL_CTX
       structure.  The purpose values and their macros are defined in x509v3.h
       as  follows:  #define  X509_PURPOSE_SSL_CLIENT  1   #define   X509_PUR‐
       POSE_SSL_SERVER	 2   #define   X509_PURPOSE_NS_SSL_SERVER   3  #define
       X509_PURPOSE_SMIME_SIGN 4 #define X509_PURPOSE_SMIME_ENCRYPT 5  #define
       X509_PURPOSE_CRL_SIGN 6 #define X509_PURPOSE_ANY 7

       The  purpose value must be between 1 and 7. If an out-of-range value is
       passed, the SSL_CTX_set_purpose() function returns 0. Upon  success,  1
       is returned.

RETURN VALUES
       The  following return values can occur: Seting the purpose value in the
       SSL_CTX structure was failed.  The purpose value was  successfully  set
       in the SSL_CTX structure.

SEE ALSO
       Functions: SSL_set_purpose(3)

							SSL_CTX_set_purpose(3)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net