|
162 | 162 | |
163 | 163 | ## Remarks |
164 | 164 | Use the <xref:System.Security.Cryptography.Xml.SignedXml.XmlDsigDSAUrl>, <xref:System.Security.Cryptography.Xml.EncryptedXml.XmlEncRSA15Url>, <xref:System.Security.Cryptography.Xml.EncryptedXml.XmlEncRSAOAEPUrl>, <xref:System.Security.Cryptography.Xml.SignedXml.XmlDsigRSASHA1Url> or <xref:System.IdentityModel.Tokens.SecurityAlgorithms.RsaSha256Signature> fields to specify the `algorithm` parameter. |
165 | | - |
| 165 | +
|
| 166 | + Due to collision problems with SHA1, Microsoft recommends a security model based on SHA256 or better. |
| 167 | +
|
166 | 168 | ]]></format> |
167 | 169 | </remarks> |
168 | 170 | <exception cref="T:System.NotSupportedException"> |
|
209 | 211 | |
210 | 212 | ## Remarks |
211 | 213 | Use the <xref:System.Security.Cryptography.Xml.SignedXml.XmlDsigDSAUrl>, <xref:System.Security.Cryptography.Xml.SignedXml.XmlDsigRSASHA1Url> or <xref:System.IdentityModel.Tokens.SecurityAlgorithms.RsaSha256Signature> fields to specify the `algorithm` parameter. |
212 | | - |
| 214 | +
|
| 215 | + Due to collision problems with SHA1, Microsoft recommends a security model based on SHA256 or better. |
| 216 | +
|
213 | 217 | ]]></format> |
214 | 218 | </remarks> |
215 | 219 | <exception cref="T:System.NotSupportedException"> |
|
289 | 293 | |
290 | 294 | ## Remarks |
291 | 295 | Use the <xref:System.Security.Cryptography.Xml.SignedXml.XmlDsigDSAUrl>, <xref:System.Security.Cryptography.Xml.SignedXml.XmlDsigRSASHA1Url> or <xref:System.IdentityModel.Tokens.SecurityAlgorithms.RsaSha256Signature> fields to specify the `algorithm` parameter. |
292 | | - |
| 296 | +
|
| 297 | + Due to collision problems with SHA1, Microsoft recommends a security model based on SHA256 or better. |
| 298 | +
|
293 | 299 | ]]></format> |
294 | 300 | </remarks> |
295 | 301 | <exception cref="T:System.NotSupportedException">The X.509 certificate specified in the constructor does not have a private key. |
|
357 | 363 | <summary>Gets a value that indicates whether the specified algorithm uses asymmetric keys.</summary> |
358 | 364 | <returns> |
359 | 365 | <see langword="true" /> when the specified algorithm is <see cref="F:System.IdentityModel.Tokens.SecurityAlgorithms.DsaSha1Signature" />, <see cref="F:System.IdentityModel.Tokens.SecurityAlgorithms.RsaSha1Signature" />, <see cref="F:System.IdentityModel.Tokens.SecurityAlgorithms.RsaSha256Signature" />, <see cref="F:System.IdentityModel.Tokens.SecurityAlgorithms.RsaOaepKeyWrap" />, or <see cref="F:System.IdentityModel.Tokens.SecurityAlgorithms.RsaV15KeyWrap" />; otherwise, <see langword="false" />.</returns> |
360 | | - <remarks>To be added.</remarks> |
| 366 | + <remarks>Due to collision problems with SHA1, Microsoft recommends a security model based on SHA256 or better.</remarks> |
361 | 367 | </Docs> |
362 | 368 | </Member> |
363 | 369 | <Member MemberName="IsSupportedAlgorithm"> |
|
393 | 399 | - The `algorithm` parameter is <xref:System.Security.Cryptography.Xml.SignedXml.XmlDsigDSAUrl> and the public key for the X.509 certificate specified in the constructor is of type <xref:System.Security.Cryptography.DSA>. |
394 | 400 | |
395 | 401 | - The `algorithm` parameter is <xref:System.Security.Cryptography.Xml.EncryptedXml.XmlEncRSA15Url>, <xref:System.Security.Cryptography.Xml.EncryptedXml.XmlEncRSAOAEPUrl>, <xref:System.Security.Cryptography.Xml.SignedXml.XmlDsigRSASHA1Url> or <xref:System.IdentityModel.Tokens.SecurityAlgorithms.RsaSha256Signature> and the public key for the X.509 certificate specified in the constructor is of type <xref:System.Security.Cryptography.RSA>. |
396 | | - |
| 402 | +
|
| 403 | +Due to collision problems with SHA1, Microsoft recommends a security model based on SHA256 or better. |
| 404 | +
|
397 | 405 | ]]></format> |
398 | 406 | </remarks> |
399 | 407 | </Docs> |
|
0 commit comments