|
167 | 167 | <Parameter Name="rgbHash" Type="System.Byte[]" />
|
168 | 168 | </Parameters>
|
169 | 169 | <Docs>
|
170 |
| - <param name="rgbHash">The data to be signed.</param> |
171 |
| - <summary>Creates the digital signature for the specified data.</summary> |
| 170 | + <param name="rgbHash">The hash value to be signed.</param> |
| 171 | + <summary>Creates the <see cref="T:System.Security.Cryptography.DSA" /> signature for the specified data.</summary> |
172 | 172 | <returns>The digital signature for the specified data.</returns>
|
173 | 173 | <remarks>To be added.</remarks>
|
174 | 174 | <exception cref="T:System.ArgumentNullException">
|
175 | 175 | <paramref name="rgbHash" /> is <see langword="null" />.</exception>
|
| 176 | + <exception cref="T:System.Security.Cryptography.CryptographicException"> |
| 177 | + This instance represents only a public key. |
| 178 | + |
| 179 | +-or- |
| 180 | + |
| 181 | +An error occurred during signature creation. |
| 182 | + </exception> |
176 | 183 | <exception cref="T:System.PlatformNotSupportedException">
|
177 |
| - <paramref name="rgbHash" /> is shorter in length than the Q value of the DSA key .</exception> |
| 184 | + <paramref name="rgbHash" /> is shorter in length than the Q value of the DSA key.</exception> |
178 | 185 | </Docs>
|
179 | 186 | </Member>
|
180 | 187 | <Member MemberName="Dispose">
|
|
202 | 209 | <Parameter Name="disposing" Type="System.Boolean" />
|
203 | 210 | </Parameters>
|
204 | 211 | <Docs>
|
205 |
| - <param name="disposing">To be added.</param> |
206 |
| - <summary>To be added.</summary> |
| 212 | + <param name="disposing"><see langword="true"/> to release managed and unmanaged resources; <see langword="false"/> to release only unmanaged resources.</param> |
| 213 | + <summary>Releases the resources used by the current instance of the <see xref="T:System.Security.Cryptography.DSACng" /> class.</summary> |
207 | 214 | <remarks>To be added.</remarks>
|
208 | 215 | </Docs>
|
209<
57AE
/code> | 216 | </Member>
|
|
265 | 272 | <Parameter Name="hashAlgorithm" Type="System.Security.Cryptography.HashAlgorithmName" />
|
266 | 273 | </Parameters>
|
267 | 274 | <Docs>
|
268 |
| - <param name="data">To be added.</param> |
269 |
| - <param name="hashAlgorithm">To be added.</param> |
270 |
| - <summary>To be added.</summary> |
271 |
| - <returns>To be added.</returns> |
| 275 | + <param name="data">The binary stream to hash.</param> |
| 276 | + <param name="hashAlgorithm">The algorithm to use to hash the data.</param> |
| 277 | + <summary>Computes the hash value of a specified binary stream by using a specified hashing algorithm.</summary> |
| 278 | + <returns>The hashed data.</returns> |
272 | 279 | <remarks>To be added.</remarks>
|
273 | 280 | </Docs>
|
274 | 281 | </Member>
|
|
299 | 306 | <Parameter Name="hashAlgorithm" Type="System.Security.Cryptography.HashAlgorithmName" />
|
300 | 307 | </Parameters>
|
301 | 308 | <Docs>
|
302 |
| - <param name="data">To be added.</param> |
303 |
| - <param name="offset">To be added.</param> |
304 |
| - <param name="count">To be added.</param> |
305 |
| - <param name="hashAlgorithm">To be added.</param> |
306 |
| - <summary>To be added.</summary> |
307 |
| - <returns>To be added.</returns> |
| 309 | + <param name="data">The data to be hashed.</param> |
| 310 | + <param name="offset">The index of the first byte in <paramref name="data" /> that is to be hashed.</param> |
| 311 | + <param name="count">The number of bytes to hash.</param> |
| 312 | + <param name="hashAlgorithm">The algorithm to use to hash the data.</param> |
| 313 | + <summary>When overridden in a derived class, computes the hash value of a specified portion of a byte array by using a specified hashing algorithm.</summary> |
| 314 | + <returns>The hashed data.</returns> |
308 | 315 | <remarks>To be added.</remarks>
|
309 | 316 | </Docs>
|
310 | 317 | </Member>
|
|
492 | 499 | <Parameter Name="rgbSignature" Type="System.Byte[]" />
|
493 | 500 | </Parameters>
|
494 | 501 | <Docs>
|
495 |
| - <param name="rgbHash">The signed data.</param> |
| 502 | + <param name="rgbHash">The signed hash.</param> |
496 | 503 | <param name="rgbSignature">The digital signature to be verified.</param>
|
497 |
| - <summary>Verifies if the specified digital signature matches the specified data.</summary> |
| 504 | + <summary>Verifies if the specified digital signature matches the specified hash.</summary> |
498 | 505 | <returns>
|
499 |
| - <see langword="true" /> if <paramref name="rgbSignature" /> matches the signature computed using the specified data; otherwise, <see langword="false" />.</returns> |
| 506 | + <see langword="true" /> if <paramref name="rgbSignature" /> matches the signature computed using the specified hash; otherwise, <see langword="false" />.</returns> |
500 | 507 | <remarks>To be added.</remarks>
|
501 |
| - <exception cref="T:System.ArgumentNullException">The <paramref name="rgbHash" /> parameter is <see langword="null" />. |
502 |
| - |
503 |
| - -or- |
504 |
| - |
505 |
| - The <paramref name="rgbSignature" /> parameter is <see langword="null" />.</exception> |
506 |
| - <exception cref="T:System.PlatformNotSupportedException"> |
507 |
| - <paramref name="rgbHash" /> is shorter in length than the Q value of the DSA key.</exception> |
| 508 | + <exception cref="T:System.ArgumentNullException">The <paramref name="rgbHash" /> or <paramref name="rgbSignature" /> parameters are <see langword="null" />.</exception> |
508 | 509 | </Docs>
|
509 | 510 | </Member>
|
510 | 511 | </Members>
|
|
0 commit comments