OLD | NEW |
1 =pod | 1 =pod |
2 | 2 |
3 =head1 NAME | 3 =head1 NAME |
4 | 4 |
5 SSL_CTX_new - create a new SSL_CTX object as framework for TLS/SSL enabled funct
ions | 5 SSL_CTX_new - create a new SSL_CTX object as framework for TLS/SSL enabled funct
ions |
6 | 6 |
7 =head1 SYNOPSIS | 7 =head1 SYNOPSIS |
8 | 8 |
9 #include <openssl/ssl.h> | 9 #include <openssl/ssl.h> |
10 | 10 |
11 SSL_CTX *SSL_CTX_new(SSL_METHOD *method); | 11 SSL_CTX *SSL_CTX_new(const SSL_METHOD *method); |
12 | 12 |
13 =head1 DESCRIPTION | 13 =head1 DESCRIPTION |
14 | 14 |
15 SSL_CTX_new() creates a new B<SSL_CTX> object as framework to establish | 15 SSL_CTX_new() creates a new B<SSL_CTX> object as framework to establish |
16 TLS/SSL enabled connections. | 16 TLS/SSL enabled connections. |
17 | 17 |
18 =head1 NOTES | 18 =head1 NOTES |
19 | 19 |
20 The SSL_CTX object uses B<method> as connection method. The methods exist | 20 The SSL_CTX object uses B<method> as connection method. The methods exist |
21 in a generic type (for client and server use), a server only type, and a | 21 in a generic type (for client and server use), a server only type, and a |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 The return value points to an allocated SSL_CTX object. | 85 The return value points to an allocated SSL_CTX object. |
86 | 86 |
87 =back | 87 =back |
88 | 88 |
89 =head1 SEE ALSO | 89 =head1 SEE ALSO |
90 | 90 |
91 L<SSL_CTX_free(3)|SSL_CTX_free(3)>, L<SSL_accept(3)|SSL_accept(3)>, | 91 L<SSL_CTX_free(3)|SSL_CTX_free(3)>, L<SSL_accept(3)|SSL_accept(3)>, |
92 L<ssl(3)|ssl(3)>, L<SSL_set_connect_state(3)|SSL_set_connect_state(3)> | 92 L<ssl(3)|ssl(3)>, L<SSL_set_connect_state(3)|SSL_set_connect_state(3)> |
93 | 93 |
94 =cut | 94 =cut |
OLD | NEW |