Skip to content

Commit 7c7d533

Browse files
carlossanlopRon Petrusha
authored andcommitted
Document System.Security.Cryptography.Pkcs.SignedCms (dotnet#2938)
* Document System.Security.Cryptography.Pkcs.SignedCms * Exception thrown on removal
1 parent 35143de commit 7c7d533

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

xml/System.Security.Cryptography.Pkcs/SignedCms.xml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -350,9 +350,10 @@
350350
<Parameter Name="certificate" Type="System.Security.Cryptography.X509Certificates.X509Certificate2" Index="0" FrameworkAlternate="dotnet-plat-ext-3.0" />
351351
</Parameters>
352352
<Docs>
353-
<param name="certificate">To be added.</param>
354-
<summary>To be added.</summary>
353+
<param name="certificate">The certificate to add to the collection.</param>
354+
<summary>Adds a certificate to the collection of certificates for the encoded CMS/PKCS #7 message.</summary>
355355
<remarks>To be added.</remarks>
356+
<exception cref="T:System.Security.Cryptography.CryptographicException">The certificate already exists in the collection.</exception>
356357
</Docs>
357358
</Member>
358359
<Member MemberName="Certificates">
@@ -926,9 +927,10 @@ The following permissions are required to access the signature key:
926927
<Parameter Name="certificate" Type="System.Security.Cryptography.X509Certificates.X509Certificate2" Index="0" FrameworkAlternate="dotnet-plat-ext-3.0" />
927928
</Parameters>
928929
<Docs>
929-
<param name="certificate">To be added.</param>
930-
<summary>To be added.</summary>
930+
<param name="certificate">The certificate to remove from the collection.</param>
931+
<summary>Removes the specified certificate from the collection of certificates for the encoded CMS/PKCS #7 message.</summary>
931932
<remarks>To be added.</remarks>
933+
<exception cref="T:System.Security.Cryptography.CryptographicException">The certificate was not found.</exception>
932934
</Docs>
933935
</Member>
934936
<MemberGroup MemberName="RemoveSignature">

0 commit comments

Comments
 (0)