Org.Mentalis.Security.Cryptography.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. <?xml version="1.0"?>
  2. <doc>
  3. <assembly>
  4. <name>Org.Mentalis.Security.Cryptography</name>
  5. </assembly>
  6. <members>
  7. <member name="T:Org.Mentalis.Security.Cryptography.DHKeyGeneration">
  8. <summary>
  9. Defines the different Diffie-Hellman key generation methods.
  10. </summary>
  11. </member>
  12. <member name="F:Org.Mentalis.Security.Cryptography.DHKeyGeneration.Random">
  13. <summary>
  14. Returns dynamically generated values for P and G. Unlike the Sophie Germain or DSA key generation methods,
  15. this method does not ensure that the selected prime offers an adequate security level.
  16. </summary>
  17. </member>
  18. <member name="F:Org.Mentalis.Security.Cryptography.DHKeyGeneration.Static">
  19. <summary>
  20. Returns values for P and G that are hard coded in this library. Contrary to what your intuition may tell you,
  21. using these hard coded values is perfectly safe.
  22. The values of the P and G parameters are taken from 'The OAKLEY Key Determination Protocol' [RFC2412].
  23. This is the prefered key generation method, because it is very fast and very safe.
  24. Because this method uses fixed values for the P and G parameters, not all bit sizes are supported.
  25. The current implementation supports bit sizes of 768, 1024 and 1536.
  26. </summary>
  27. </member>
  28. <member name="T:Org.Mentalis.Security.Cryptography.DHParameters">
  29. <summary>
  30. Represents the parameters of the Diffie-Hellman algorithm.
  31. </summary>
  32. </member>
  33. <member name="F:Org.Mentalis.Security.Cryptography.DHParameters.P">
  34. <summary>
  35. Represents the public <b>P</b> parameter of the Diffie-Hellman algorithm.
  36. </summary>
  37. </member>
  38. <member name="F:Org.Mentalis.Security.Cryptography.DHParameters.G">
  39. <summary>
  40. Represents the public <b>G</b> parameter of the Diffie-Hellman algorithm.
  41. </summary>
  42. </member>
  43. <member name="F:Org.Mentalis.Security.Cryptography.DHParameters.X">
  44. <summary>
  45. Represents the private <b>X</b> parameter of the Diffie-Hellman algorithm.
  46. </summary>
  47. </member>
  48. <member name="T:Org.Mentalis.Security.Cryptography.DiffieHellman">
  49. <summary>
  50. Defines a base class from which all Diffie-Hellman implementations inherit.
  51. </summary>
  52. </member>
  53. <member name="M:Org.Mentalis.Security.Cryptography.DiffieHellman.Create">
  54. <summary>
  55. Creates an instance of the default implementation of the <see cref="T:Org.Mentalis.Security.Cryptography.DiffieHellman"/> algorithm.
  56. </summary>
  57. <returns>A new instance of the default implementation of DiffieHellman.</returns>
  58. </member>
  59. <member name="M:Org.Mentalis.Security.Cryptography.DiffieHellman.Create(System.String)">
  60. <summary>
  61. Creates an instance of the specified implementation of <see cref="T:Org.Mentalis.Security.Cryptography.DiffieHellman"/>.
  62. </summary>
  63. <param name="algName">The name of the implementation of DiffieHellman to use.</param>
  64. <returns>A new instance of the specified implementation of DiffieHellman.</returns>
  65. </member>
  66. <member name="M:Org.Mentalis.Security.Cryptography.DiffieHellman.#ctor">
  67. <summary>
  68. Initializes a new <see cref="T:Org.Mentalis.Security.Cryptography.DiffieHellman"/> instance.
  69. </summary>
  70. </member>
  71. <member name="M:Org.Mentalis.Security.Cryptography.DiffieHellman.CreateKeyExchange">
  72. <summary>
  73. When overridden in a derived class, creates the key exchange data.
  74. </summary>
  75. <returns>The key exchange data to be sent to the intended recipient.</returns>
  76. </member>
  77. <member name="M:Org.Mentalis.Security.Cryptography.DiffieHellman.DecryptKeyExchange(System.Byte[])">
  78. <summary>
  79. When overridden in a derived class, extracts secret information from the key exchange data.
  80. </summary>
  81. <param name="keyEx">The key exchange data within which the secret information is hidden.</param>
  82. <returns>The secret information derived from the key exchange data.</returns>
  83. </member>
  84. <member name="M:Org.Mentalis.Security.Cryptography.DiffieHellman.ExportParameters(System.Boolean)">
  85. <summary>
  86. When overridden in a derived class, exports the <see cref="T:Org.Mentalis.Security.Cryptography.DHParameters"/>.
  87. </summary>
  88. <param name="includePrivate"><b>true</b> to include private parameters; otherwise, <b>false</b>.</param>
  89. <returns>The parameters for Diffie-Hellman.</returns>
  90. </member>
  91. <member name="M:Org.Mentalis.Security.Cryptography.DiffieHellman.ImportParameters(Org.Mentalis.Security.Cryptography.DHParameters)">
  92. <summary>
  93. When overridden in a derived class, imports the specified <see cref="T:Org.Mentalis.Security.Cryptography.DHParameters"/>.
  94. </summary>
  95. <param name="parameters">The parameters for Diffie-Hellman.</param>
  96. </member>
  97. <member name="M:Org.Mentalis.Security.Cryptography.DiffieHellman.FromXmlString(System.String)">
  98. <summary>
  99. Reconstructs a <see cref="T:Org.Mentalis.Security.Cryptography.DiffieHellman"/> object from an XML string.
  100. </summary>
  101. <param name="xmlString">The XML string to use to reconstruct the DiffieHellman object.</param>
  102. <exception cref="T:System.Security.Cryptography.CryptographicException">One of the values in the XML string is invalid.</exception>
  103. </member>
  104. <member name="M:Org.Mentalis.Security.Cryptography.DiffieHellman.ToXmlString(System.Boolean)">
  105. <summary>
  106. Creates and returns an XML string representation of the current <see cref="T:Org.Mentalis.Security.Cryptography.DiffieHellman"/> object.
  107. </summary>
  108. <param name="includePrivateParameters"><b>true</b> to include private parameters; otherwise, <b>false</b>.</param>
  109. <returns>An XML string encoding of the current DiffieHellman object.</returns>
  110. </member>
  111. <member name="T:Org.Mentalis.Security.Cryptography.DiffieHellmanManaged">
  112. <summary>
  113. Implements the Diffie-Hellman algorithm.
  114. </summary>
  115. </member>
  116. <member name="M:Org.Mentalis.Security.Cryptography.DiffieHellmanManaged.#ctor">
  117. <summary>
  118. Initializes a new <see cref="T:Org.Mentalis.Security.Cryptography.DiffieHellmanManaged"/> instance.
  119. </summary>
  120. <remarks>The default length of the shared secret is 1024 bits.</remarks>
  121. </member>
  122. <member name="M:Org.Mentalis.Security.Cryptography.DiffieHellmanManaged.#ctor(System.Int32,System.Int32,Org.Mentalis.Security.Cryptography.DHKeyGeneration)">
  123. <summary>
  124. Initializes a new <see cref="T:Org.Mentalis.Security.Cryptography.DiffieHellmanManaged"/> instance.
  125. </summary>
  126. <param name="bitlen">The length, in bits, of the public P parameter.</param>
  127. <param name="l">The length, in bits, of the secret value X. This parameter can be set to 0 to use the default size.</param>
  128. <param name="keygen">One of the <see cref="T:Org.Mentalis.Security.Cryptography.DHKeyGeneration"/> values.</param>
  129. <remarks>The larger the bit length, the more secure the algorithm is. The default is 1024 bits. The minimum bit length is 128 bits.<br/>The size of the private value will be one fourth of the bit length specified.</remarks>
  130. <exception cref="T:System.ArgumentException">The specified bit length is invalid.</exception>
  131. </member>
  132. <member name="M:Org.Mentalis.Security.Cryptography.DiffieHellmanManaged.#ctor(System.Byte[],System.Byte[],System.Byte[])">
  133. <summary>
  134. Initializes a new <see cref="T:Org.Mentalis.Security.Cryptography.DiffieHellmanManaged"/> instance.
  135. </summary>
  136. <param name="p">The P parameter of the Diffie-Hellman algorithm. This is a public parameter.</param>
  137. <param name="g">The G parameter of the Diffie-Hellman algorithm. This is a public parameter.</param>
  138. <param name="x">The X parameter of the Diffie-Hellman algorithm. This is a private parameter. If this parameters is a null reference (<b>Nothing</b> in Visual Basic), a secret value of the default size will be generated.</param>
  139. <exception cref="T:System.ArgumentNullException"><paramref name="p"/> or <paramref name="g"/> is a null reference (<b>Nothing</b> in Visual Basic).</exception>
  140. <exception cref="T:System.Security.Cryptography.CryptographicException"><paramref name="p"/> or <paramref name="g"/> is invalid.</exception>
  141. </member>
  142. <member name="M:Org.Mentalis.Security.Cryptography.DiffieHellmanManaged.#ctor(System.Byte[],System.Byte[],System.Int32)">
  143. <summary>
  144. Initializes a new <see cref="T:Org.Mentalis.Security.Cryptography.DiffieHellmanManaged"/> instance.
  145. </summary>
  146. <param name="p">The P parameter of the Diffie-Hellman algorithm.</param>
  147. <param name="g">The G parameter of the Diffie-Hellman algorithm.</param>
  148. <param name="l">The length, in bits, of the private value. If 0 is specified, the default value will be used.</param>
  149. <exception cref="T:System.ArgumentNullException"><paramref name="p"/> or <paramref name="g"/> is a null reference (<b>Nothing</b> in Visual Basic).</exception>
  150. <exception cref="T:System.ArgumentException"><paramref name="l"/> is invalid.</exception>
  151. <exception cref="T:System.Security.Cryptography.CryptographicException"><paramref name="p"/> or <paramref name="g"/> is invalid.</exception>
  152. </member>
  153. <member name="M:Org.Mentalis.Security.Cryptography.DiffieHellmanManaged.CreateKeyExchange">
  154. <summary>
  155. Creates the key exchange data.
  156. </summary>
  157. <returns>The key exchange data to be sent to the intended recipient.</returns>
  158. </member>
  159. <member name="M:Org.Mentalis.Security.Cryptography.DiffieHellmanManaged.DecryptKeyExchange(System.Byte[])">
  160. <summary>
  161. Extracts secret information from the key exchange data.
  162. </summary>
  163. <param name="keyEx">The key exchange data within which the shared key is hidden.</param>
  164. <returns>The shared key derived from the key exchange data.</returns>
  165. </member>
  166. <member name="M:Org.Mentalis.Security.Cryptography.DiffieHellmanManaged.Dispose(System.Boolean)">
  167. <summary>
  168. Releases the unmanaged resources used by the SymmetricAlgorithm and optionally releases the managed resources.
  169. </summary>
  170. <param name="disposing"><b>true</b> to release both managed and unmanaged resources; <b>false</b> to release only unmanaged resources.</param>
  171. </member>
  172. <member name="M:Org.Mentalis.Security.Cryptography.DiffieHellmanManaged.ExportParameters(System.Boolean)">
  173. <summary>
  174. Exports the <see cref="T:Org.Mentalis.Security.Cryptography.DHParameters"/>.
  175. </summary>
  176. <param name="includePrivateParameters"><b>true</b> to include private parameters; otherwise, <b>false</b>.</param>
  177. <returns>The parameters for <see cref="T:Org.Mentalis.Security.Cryptography.DiffieHellman"/>.</returns>
  178. </member>
  179. <member name="M:Org.Mentalis.Security.Cryptography.DiffieHellmanManaged.ImportParameters(Org.Mentalis.Security.Cryptography.DHParameters)">
  180. <summary>
  181. Imports the specified <see cref="T:Org.Mentalis.Security.Cryptography.DHParameters"/>.
  182. </summary>
  183. <param name="parameters">The parameters for <see cref="T:Org.Mentalis.Security.Cryptography.DiffieHellman"/>.</param>
  184. <exception cref="T:System.Security.Cryptography.CryptographicException"><see cref="F:Org.Mentalis.Security.Cryptography.DHParameters.P">parameters.P</see> or <see cref="F:Org.Mentalis.Security.Cryptography.DHParameters.G">parameters.G</see> is a null reference (<b>Nothing</b> in Visual Basic) -or- <see cref="F:Org.Mentalis.Security.Cryptography.DHParameters.P">parameters.P</see> is not a prime number.</exception>
  185. </member>
  186. <member name="M:Org.Mentalis.Security.Cryptography.DiffieHellmanManaged.Finalize">
  187. <summary>
  188. Releases the unmanaged resources used by the SymmetricAlgorithm.
  189. </summary>
  190. </member>
  191. <member name="P:Org.Mentalis.Security.Cryptography.DiffieHellmanManaged.KeyExchangeAlgorithm">
  192. <summary>
  193. Gets the name of the key exchange algorithm.
  194. </summary>
  195. <value>The name of the key exchange algorithm.</value>
  196. </member>
  197. <member name="P:Org.Mentalis.Security.Cryptography.DiffieHellmanManaged.SignatureAlgorithm">
  198. <summary>
  199. Gets the name of the signature algorithm.
  200. </summary>
  201. <value>The name of the signature algorithm.</value>
  202. </member>
  203. </members>
  204. </doc>