Skip to content

Commit d5d0f04

Browse files
committed
RSACng.Encrypt used wrong "Pkcs1" link.
1 parent f37171b commit d5d0f04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xml/System.Security.Cryptography/RSACng.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ If a key is loaded via the <xref:System.Security.Cryptography.RSACng.ImportParam
239239
<returns>The decrypted data.</returns>
240240
<remarks>To be added.</remarks>
241241
<exception cref="T:System.ArgumentNullException">
242-
<paramref name="data" /> is <see langword="null" />.
242+
<paramref name="data" /> is <see langword="null" />.
243243

244244
-or-
245245

@@ -363,7 +363,7 @@ If a key is loaded via the <xref:System.Security.Cryptography.RSACng.ImportParam
363363

364364
<paramref name="padding" /> is <see langword="null" />.</exception>
365365
<exception cref="T:System.Security.Cryptography.CryptographicException">
366-
<paramref name="padding" /> does not equal <see cref="P:System.Security.Cryptography.RSASignaturePadding.Pkcs1" /> or <see cref="P:System.Security.Cryptography.RSASignaturePadding.Pss" />.</exception>
366+
<paramref name="padding" /> does not equal <see cref="P:System.Security.Cryptography.RSAEncryptionPadding.Pkcs1" />.</exception>
367367
</Docs>
368368
</Member>
369369
<Member MemberName="EncryptValue">

0 commit comments

Comments
 (0)