You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<summary>Initializes a new instance of the <seecref="T:System.Security.Cryptography.Pkcs.Pkcs12CertBag" /> class using the specified certificate type and encoding.</summary>
43
-
<remarks>To be added.</remarks>
43
+
<remarks>
44
+
<formattype="text/markdown"><![CDATA[
45
+
46
+
No validation is done to ensure that the `encodedCertificate` value is correct for the indicated `certificateType`.
47
+
48
+
Note that for X.509 public-key certificates, the correct encoding for a CertBag value is to wrap the DER-encoded certificate in an OCTET STRING.
Copy file name to clipboardExpand all lines: xml/System.Security.Cryptography.Pkcs/Rfc3161TimestampToken.xml
+12-2Lines changed: 12 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,17 @@
43
43
<Docs>
44
44
<summary>Gets a Signed Cryptographic Message Syntax (CMS) representation of the RFC3161 timestamp token.</summary>
45
45
<returns>The <seecref="T:System.Security.Cryptography.Pkcs.SignedCms" /> representation of the <seecref="T:System.Security.Cryptography.Pkcs.Rfc3161TimestampToken" />.</returns>
46
-
<remarks>To be added.</remarks>
46
+
<remarks>
47
+
<formattype="text/markdown"><![CDATA[
48
+
49
+
Successive calls to this method return the same object.
50
+
51
+
The <xref:System.Security.Cryptography.Pkcs.SignedCms> class is mutable, but changes to that object are not reflected in the <xref:System.Security.Cryptography.Pkcs.Rfc3161TimestampToken> object that produced it.
52
+
53
+
The value from calling <xref:System.Security.Cryptography.Pkcs.SignedCms.Encode?displayProperty=nameWithType> can be interpreted again as an <xref:System.Security.Cryptography.Pkcs.Rfc3161TimestampToken> via another call to <xref:System.Security.Cryptography.Pkcs.Rfc3161TimestampToken.TryDecode(System.ReadOnlyMemory{System.Byte},System.Security.Cryptography.Pkcs.Rfc3161TimestampToken@,System.Int32@)?displayProperty=nameWithType>.
Copy file name to clipboardExpand all lines: xml/System.Security.Cryptography.Xml/RSAKeyValue.xml
+35-23Lines changed: 35 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -24,8 +24,8 @@
24
24
<Docs>
25
25
<summary>Represents the <<seelangword="RSAKeyValue" />> element of an XML signature.</summary>
26
26
<remarks>
27
-
<formattype="text/markdown"><![CDATA[
28
-
27
+
<formattype="text/markdown"><![CDATA[
28
+
29
29
## Remarks
30
30
The <xref:System.Security.Cryptography.Xml.RSAKeyValue> class represents the `<RSAKeyValue>` element of an XML signature defined by the XML digital signature specification. The `<RSAKeyValue>` element is the subelement of the `<KeyInfo>` element (represented by the <xref:System.Security.Cryptography.Xml.KeyInfo> class) that describes an <xref:System.Security.Cryptography.RSA> public key. The `<RSAKeyValue>` element contains the public key that corresponds to the private key used to digitally sign a document. A recipient of the document uses the public key to validate the XML signature.
<summary>Initializes a new instance of the <seecref="T:System.Security.Cryptography.Xml.RSAKeyValue" /> class with a new randomly generated <seecref="T:System.Security.Cryptography.RSA" /> public key.</summary>
88
88
<remarks>
89
-
<formattype="text/markdown"><![CDATA[
90
-
89
+
<formattype="text/markdown"><![CDATA[
90
+
91
91
## Remarks
92
-
This constructor creates a new instance of the default implementation of <xref:System.Security.Cryptography.RSA> to hold the public key.
93
-
94
-
]]></format>
92
+
This constructor creates a new instance of the default implementation of <xref:System.Security.Cryptography.RSA> to hold the public key.
93
+
94
+
]]></format>
95
95
</remarks>
96
96
</Docs>
97
97
</Member>
@@ -122,8 +122,8 @@
122
122
<paramname="key">The instance of an implementation of <seecref="T:System.Security.Cryptography.RSA" /> that holds the public key.</param>
123
123
<summary>Initializes a new instance of the <seecref="T:System.Security.Cryptography.Xml.RSAKeyValue" /> class with the specified <seecref="T:System.Security.Cryptography.RSA" /> public key.</summary>
124
124
<remarks>
125
-
<formattype="text/markdown">< in the W3C Recommendation [XML Signature Syntax and Processing Version 1.0](https://www.w3.org/TR/2002/REC-xmldsig-core-20020212).
175
+
176
+
]]></format>
177
+
</remarks>
172
178
</Docs>
173
179
</Member>
174
180
<MemberMemberName="Key">
@@ -198,14 +204,14 @@
198
204
<summary>Gets or sets the instance of <seecref="T:System.Security.Cryptography.RSA" /> that holds the public key.</summary>
199
205
<value>The instance of <seecref="T:System.Security.Cryptography.RSA" /> that holds the public key.</value>
200
206
<remarks>
201
-
<formattype="text/markdown"><![CDATA[
202
-
207
+
<formattype="text/markdown"><![CDATA[
208
+
203
209
## Remarks
204
210
The <xref:System.Security.Cryptography.Xml.RSAKeyValue.Key%2A> property represents the public key to add to an XML digital signature using the `<Modulus>` subelement and the `<Exponent>` subelement of the `<RSAKeyValue>` element.
205
211
206
-
For more information about XML digital signatures, see the W3C specification at www.w3.org/TR/xmldsig-core/.
207
-
208
-
]]></format>
212
+
For more information about XML digital signatures, see the W3C specification at www.w3.org/TR/xmldsig-core/.
213
+
214
+
]]></format>
209
215
</remarks>
210
216
</Docs>
211
217
</Member>
@@ -238,10 +244,16 @@
238
244
<Docs>
239
245
<paramname="value">The XML element from which to load the <seecref="T:System.Security.Cryptography.RSA" /> key clause.</param>
240
246
<summary>Loads an <seecref="T:System.Security.Cryptography.RSA" /> key clause from an XML element.</summary>
241
-
<remarks>To be added.</remarks>
247
+
<remarks>
248
+
<formattype="text/markdown">< in the W3C Recommendation [XML Signature Syntax and Processing Version 1.0](https://www.w3.org/TR/2002/REC-xmldsig-core-20020212).
251
+
252
+
]]></format>
253
+
</remarks>
242
254
<exceptioncref="T:System.ArgumentNullException">The <paramrefname="value" /> parameter is <seelangword="null" />.</exception>
243
255
<exceptioncref="T:System.Security.Cryptography.CryptographicException">The <paramrefname="value" /> parameter is not a valid <seecref="T:System.Security.Cryptography.RSA" /> key clause XML element.</exception>
0 commit comments