Skip to content

Commit 0a20a08

Browse files
committed
fix build errors
1 parent d87795f commit 0a20a08

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

xml/System.Security.Cryptography/MLDsa.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,7 @@
981981
<param name="passwordBytes">The bytes to use as a password when decrypting the key material.</param>
982982
<summary>Imports an ML-DSA key from an encrypted RFC 7468 PEM-encoded string.</summary>
983983
<returns>To be added.</returns>
984-
<remarks><para>Unsupported or malformed PEM-encoded objects will be ignored. If multiple supported PEM labels are found, an exception is thrown to prevent importing a key when the key is ambiguous.</para><para>This method supports the <c&gt;ENCRYPTED PRIVATE KEY</c&gt; PEM label.</para></remarks>
984+
<remarks><para>Unsupported or malformed PEM-encoded objects will be ignored. If multiple supported PEM labels are found, an exception is thrown to prevent importing a key when the key is ambiguous.</para><para>This method supports the <c>ENCRYPTED PRIVATE KEY</c> PEM label.</para></remarks>
985985
<exception cref="T:System.ArgumentException"><para> <paramref name="source" /> does not contain a PEM-encoded key with a recognized label.</para><para>-or-</para><para> <paramref name="source" /> contains multiple PEM-encoded keys with a recognized label.</para></exception>
986986
<exception cref="T:System.Security.Cryptography.CryptographicException"><para>The password is incorrect.</para><para>-or-</para><para>The base-64 decoded contents of the PEM text from <paramref name="source" /> do not represent an ASN.1-BER-encoded PKCS#8 EncryptedPrivateKeyInfo structure.</para><para>-or-</para><para>The base-64 decoded contents of the PEM text from <paramref name="source" /> indicate the key is for an algorithm other than the algorithm represented by this instance.</para><para>-or-</para><para>The base-64 decoded contents of the PEM text from <paramref name="source" /> represent the key in a format that is not supported.</para><para>-or-</para><para>An error occurred while importing the key.</para></exception>
987987
<exception cref="T:System.PlatformNotSupportedException">
@@ -1023,7 +1023,7 @@
10231023
<param name="password">The password to use for decrypting the key material.</param>
10241024
<summary>Imports an ML-DSA key from an encrypted RFC 7468 PEM-encoded string.</summary>
10251025
<returns>To be added.</returns>
1026-
<remarks><para>When the base-64 decoded contents of <paramref name="source" /> indicate an algorithm that uses PBKDF1 (Password-Based Key Derivation Function 1) or PBKDF2 (Password-Based Key Derivation Function 2), the password is converted to bytes via the UTF-8 encoding.</para><para>Unsupported or malformed PEM-encoded objects will be ignored. If multiple supported PEM labels are found, an exception is thrown to prevent importing a key when the key is ambiguous.</para><para>This method supports the <c&gt;ENCRYPTED PRIVATE KEY</c&gt; PEM label.</para></remarks>
1026+
<remarks><para>When the base-64 decoded contents of <paramref name="source" /> indicate an algorithm that uses PBKDF1 (Password-Based Key Derivation Function 1) or PBKDF2 (Password-Based Key Derivation Function 2), the password is converted to bytes via the UTF-8 encoding.</para><para>Unsupported or malformed PEM-encoded objects will be ignored. If multiple supported PEM labels are found, an exception is thrown to prevent importing a key when the key is ambiguous.</para><para>This method supports the <c>ENCRYPTED PRIVATE KEY</c> PEM label.</para></remarks>
10271027
<exception cref="T:System.ArgumentException"><para> <paramref name="source" /> does not contain a PEM-encoded key with a recognized label.</para><para>-or-</para><para> <paramref name="source" /> contains multiple PEM-encoded keys with a recognized label.</para></exception>
10281028
<exception cref="T:System.Security.Cryptography.CryptographicException"><para>The password is incorrect.</para><para>-or-</para><para>The base-64 decoded contents of the PEM text from <paramref name="source" /> do not represent an ASN.1-BER-encoded PKCS#8 EncryptedPrivateKeyInfo structure.</para><para>-or-</para><para>The base-64 decoded contents of the PEM text from <paramref name="source" /> indicate the key is for an algorithm other than the algorithm represented by this instance.</para><para>-or-</para><para>The base-64 decoded contents of the PEM text from <paramref name="source" /> represent the key in a format that is not supported.</para><para>-or-</para><para>An error occurred while importing the key.</para></exception>
10291029
<exception cref="T:System.PlatformNotSupportedException">

xml/System/MemoryExtensions.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3799,7 +3799,7 @@ Returns `default` when `array` is `null`.
37993799
<param name="comparer">The <see cref="T:System.Collections.Generic.IEqualityComparer`1" /> implementation to use when comparing elements, or <see langword="null" /> to use the default <see cref="T:System.Collections.Generic.IEqualityComparer`1" /> for the type of an element.</param>
38003800
<summary>Searches the specified span for any value other than <paramref name="value" />.</summary>
38013801
<returns>
3802-
<see langword="true" /> if any value other than <paramref name="value" /> is present in the span. If all of the span's values are <paramref name="value" />, returns <see langword="false" /></para>
3802+
<see langword="true" /> if any value other than <paramref name="value" /> is present in the span. If all of the span's values are <paramref name="value" />, returns <see langword="false" />.
38033803
</returns>
38043804
<remarks>To be added.</remarks>
38053805
</Docs>

0 commit comments

Comments
 (0)