@@ -56,7 +56,7 @@ public abstract class MLKem : IDisposable
56
56
/// The specific ML-KEM algorithm for this key.
57
57
/// </param>
58
58
/// <exception cref="ArgumentNullException">
59
- /// <paramref name="algorithm" /> is <see langword="null" />
59
+ /// <paramref name="algorithm" /> is <see langword="null" />.
60
60
/// </exception>
61
61
protected MLKem ( MLKemAlgorithm algorithm )
62
62
{
@@ -74,10 +74,10 @@ protected MLKem(MLKemAlgorithm algorithm)
74
74
/// The generated key.
75
75
/// </returns>
76
76
/// <exception cref="ArgumentNullException">
77
- /// <paramref name="algorithm" /> is <see langword="null" />
77
+ /// <paramref name="algorithm" /> is <see langword="null" />.
78
78
/// </exception>
79
79
/// <exception cref="CryptographicException">
80
- /// An error occured generating the ML-KEM key.
80
+ /// An error occurred generating the ML-KEM key.
81
81
/// </exception>
82
82
/// <exception cref="PlatformNotSupportedException">
83
83
/// The platform does not support ML-KEM. Callers can use the <see cref="IsSupported" /> property
@@ -326,7 +326,7 @@ public byte[] ExportPrivateSeed()
326
326
/// <see cref="MLKemAlgorithm.PrivateSeedSizeInBytes" /> from <paramref name="algorithm" />.
327
327
/// </exception>
328
328
/// <exception cref="ArgumentNullException">
329
- /// <paramref name="algorithm" /> is <see langword="null" />
329
+ /// <paramref name="algorithm" /> is <see langword="null" />.
330
330
/// </exception>
331
331
/// <exception cref="CryptographicException">
332
332
/// An error occurred while importing the key.
@@ -357,9 +357,9 @@ public static MLKem ImportPrivateSeed(MLKemAlgorithm algorithm, ReadOnlySpan<byt
357
357
/// <see cref="MLKemAlgorithm.PrivateSeedSizeInBytes" /> from <paramref name="algorithm" />.
358
358
/// </exception>
359
359
/// <exception cref="ArgumentNullException">
360
- /// <para><paramref name="algorithm" /> is <see langword="null" /></para>
360
+ /// <para><paramref name="algorithm" /> is <see langword="null" />. </para>
361
361
/// <para>-or-</para>
362
- /// <para><paramref name="source" /> is <see langword="null" /></para>
362
+ /// <para><paramref name="source" /> is <see langword="null" />. </para>
363
363
/// </exception>
364
364
/// <exception cref="CryptographicException">
365
365
/// An error occurred while importing the key.
@@ -385,7 +385,7 @@ public static MLKem ImportPrivateSeed(MLKemAlgorithm algorithm, byte[] source)
385
385
/// <paramref name="source"/> has a length that is not valid for the ML-KEM algorithm.
386
386
/// </exception>
387
387
/// <exception cref="ArgumentNullException">
388
- /// <paramref name="algorithm" /> is <see langword="null" />
388
+ /// <paramref name="algorithm" /> is <see langword="null" />.
389
389
/// </exception>
390
390
/// <exception cref="CryptographicException">
391
391
/// An error occurred while importing the key.
@@ -415,9 +415,9 @@ public static MLKem ImportDecapsulationKey(MLKemAlgorithm algorithm, ReadOnlySpa
415
415
/// <paramref name="source"/> has a length that is not valid for the ML-KEM algorithm.
416
416
/// </exception>
417
417
/// <exception cref="ArgumentNullException">
418
- /// <para><paramref name="algorithm" /> is <see langword="null" /></para>
418
+ /// <para><paramref name="algorithm" /> is <see langword="null" />. </para>
419
419
/// <para>-or-</para>
420
- /// <para><paramref name="source" /> is <see langword="null" /></para>
420
+ /// <para><paramref name="source" /> is <see langword="null" />. </para>
421
421
/// </exception>
422
422
/// <exception cref="CryptographicException">
423
423
/// An error occurred while importing the key.
@@ -472,9 +472,9 @@ public static MLKem ImportEncapsulationKey(MLKemAlgorithm algorithm, ReadOnlySpa
472
472
/// <paramref name="source"/> has a length that is not valid for the ML-KEM algorithm.
473
473
/// </exception>
474
474
/// <exception cref="ArgumentNullException">
475
- /// <para><paramref name="algorithm" /> is <see langword="null" /></para>
475
+ /// <para><paramref name="algorithm" /> is <see langword="null" />. </para>
476
476
/// <para>-or-</para>
477
- /// <para><paramref name="source" /> is <see langword="null" /></para>
477
+ /// <para><paramref name="source" /> is <see langword="null" />. </para>
478
478
/// </exception>
479
479
/// <exception cref="CryptographicException">
480
480
/// An error occurred while importing the key.
@@ -707,7 +707,7 @@ public bool TryExportPkcs8PrivateKey(Span<byte> destination, out int bytesWritte
707
707
/// Export the current key in the PKCS#8 PrivateKeyInfo format.
708
708
/// </summary>
709
709
/// <returns>
710
- /// A byte array containing the PKCS#8 PrivateKeyInfo representation of the this key.
710
+ /// A byte array containing the PKCS#8 PrivateKeyInfo representation of this key.
711
711
/// </returns>
712
712
/// <exception cref="ObjectDisposedException">
713
713
/// This instance has been disposed.
@@ -923,7 +923,7 @@ public bool TryExportEncryptedPkcs8PrivateKey(
923
923
/// The password-based encryption (PBE) parameters to use when encrypting the key material.
924
924
/// </param>
925
925
/// <returns>
926
- /// A byte array containing the PKCS#8 EncryptedPrivateKeyInfo representation of the this key.
926
+ /// A byte array containing the PKCS#8 EncryptedPrivateKeyInfo representation of this key.
927
927
/// </returns>
928
928
/// <exception cref="ArgumentNullException">
929
929
/// <paramref name="pbeParameters"/> is <see langword="null"/>.
@@ -963,7 +963,7 @@ public byte[] ExportEncryptedPkcs8PrivateKey(ReadOnlySpan<byte> passwordBytes, P
963
963
/// The password-based encryption (PBE) parameters to use when encrypting the key material.
964
964
/// </param>
965
965
/// <returns>
966
- /// A byte array containing the PKCS#8 EncryptedPrivateKeyInfo representation of the this key.
966
+ /// A byte array containing the PKCS#8 EncryptedPrivateKeyInfo representation of this key.
967
967
/// </returns>
968
968
/// <exception cref="ArgumentNullException">
969
969
/// <paramref name="pbeParameters"/> is <see langword="null"/>.
@@ -1003,7 +1003,7 @@ public byte[] ExportEncryptedPkcs8PrivateKey(ReadOnlySpan<char> password, PbePar
1003
1003
/// The password-based encryption (PBE) parameters to use when encrypting the key material.
1004
1004
/// </param>
1005
1005
/// <returns>
1006
- /// A byte array containing the PKCS#8 EncryptedPrivateKeyInfo representation of the this key.
1006
+ /// A byte array containing the PKCS#8 EncryptedPrivateKeyInfo representation of this key.
1007
1007
/// </returns>
1008
1008
/// <exception cref="ArgumentNullException">
1009
1009
/// <paramref name="pbeParameters" /> or <paramref name="password" /> is <see langword="null" />.
0 commit comments