Skip to content

Commit da57e7b

Browse files
carlossanlopmairaw
authored andcommitted
Document System.Security.Cryptography.Pkcs.SignerInfo (dotnet#2942)
* Document System.Security.Cryptography.Pkcs.SignerInfo * suggestions by rpetrusha Co-Authored-By: Ron Petrusha <ronpet@microsoft.com> * Update xml/System.Security.Cryptography.Pkcs/SignerInfo.xml Co-Authored-By: Ron Petrusha <ronpet@microsoft.com> * suggestions by krwq * suggestion by krwq * clarify merge
1 parent 8370d83 commit da57e7b

File tree

1 file changed

+35
-7
lines changed

1 file changed

+35
-7
lines changed

xml/System.Security.Cryptography.Pkcs/SignerInfo.xml

Lines changed: 35 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,22 @@
5959
<Parameter Name="asnEncodedData" Type="System.Security.Cryptography.AsnEncodedData" Index="0" FrameworkAlternate="dotnet-plat-ext-3.0" />
6060
</Parameters>
6161
<Docs>
62-
<param name="asnEncodedData">To be added.</param>
63-
<summary>To be added.</summary>
64-
<remarks>To be added.</remarks>
62+
<param name="asnEncodedData">The ASN.1 encoded attribute to add to the document.</param>
63+
<summary>Adds the specified attribute to the current document.</summary>
64+
<remarks>
65+
<format type="text/markdown"><![CDATA[
66+
67+
If the specified attribute already exists in the document, it is merged with the existing one.
68+
69+
The document is re-encoded after the addition.
70+
71+
]]></format>
72+
</remarks>
73+
<exception cref="T:System.Security.Cryptography.CryptographicException">Cannot find the original signer.
74+
75+
-or-
76+
77+
ASN1 corrupted data.</exception>
6578
</Docs>
6679
</Member>
6780
<Member MemberName="Certificate">
@@ -593,9 +606,24 @@
593606
<Parameter Name="asnEncodedData" Type="System.Security.Cryptography.AsnEncodedData" Index="0" FrameworkAlternate="dotnet-plat-ext-3.0" />
594607
</Parameters>
595608
<Docs>
596-
<param name="asnEncodedData">To be added.</param>
597-
<summary>To be added.</summary>
598-
<remarks>To be added.</remarks>
609+
<param name="asnEncodedData">The ASN.1 encoded attribute to remove from the document.</param>
610+
<summary>Removes the specified attribute from the current document.</summary>
611+
<remarks>
612+
<format type="text/markdown"><![CDATA[
613+
614+
The document is re-encoded after the removal.
615+
616+
]]></format>
617+
</remarks>
618+
<exception cref="T:System.Security.Cryptography.CryptographicException">Cannot find the original signer.
619+
620+
-or-
621+
622+
Attribute not found.
623+
624+
-or-
625+
626+
ASN1 corrupted data.</exception>
599627
</Docs>
600628
</Member>
601629
<Member MemberName="SignatureAlgorithm">
@@ -810,4 +838,4 @@
810838
</Docs>
811839
</Member>
812840
</Members>
813-
</Type>
841+
</Type>

0 commit comments

Comments
 (0)