doc_mainpage.h 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. /**
  2. * \file doc_mainpage.h
  3. *
  4. * \brief Main page documentation file.
  5. */
  6. /*
  7. *
  8. * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
  9. * SPDX-License-Identifier: Apache-2.0
  10. *
  11. * Licensed under the Apache License, Version 2.0 (the "License"); you may
  12. * not use this file except in compliance with the License.
  13. * You may obtain a copy of the License at
  14. *
  15. * http://www.apache.org/licenses/LICENSE-2.0
  16. *
  17. * Unless required by applicable law or agreed to in writing, software
  18. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  19. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  20. * See the License for the specific language governing permissions and
  21. * limitations under the License.
  22. *
  23. * This file is part of mbed TLS (https://tls.mbed.org)
  24. */
  25. /**
  26. * @mainpage mbed TLS v2.16.5 source code documentation
  27. *
  28. * This documentation describes the internal structure of mbed TLS. It was
  29. * automatically generated from specially formatted comment blocks in
  30. * mbed TLS's source code using Doxygen. (See
  31. * http://www.stack.nl/~dimitri/doxygen/ for more information on Doxygen)
  32. *
  33. * mbed TLS has a simple setup: it provides the ingredients for an SSL/TLS
  34. * implementation. These ingredients are listed as modules in the
  35. * \ref mainpage_modules "Modules section". This "Modules section" introduces
  36. * the high-level module concepts used throughout this documentation.\n
  37. * Some examples of mbed TLS usage can be found in the \ref mainpage_examples
  38. * "Examples section".
  39. *
  40. * @section mainpage_modules Modules
  41. *
  42. * mbed TLS supports SSLv3 up to TLSv1.2 communication by providing the
  43. * following:
  44. * - TCP/IP communication functions: listen, connect, accept, read/write.
  45. * - SSL/TLS communication functions: init, handshake, read/write.
  46. * - X.509 functions: CRT, CRL and key handling
  47. * - Random number generation
  48. * - Hashing
  49. * - Encryption/decryption
  50. *
  51. * Above functions are split up neatly into logical interfaces. These can be
  52. * used separately to provide any of the above functions or to mix-and-match
  53. * into an SSL server/client solution that utilises a X.509 PKI. Examples of
  54. * such implementations are amply provided with the source code.
  55. *
  56. * Note that mbed TLS does not provide a control channel or (multiple) session
  57. * handling without additional work from the developer.
  58. *
  59. * @section mainpage_examples Examples
  60. *
  61. * Example server setup:
  62. *
  63. * \b Prerequisites:
  64. * - X.509 certificate and private key
  65. * - session handling functions
  66. *
  67. * \b Setup:
  68. * - Load your certificate and your private RSA key (X.509 interface)
  69. * - Setup the listening TCP socket (TCP/IP interface)
  70. * - Accept incoming client connection (TCP/IP interface)
  71. * - Initialise as an SSL-server (SSL/TLS interface)
  72. * - Set parameters, e.g. authentication, ciphers, CA-chain, key exchange
  73. * - Set callback functions RNG, IO, session handling
  74. * - Perform an SSL-handshake (SSL/TLS interface)
  75. * - Read/write data (SSL/TLS interface)
  76. * - Close and cleanup (all interfaces)
  77. *
  78. * Example client setup:
  79. *
  80. * \b Prerequisites:
  81. * - X.509 certificate and private key
  82. * - X.509 trusted CA certificates
  83. *
  84. * \b Setup:
  85. * - Load the trusted CA certificates (X.509 interface)
  86. * - Load your certificate and your private RSA key (X.509 interface)
  87. * - Setup a TCP/IP connection (TCP/IP interface)
  88. * - Initialise as an SSL-client (SSL/TLS interface)
  89. * - Set parameters, e.g. authentication mode, ciphers, CA-chain, session
  90. * - Set callback functions RNG, IO
  91. * - Perform an SSL-handshake (SSL/TLS interface)
  92. * - Verify the server certificate (SSL/TLS interface)
  93. * - Write/read data (SSL/TLS interface)
  94. * - Close and cleanup (all interfaces)
  95. */