Deleted Added
sdiff udiff text old ( 59191 ) new ( 68651 )
full compact
1
2=pod
3
4=head1 NAME
5
6SSL - OpenSSL SSL/TLS library
7
8=head1 SYNOPSIS

--- 69 unchanged lines hidden (view full) ---

78=item B<SSL_CTX> (SSL Context)
79
80That's the global context structure which is created by a server or client
81once per program life-time and which holds mainly default values for the
82B<SSL> structures which are later created for the connections.
83
84=item B<SSL_SESSION> (SSL Session)
85
86This is a structure containing the current SSL session details for a
87connection: B<SSL_CIPHER>s, client and server certificates, keys, etc.
88
89=item B<SSL> (SSL Connection)
90
91That's the main SSL/TLS structure which is created by a server or client per
92established connection. This actually is the core structure in the SSL API.
93Under run-time the application usually deals with this structure which has
94links to mostly all other structures.

--- 63 unchanged lines hidden (view full) ---

158readable description of I<cipher>. Returns I<buf>.
159
160=item int B<SSL_CIPHER_get_bits>(SSL_CIPHER *cipher, int *alg_bits);
161
162Determine the number of bits in I<cipher>. Because of export crippled ciphers
163there are two bits: The bits the algorithm supports in general (stored to
164I<alg_bits>) and the bits which are actually used (the return value).
165
166=item char *B(SSL_CIPHER *cipher);
167
168Return the internal name of I<cipher> as a string. These are the various
169strings defined by the I<SSL2_TXT_xxx>, I<SSL3_TXT_xxx> and I<TLS1_TXT_xxx>
170definitions in the header files.
171
172=item char *B<SSL_CIPHER_get_version>(SSL_CIPHER *cipher);
173
174Returns a string like "C<TLSv1/SSLv3>" or "C<SSLv2>" which indicates the

--- 257 unchanged lines hidden (view full) ---

432=item void B<SSL_free>(SSL *ssl);
433
434=item SSL_CTX *B<SSL_get_SSL_CTX>(SSL *ssl);
435
436=item char *B<SSL_get_app_data>(SSL *ssl);
437
438=item X509 *B<SSL_get_certificate>(SSL *ssl);
439
440=item SSL_CIPHER *B<SSL_get_cipher>(SSL *ssl);
441
442=item int B<SSL_get_cipher_bits>(SSL *ssl, int *alg_bits);
443
444=item char *B<SSL_get_cipher_list>(SSL *ssl, int n);
445
446=item char *B<SSL_get_cipher_name>(SSL *ssl);
447
448=item char *B<SSL_get_cipher_version>(SSL *ssl);

--- 170 unchanged lines hidden (view full) ---

619
620=item int B<SSL_write>(SSL *ssl, char *buf, int num);
621
622=back
623
624=head1 SEE ALSO
625
626L<openssl(1)|openssl(1)>, L<crypto(3)|crypto(3)>,
627L<SSL_get_error(3)|SSL_get_error(3)>
628
629=head1 HISTORY
630
631The L<ssl(3)|ssl(3)> document appeared in OpenSSL 0.9.2
632
633=cut
634