Skip to content

Commit ca47fc8

Browse files
committed
RSACng.Encrypt used wrong "Pkcs1" link.
1 parent 6a1b1e0 commit ca47fc8

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
@@ -220,7 +220,7 @@
220220
<returns>The decrypted data.</returns>
221221
<remarks>To be added.</remarks>
222222
<exception cref="T:System.ArgumentNullException">
223-
<paramref name="data" /> is <see langword="null" />.
223+
<paramref name="data" /> is <see langword="null" />.
224224

225225
-or-
226226

@@ -341,7 +341,7 @@
341341

342342
<paramref name="padding" /> is <see langword="null" />.</exception>
343343
<exception cref="T:System.Security.Cryptography.CryptographicException">
344-
<paramref name="padding" /> does not equal <see cref="P:System.Security.Cryptography.RSASignaturePadding.Pkcs1" /> or <see cref="P:System.Security.Cryptography.RSASignaturePadding.Pss" />.</exception>
344+
<paramref name="padding" /> does not equal <see cref="P:System.Security.Cryptography.RSAEncryptionPadding.Pkcs1" />.</exception>
345345
</Docs>
346346
</Member>
347347
<Member MemberName="EncryptValue">

0 commit comments

Comments
 (0)