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 TLS/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 const char *B<SSL_CIPHER_get_name>(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 const char *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_accept(3)|SSL_accept(3)>, L<SSL_clear(3)|SSL_clear(3)>, 628L<SSL_connect(3)|SSL_connect(3)>, L<SSL_CTX_new(3)|SSL_CTX_new(3)>, 629L<SSL_CTX_set_ssl_version(3)|SSL_CTX_set_ssl_version(3)>, 630L<SSL_get_ciphers(3)|SSL_get_ciphers(3)>, 631L<SSL_get_error(3)|SSL_get_error(3)>, L<SSL_get_fd(3)|SSL_get_fd(3)>, 632L<SSL_get_peer_cert_chain(3)|SSL_get_peer_cert_chain(3)>, 633L<SSL_get_rbio(3)|SSL_get_rbio(3)>, 634L<SSL_get_session(3)|SSL_get_session(3)>, 635L<SSL_get_verify_result(3)|SSL_get_verify_result(3)>, 636L<SSL_library_init(3)|SSL_library_init(3)>, L<SSL_new(3)|SSL_new(3)>, 637L<SSL_read(3)|SSL_read(3)>, L<SSL_set_bio(3)|SSL_set_bio(3)>, 638L<SSL_set_fd(3)|SSL_set_fd(3)>, L<SSL_pending(3)|SSL_pending(3)>, 639L<SSL_set_session(3)|SSL_set_session(3)>, 640L<SSL_shutdown(3)|SSL_shutdown(3)>, L<SSL_write(3)|SSL_write(3)>, 641L<SSL_SESSION_free(3)|SSL_SESSION_free(3)> |
642 643=head1 HISTORY 644 645The L<ssl(3)|ssl(3)> document appeared in OpenSSL 0.9.2 646 647=cut 648 |