bio.pod 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. =pod
  2. =head1 NAME
  3. bio - I/O abstraction
  4. =head1 SYNOPSIS
  5. #include <openssl/bio.h>
  6. TBA
  7. =head1 DESCRIPTION
  8. A BIO is an I/O abstraction, it hides many of the underlying I/O
  9. details from an application. If an application uses a BIO for its
  10. I/O it can transparently handle SSL connections, unencrypted network
  11. connections and file I/O.
  12. There are two type of BIO, a source/sink BIO and a filter BIO.
  13. As its name implies a source/sink BIO is a source and/or sink of data,
  14. examples include a socket BIO and a file BIO.
  15. A filter BIO takes data from one BIO and passes it through to
  16. another, or the application. The data may be left unmodified (for
  17. example a message digest BIO) or translated (for example an
  18. encryption BIO). The effect of a filter BIO may change according
  19. to the I/O operation it is performing: for example an encryption
  20. BIO will encrypt data if it is being written to and decrypt data
  21. if it is being read from.
  22. BIOs can be joined together to form a chain (a single BIO is a chain
  23. with one component). A chain normally consist of one source/sink
  24. BIO and one or more filter BIOs. Data read from or written to the
  25. first BIO then traverses the chain to the end (normally a source/sink
  26. BIO).
  27. =head1 SEE ALSO
  28. L<BIO_ctrl(3)|BIO_ctrl(3)>,
  29. L<BIO_f_base64(3)|BIO_f_base64(3)>, L<BIO_f_buffer(3)|BIO_f_buffer(3)>,
  30. L<BIO_f_cipher(3)|BIO_f_cipher(3)>, L<BIO_f_md(3)|BIO_f_md(3)>,
  31. L<BIO_f_null(3)|BIO_f_null(3)>, L<BIO_f_ssl(3)|BIO_f_ssl(3)>,
  32. L<BIO_find_type(3)|BIO_find_type(3)>, L<BIO_new(3)|BIO_new(3)>,
  33. L<BIO_new_bio_pair(3)|BIO_new_bio_pair(3)>,
  34. L<BIO_push(3)|BIO_push(3)>, L<BIO_read(3)|BIO_read(3)>,
  35. L<BIO_s_accept(3)|BIO_s_accept(3)>, L<BIO_s_bio(3)|BIO_s_bio(3)>,
  36. L<BIO_s_connect(3)|BIO_s_connect(3)>, L<BIO_s_fd(3)|BIO_s_fd(3)>,
  37. L<BIO_s_file(3)|BIO_s_file(3)>, L<BIO_s_mem(3)|BIO_s_mem(3)>,
  38. L<BIO_s_null(3)|BIO_s_null(3)>, L<BIO_s_socket(3)|BIO_s_socket(3)>,
  39. L<BIO_set_callback(3)|BIO_set_callback(3)>,
  40. L<BIO_should_retry(3)|BIO_should_retry(3)>