Merge pull request #948 from ermshiperete/bug-xamarin-2394
[mono.git] / mcs / class / corlib / Documentation / en / System.Security.Cryptography.X509Certificates / X509Certificate.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <Type Name="X509Certificate" FullName="System.Security.Cryptography.X509Certificates.X509Certificate">
3   <TypeSignature Maintainer="auto" Language="C#" Value="public class X509Certificate : System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable" />
4   <TypeSignature Language="ILAsm" Value=".class public auto ansi serializable beforefieldinit X509Certificate extends System.Object implements class System.Runtime.Serialization.IDeserializationCallback, class System.Runtime.Serialization.ISerializable" />
5   <AssemblyInfo>
6     <AssemblyName>mscorlib</AssemblyName>
7     <AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey>
8     <AssemblyVersion>1.0.5000.0</AssemblyVersion>
9     <AssemblyVersion>2.0.0.0</AssemblyVersion>
10     <AssemblyVersion>4.0.0.0</AssemblyVersion>
11   </AssemblyInfo>
12   <ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement>
13   <Base>
14     <BaseTypeName>System.Object</BaseTypeName>
15   </Base>
16   <Interfaces>
17     <Interface>
18       <InterfaceName>System.Runtime.Serialization.IDeserializationCallback</InterfaceName>
19     </Interface>
20     <Interface>
21       <InterfaceName>System.Runtime.Serialization.ISerializable</InterfaceName>
22     </Interface>
23   </Interfaces>
24   <Attributes>
25     <Attribute>
26       <AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName>
27     </Attribute>
28   </Attributes>
29   <Docs>
30     <remarks>
31       <attribution license="cc4" from="Microsoft" modified="false" />
32       <para>ASN.1 DER is the only certificate format supported by this class.  </para>
33       <para>For most scenarios, you should use the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> class instead.</para>
34     </remarks>
35     <summary>
36       <attribution license="cc4" from="Microsoft" modified="false" />
37       <para>Provides methods that help you use X.509 v.3 certificates.</para>
38     </summary>
39   </Docs>
40   <Members>
41     <Member MemberName=".ctor">
42       <MemberSignature Language="C#" Value="public X509Certificate ();" />
43       <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
44       <MemberType>Constructor</MemberType>
45       <AssemblyInfo>
46         <AssemblyVersion>2.0.0.0</AssemblyVersion>
47         <AssemblyVersion>4.0.0.0</AssemblyVersion>
48       </AssemblyInfo>
49       <Parameters />
50       <Docs>
51         <since version=".NET 2.0" />
52         <remarks>
53           <attribution license="cc4" from="Microsoft" modified="false" />
54           <para>ASN.1 DER is the only certificate format supported by this class.</para>
55         </remarks>
56         <summary>
57           <attribution license="cc4" from="Microsoft" modified="false" />
58           <para>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> class. </para>
59         </summary>
60       </Docs>
61     </Member>
62     <Member MemberName=".ctor">
63       <MemberSignature Language="C#" Value="public X509Certificate (byte[] data);" />
64       <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(unsigned int8[] data) cil managed" />
65       <MemberType>Constructor</MemberType>
66       <AssemblyInfo>
67         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
68         <AssemblyVersion>2.0.0.0</AssemblyVersion>
69         <AssemblyVersion>4.0.0.0</AssemblyVersion>
70       </AssemblyInfo>
71       <ReturnValue />
72       <Parameters>
73         <Parameter Name="data" Type="System.Byte[]" />
74       </Parameters>
75       <Docs>
76         <remarks>
77           <attribution license="cc4" from="Microsoft" modified="false" />
78           <para>ASN.1 DER is the only certificate format supported by this class.</para>
79           <para>If you create an <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> certificate by specifying a PKCS7 signed file store for <paramref name="data" />, the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> is created for the certificate that signed the store rather than for any of the certificates within the store. </para>
80         </remarks>
81         <summary>
82           <attribution license="cc4" from="Microsoft" modified="false" />
83           <para>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> class defined from a sequence of bytes representing an X.509v3 certificate.</para>
84         </summary>
85         <param name="data">
86           <attribution license="cc4" from="Microsoft" modified="false" />A byte array containing data from an X.509 certificate.</param>
87       </Docs>
88     </Member>
89     <Member MemberName=".ctor">
90       <MemberSignature Language="C#" Value="public X509Certificate (IntPtr handle);" />
91       <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(native int handle) cil managed" />
92       <MemberType>Constructor</MemberType>
93       <AssemblyInfo>
94         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
95         <AssemblyVersion>2.0.0.0</AssemblyVersion>
96         <AssemblyVersion>4.0.0.0</AssemblyVersion>
97       </AssemblyInfo>
98       <ReturnValue />
99       <Parameters>
100         <Parameter Name="handle" Type="System.IntPtr" />
101       </Parameters>
102       <Docs>
103         <remarks>
104           <attribution license="cc4" from="Microsoft" modified="false" />
105           <para>This constructor creates a new <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object using a handle for the Microsoft Cryptographic API certificate context, PCCERT_CONTEXT.</para>
106           <block subset="none" type="note">
107             <para>This constructor creates a copy of the certificate context. Do not assume that the context structure you passed to the constructor is valid; it may have been released. You can get a copy of the current PCCERT_CONTEXT structure from the <see cref="P:System.Security.Cryptography.X509Certificates.X509Certificate.Handle" /> property, but it is valid only during the lifetime of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object.</para>
108           </block>
109         </remarks>
110         <summary>
111           <attribution license="cc4" from="Microsoft" modified="false" />
112           <para>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> class using a handle to an unmanaged PCCERT_CONTEXT structure.</para>
113         </summary>
114         <param name="handle">
115           <attribution license="cc4" from="Microsoft" modified="false" />A handle to an unmanaged PCCERT_CONTEXT structure.</param>
116       </Docs>
117     </Member>
118     <Member MemberName=".ctor">
119       <MemberSignature Language="C#" Value="public X509Certificate (System.Security.Cryptography.X509Certificates.X509Certificate cert);" />
120       <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Security.Cryptography.X509Certificates.X509Certificate cert) cil managed" />
121       <MemberType>Constructor</MemberType>
122       <AssemblyInfo>
123         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
124         <AssemblyVersion>2.0.0.0</AssemblyVersion>
125         <AssemblyVersion>4.0.0.0</AssemblyVersion>
126       </AssemblyInfo>
127       <ReturnValue />
128       <Parameters>
129         <Parameter Name="cert" Type="System.Security.Cryptography.X509Certificates.X509Certificate" />
130       </Parameters>
131       <Docs>
132         <remarks>
133           <attribution license="cc4" from="Microsoft" modified="false" />
134           <para>ASN.1 DER is the only certificate format supported by this class.</para>
135         </remarks>
136         <summary>
137           <attribution license="cc4" from="Microsoft" modified="false" />
138           <para>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> class using another <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> class.</para>
139         </summary>
140         <param name="cert">
141           <attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> class from which to initialize this class. </param>
142       </Docs>
143     </Member>
144     <Member MemberName=".ctor">
145       <MemberSignature Language="C#" Value="public X509Certificate (string fileName);" />
146       <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string fileName) cil managed" />
147       <MemberType>Constructor</MemberType>
148       <AssemblyInfo>
149         <AssemblyVersion>2.0.0.0</AssemblyVersion>
150         <AssemblyVersion>4.0.0.0</AssemblyVersion>
151       </AssemblyInfo>
152       <Parameters>
153         <Parameter Name="fileName" Type="System.String" />
154       </Parameters>
155       <Docs>
156         <since version=".NET 2.0" />
157         <remarks>
158           <attribution license="cc4" from="Microsoft" modified="false" />
159           <para>ASN.1 DER is the only certificate format supported by this class.</para>
160           <para>If you create an <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> certificate by specifying a PKCS7 signed file store for <paramref name="fileName" />, the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> is created for the certificate that signed the store rather than for any of the certificates within the store. </para>
161         </remarks>
162         <summary>
163           <attribution license="cc4" from="Microsoft" modified="false" />
164           <para>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> class using the name of a PKCS7 signed file. </para>
165         </summary>
166         <param name="fileName">
167           <attribution license="cc4" from="Microsoft" modified="false" />The name of a PKCS7 signed file.</param>
168       </Docs>
169     </Member>
170     <Member MemberName=".ctor">
171       <MemberSignature Language="C#" Value="public X509Certificate (byte[] rawData, System.Security.SecureString password);" />
172       <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(unsigned int8[] rawData, class System.Security.SecureString password) cil managed" />
173       <MemberType>Constructor</MemberType>
174       <AssemblyInfo>
175         <AssemblyVersion>2.0.0.0</AssemblyVersion>
176         <AssemblyVersion>4.0.0.0</AssemblyVersion>
177       </AssemblyInfo>
178       <Parameters>
179         <Parameter Name="rawData" Type="System.Byte[]" />
180         <Parameter Name="password" Type="System.Security.SecureString" />
181       </Parameters>
182       <Docs>
183         <since version=".NET 2.0" />
184         <remarks>
185           <attribution license="cc4" from="Microsoft" modified="false" />
186           <para>ASN.1 DER is the only certificate format supported by this class.</para>
187           <block subset="none" type="note">
188             <para>Never hard code a password within your source code.  Hard-coded passwords can be retrieved from an assembly using the <format type="text/html"><a href="db27f6b2-f1ec-499e-be3a-7eecf95ca42b">MSIL Disassembler (Ildasm.exe)</a></format>, a hex editor, or by simply opening the assembly in a text editor such as Notepad.exe. </para>
189           </block>
190           <para>If you create an <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> certificate by specifying a PKCS7 signed file store for <paramref name="rawData" />, the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> is created for the certificate that signed the store rather than for any of the certificates within the store. </para>
191         </remarks>
192         <summary>
193           <attribution license="cc4" from="Microsoft" modified="false" />
194           <para>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> class using a byte array and a password.</para>
195         </summary>
196         <param name="rawData">
197           <attribution license="cc4" from="Microsoft" modified="false" />A byte array that contains data from an X.509 certificate.</param>
198         <param name="password">
199           <attribution license="cc4" from="Microsoft" modified="false" />The password required to access the X.509 certificate data.</param>
200       </Docs>
201     </Member>
202     <Member MemberName=".ctor">
203       <MemberSignature Language="C#" Value="public X509Certificate (byte[] rawData, string password);" />
204       <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(unsigned int8[] rawData, string password) cil managed" />
205       <MemberType>Constructor</MemberType>
206       <AssemblyInfo>
207         <AssemblyVersion>2.0.0.0</AssemblyVersion>
208         <AssemblyVersion>4.0.0.0</AssemblyVersion>
209       </AssemblyInfo>
210       <Parameters>
211         <Parameter Name="rawData" Type="System.Byte[]" />
212         <Parameter Name="password" Type="System.String" />
213       </Parameters>
214       <Docs>
215         <since version=".NET 2.0" />
216         <remarks>
217           <attribution license="cc4" from="Microsoft" modified="false" />
218           <para>ASN.1 DER is the only certificate format supported by this class.</para>
219           <block subset="none" type="note">
220             <para>Never hard code a password within your source code.  Hard-coded passwords can be retrieved from an assembly using the <format type="text/html"><a href="db27f6b2-f1ec-499e-be3a-7eecf95ca42b">MSIL Disassembler (Ildasm.exe)</a></format>, a hex editor, or by simply opening the assembly in a text editor such as Notepad.exe. </para>
221           </block>
222           <para>If you create an <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> certificate by specifying a PKCS7 signed file store for <paramref name="rawData" />, the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> is created for the certificate that signed the store rather than for any of the certificates within the store. </para>
223         </remarks>
224         <summary>
225           <attribution license="cc4" from="Microsoft" modified="false" />
226           <para>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> class using a byte array and a password.</para>
227         </summary>
228         <param name="rawData">
229           <attribution license="cc4" from="Microsoft" modified="false" />A byte array containing data from an X.509 certificate.</param>
230         <param name="password">
231           <attribution license="cc4" from="Microsoft" modified="false" />The password required to access the X.509 certificate data.</param>
232       </Docs>
233     </Member>
234     <Member MemberName=".ctor">
235       <MemberSignature Language="C#" Value="public X509Certificate (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);" />
236       <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Runtime.Serialization.SerializationInfo info, valuetype System.Runtime.Serialization.StreamingContext context) cil managed" />
237       <MemberType>Constructor</MemberType>
238       <AssemblyInfo>
239         <AssemblyVersion>2.0.0.0</AssemblyVersion>
240         <AssemblyVersion>4.0.0.0</AssemblyVersion>
241       </AssemblyInfo>
242       <Parameters>
243         <Parameter Name="info" Type="System.Runtime.Serialization.SerializationInfo" />
244         <Parameter Name="context" Type="System.Runtime.Serialization.StreamingContext" />
245       </Parameters>
246       <Docs>
247         <remarks>To be added.</remarks>
248         <since version=".NET 2.0" />
249         <summary>
250           <attribution license="cc4" from="Microsoft" modified="false" />
251           <para>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> class using a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object and a <see cref="T:System.Runtime.Serialization.StreamingContext" /> structure.</para>
252         </summary>
253         <param name="info">
254           <attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object that describes serialization information.</param>
255         <param name="context">
256           <attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Runtime.Serialization.StreamingContext" /> structure that describes how serialization should be performed.</param>
257       </Docs>
258     </Member>
259     <Member MemberName=".ctor">
260       <MemberSignature Language="C#" Value="public X509Certificate (string fileName, System.Security.SecureString password);" />
261       <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string fileName, class System.Security.SecureString password) cil managed" />
262       <MemberType>Constructor</MemberType>
263       <AssemblyInfo>
264         <AssemblyVersion>2.0.0.0</AssemblyVersion>
265         <AssemblyVersion>4.0.0.0</AssemblyVersion>
266       </AssemblyInfo>
267       <Parameters>
268         <Parameter Name="fileName" Type="System.String" />
269         <Parameter Name="password" Type="System.Security.SecureString" />
270       </Parameters>
271       <Docs>
272         <since version=".NET 2.0" />
273         <remarks>
274           <attribution license="cc4" from="Microsoft" modified="false" />
275           <para>ASN.1 DER is the only certificate format supported by this class.  Calling this constructor with the correct password decrypts the private key and saves it to a key container.</para>
276           <block subset="none" type="note">
277             <para>Never hard code a password within your source code.  Hard-coded passwords can be retrieved from an assembly using the <format type="text/html"><a href="db27f6b2-f1ec-499e-be3a-7eecf95ca42b">MSIL Disassembler (Ildasm.exe)</a></format>, a hex editor, or by simply opening the assembly in a text editor such as Notepad.exe. </para>
278           </block>
279           <para>If you create an <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> certificate by specifying a PKCS7 signed file store for <paramref name="fileName" />, the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> is created for the certificate that signed the store rather than for any of the certificates within the store. </para>
280         </remarks>
281         <summary>
282           <attribution license="cc4" from="Microsoft" modified="false" />
283           <para>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> class using a certificate file name and a password.</para>
284         </summary>
285         <param name="fileName">
286           <attribution license="cc4" from="Microsoft" modified="false" />The name of a certificate file. </param>
287         <param name="password">
288           <attribution license="cc4" from="Microsoft" modified="false" />The password required to access the X.509 certificate data. </param>
289       </Docs>
290     </Member>
291     <Member MemberName=".ctor">
292       <MemberSignature Language="C#" Value="public X509Certificate (string fileName, string password);" />
293       <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string fileName, string password) cil managed" />
294       <MemberType>Constructor</MemberType>
295       <AssemblyInfo>
296         <AssemblyVersion>2.0.0.0</AssemblyVersion>
297         <AssemblyVersion>4.0.0.0</AssemblyVersion>
298       </AssemblyInfo>
299       <Parameters>
300         <Parameter Name="fileName" Type="System.String" />
301         <Parameter Name="password" Type="System.String" />
302       </Parameters>
303       <Docs>
304         <since version=".NET 2.0" />
305         <remarks>
306           <attribution license="cc4" from="Microsoft" modified="false" />
307           <para>ASN.1 DER is the only certificate format supported by this class.  Calling this constructor with the correct password decrypts the private key and saves it to a key container.</para>
308           <para>If you create an <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> certificate by specifying a PKCS7 signed file store for <paramref name="fileName" />, the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> is created for the certificate that signed the store rather than for any of the certificates within the store. </para>
309         </remarks>
310         <summary>
311           <attribution license="cc4" from="Microsoft" modified="false" />
312           <para>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> class using the name of a PKCS7 signed file and a password to access the certificate.</para>
313         </summary>
314         <param name="fileName">
315           <attribution license="cc4" from="Microsoft" modified="false" />The name of a PKCS7 signed file. </param>
316         <param name="password">
317           <attribution license="cc4" from="Microsoft" modified="false" />The password required to access the X.509 certificate data. </param>
318       </Docs>
319     </Member>
320     <Member MemberName=".ctor">
321       <MemberSignature Language="C#" Value="public X509Certificate (byte[] rawData, System.Security.SecureString password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags);" />
322       <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(unsigned int8[] rawData, class System.Security.SecureString password, valuetype System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) cil managed" />
323       <MemberType>Constructor</MemberType>
324       <AssemblyInfo>
325         <AssemblyVersion>2.0.0.0</AssemblyVersion>
326         <AssemblyVersion>4.0.0.0</AssemblyVersion>
327       </AssemblyInfo>
328       <Parameters>
329         <Parameter Name="rawData" Type="System.Byte[]" />
330         <Parameter Name="password" Type="System.Security.SecureString" />
331         <Parameter Name="keyStorageFlags" Type="System.Security.Cryptography.X509Certificates.X509KeyStorageFlags" />
332       </Parameters>
333       <Docs>
334         <since version=".NET 2.0" />
335         <remarks>
336           <attribution license="cc4" from="Microsoft" modified="false" />
337           <para>Calling this constructor with the correct password decrypts the private key and saves it to a Microsoft Cryptographic API Cryptographic Service Provider (CSP).</para>
338           <para>ASN.1 DER is the only certificate format supported by this class.</para>
339           <block subset="none" type="note">
340             <para>Never hard code a password within your source code.  Hard-coded passwords can be retrieved from an assembly using the <format type="text/html"><a href="db27f6b2-f1ec-499e-be3a-7eecf95ca42b">MSIL Disassembler (Ildasm.exe)</a></format>, a hex editor, or by simply opening the assembly in a text editor such as Notepad.exe. </para>
341           </block>
342           <para>If you create an <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> certificate by specifying a PKCS7 signed file store for <paramref name="rawData" />, the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> is created for the certificate that signed the store rather than for any of the certificates within the store. </para>
343         </remarks>
344         <summary>
345           <attribution license="cc4" from="Microsoft" modified="false" />
346           <para>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> class using a byte array, a password, and a key storage flag.</para>
347         </summary>
348         <param name="rawData">
349           <attribution license="cc4" from="Microsoft" modified="false" />A byte array that contains data from an X.509 certificate. </param>
350         <param name="password">
351           <attribution license="cc4" from="Microsoft" modified="false" />The password required to access the X.509 certificate data. </param>
352         <param name="keyStorageFlags">
353           <attribution license="cc4" from="Microsoft" modified="false" />A bitwise combination of the enumeration values that control where and how to import the certificate. </param>
354       </Docs>
355     </Member>
356     <Member MemberName=".ctor">
357       <MemberSignature Language="C#" Value="public X509Certificate (byte[] rawData, string password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags);" />
358       <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(unsigned int8[] rawData, string password, valuetype System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) cil managed" />
359       <MemberType>Constructor</MemberType>
360       <AssemblyInfo>
361         <AssemblyVersion>2.0.0.0</AssemblyVersion>
362         <AssemblyVersion>4.0.0.0</AssemblyVersion>
363       </AssemblyInfo>
364       <Parameters>
365         <Parameter Name="rawData" Type="System.Byte[]" />
366         <Parameter Name="password" Type="System.String" />
367         <Parameter Name="keyStorageFlags" Type="System.Security.Cryptography.X509Certificates.X509KeyStorageFlags" />
368       </Parameters>
369       <Docs>
370         <since version=".NET 2.0" />
371         <remarks>
372           <attribution license="cc4" from="Microsoft" modified="false" />
373           <para>This constructor creates a new <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object using a byte array, a password that is needed to access the certificate data, and a key storage flag.  Calling this constructor with the correct password decrypts the private key and saves it to a Microsoft Cryptographic API Cryptographic Service Provider (CSP). </para>
374           <para>The <see cref="T:System.Security.Cryptography.X509Certificates.X509KeyStorageFlags" /> value can be used to control where and how the private key is imported.</para>
375           <para>ASN.1 DER is the only certificate format supported by this class.</para>
376           <block subset="none" type="note">
377             <para>Never hard code a password within your source code.  Hard-coded passwords can be retrieved from an assembly using the <format type="text/html"><a href="db27f6b2-f1ec-499e-be3a-7eecf95ca42b">MSIL Disassembler (Ildasm.exe)</a></format>, a hex editor, or by simply opening the assembly in a text editor such as Notepad.exe. </para>
378           </block>
379           <para>If you create an <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> certificate by specifying a PKCS7 signed file store for <paramref name="rawData" />, the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> is created for the certificate that signed the store rather than for any of the certificates within the store. </para>
380         </remarks>
381         <summary>
382           <attribution license="cc4" from="Microsoft" modified="false" />
383           <para>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> class using a byte array, a password, and a key storage flag.</para>
384         </summary>
385         <param name="rawData">
386           <attribution license="cc4" from="Microsoft" modified="false" />A byte array containing data from an X.509 certificate. </param>
387         <param name="password">
388           <attribution license="cc4" from="Microsoft" modified="false" />The password required to access the X.509 certificate data. </param>
389         <param name="keyStorageFlags">
390           <attribution license="cc4" from="Microsoft" modified="false" />A bitwise combination of the enumeration values that control where and how to import the certificate. </param>
391       </Docs>
392     </Member>
393     <Member MemberName=".ctor">
394       <MemberSignature Language="C#" Value="public X509Certificate (string fileName, System.Security.SecureString password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags);" />
395       <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string fileName, class System.Security.SecureString password, valuetype System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) cil managed" />
396       <MemberType>Constructor</MemberType>
397       <AssemblyInfo>
398         <AssemblyVersion>2.0.0.0</AssemblyVersion>
399         <AssemblyVersion>4.0.0.0</AssemblyVersion>
400       </AssemblyInfo>
401       <Parameters>
402         <Parameter Name="fileName" Type="System.String" />
403         <Parameter Name="password" Type="System.Security.SecureString" />
404         <Parameter Name="keyStorageFlags" Type="System.Security.Cryptography.X509Certificates.X509KeyStorageFlags" />
405       </Parameters>
406       <Docs>
407         <since version=".NET 2.0" />
408         <remarks>
409           <attribution license="cc4" from="Microsoft" modified="false" />
410           <para>If you create an <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> certificate by specifying a PKCS7 signed file store for <paramref name="fileName" />, the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> is created for the certificate that signed the store rather than for any of the certificates within the store. </para>
411         </remarks>
412         <summary>
413           <attribution license="cc4" from="Microsoft" modified="false" />
414           <para>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> class using a certificate file name, a password, and a key storage flag. </para>
415         </summary>
416         <param name="fileName">
417           <attribution license="cc4" from="Microsoft" modified="false" />The name of a certificate file. </param>
418         <param name="password">
419           <attribution license="cc4" from="Microsoft" modified="false" />The password required to access the X.509 certificate data. </param>
420         <param name="keyStorageFlags">
421           <attribution license="cc4" from="Microsoft" modified="false" />A bitwise combination of the enumeration values that control where and how to import the certificate. </param>
422       </Docs>
423     </Member>
424     <Member MemberName=".ctor">
425       <MemberSignature Language="C#" Value="public X509Certificate (string fileName, string password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags);" />
426       <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string fileName, string password, valuetype System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) cil managed" />
427       <MemberType>Constructor</MemberType>
428       <AssemblyInfo>
429         <AssemblyVersion>2.0.0.0</AssemblyVersion>
430         <AssemblyVersion>4.0.0.0</AssemblyVersion>
431       </AssemblyInfo>
432       <Parameters>
433         <Parameter Name="fileName" Type="System.String" />
434         <Parameter Name="password" Type="System.String" />
435         <Parameter Name="keyStorageFlags" Type="System.Security.Cryptography.X509Certificates.X509KeyStorageFlags" />
436       </Parameters>
437       <Docs>
438         <since version=".NET 2.0" />
439         <remarks>
440           <attribution license="cc4" from="Microsoft" modified="false" />
441           <para>If you create an <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> certificate by specifying a PKCS7 signed file store for <paramref name="fileName" />, the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> is created for the certificate that signed the store rather than for any of the certificates within the store. </para>
442         </remarks>
443         <summary>
444           <attribution license="cc4" from="Microsoft" modified="false" />
445           <para>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> class using the name of a PKCS7 signed file, a password to access the certificate, and a key storage flag. </para>
446         </summary>
447         <param name="fileName">
448           <attribution license="cc4" from="Microsoft" modified="false" />The name of a PKCS7 signed file. </param>
449         <param name="password">
450           <attribution license="cc4" from="Microsoft" modified="false" />The password required to access the X.509 certificate data. </param>
451         <param name="keyStorageFlags">
452           <attribution license="cc4" from="Microsoft" modified="false" />A bitwise combination of the enumeration values that control where and how to import the certificate. </param>
453       </Docs>
454     </Member>
455     <Member MemberName="CreateFromCertFile">
456       <MemberSignature Language="C#" Value="public static System.Security.Cryptography.X509Certificates.X509Certificate CreateFromCertFile (string filename);" />
457       <MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Security.Cryptography.X509Certificates.X509Certificate CreateFromCertFile(string filename) cil managed" />
458       <MemberType>Method</MemberType>
459       <AssemblyInfo>
460         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
461         <AssemblyVersion>2.0.0.0</AssemblyVersion>
462         <AssemblyVersion>4.0.0.0</AssemblyVersion>
463       </AssemblyInfo>
464       <ReturnValue>
465         <ReturnType>System.Security.Cryptography.X509Certificates.X509Certificate</ReturnType>
466       </ReturnValue>
467       <Parameters>
468         <Parameter Name="filename" Type="System.String" />
469       </Parameters>
470       <Docs>
471         <remarks>
472           <attribution license="cc4" from="Microsoft" modified="false" />
473           <para>ASN.1 DER is the only certificate format supported by this class. </para>
474           <block subset="none" type="note">
475             <para>The certificate file is not restricted to .cer files. Any PKCS7 signed file can be used, including an Authenticode signed .pfx file.</para>
476           </block>
477         </remarks>
478         <summary>
479           <attribution license="cc4" from="Microsoft" modified="false" />
480           <para>Creates an X.509v3 certificate from the specified PKCS7 signed file.</para>
481         </summary>
482         <returns>
483           <attribution license="cc4" from="Microsoft" modified="false" />
484           <para>The newly created X.509 certificate.</para>
485         </returns>
486         <param name="filename">
487           <attribution license="cc4" from="Microsoft" modified="false" />The path of the PKCS7 signed file from which to create the X.509 certificate. </param>
488       </Docs>
489     </Member>
490     <Member MemberName="CreateFromSignedFile">
491       <MemberSignature Language="C#" Value="public static System.Security.Cryptography.X509Certificates.X509Certificate CreateFromSignedFile (string filename);" />
492       <MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Security.Cryptography.X509Certificates.X509Certificate CreateFromSignedFile(string filename) cil managed" />
493       <MemberType>Method</MemberType>
494       <AssemblyInfo>
495         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
496         <AssemblyVersion>2.0.0.0</AssemblyVersion>
497         <AssemblyVersion>4.0.0.0</AssemblyVersion>
498       </AssemblyInfo>
499       <ReturnValue>
500         <ReturnType>System.Security.Cryptography.X509Certificates.X509Certificate</ReturnType>
501       </ReturnValue>
502       <Parameters>
503         <Parameter Name="filename" Type="System.String" />
504       </Parameters>
505       <Docs>
506         <remarks>
507           <attribution license="cc4" from="Microsoft" modified="false" />
508           <para>ASN.1 DER is the only certificate format supported by this class.</para>
509         </remarks>
510         <summary>
511           <attribution license="cc4" from="Microsoft" modified="false" />
512           <para>Creates an X.509v3 certificate from the specified signed file.</para>
513         </summary>
514         <returns>
515           <attribution license="cc4" from="Microsoft" modified="false" />
516           <para>The newly created X.509 certificate.</para>
517         </returns>
518         <param name="filename">
519           <attribution license="cc4" from="Microsoft" modified="false" />The path of the signed file from which to create the X.509 certificate. </param>
520       </Docs>
521     </Member>
522     <Member MemberName="Equals">
523       <MemberSignature Language="C#" Value="public override bool Equals (object obj);" />
524       <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Equals(object obj) cil managed" />
525       <MemberType>Method</MemberType>
526       <AssemblyInfo>
527         <AssemblyVersion>2.0.0.0</AssemblyVersion>
528         <AssemblyVersion>4.0.0.0</AssemblyVersion>
529       </AssemblyInfo>
530       <Attributes>
531         <Attribute>
532           <AttributeName>System.Runtime.InteropServices.ComVisible(false)</AttributeName>
533         </Attribute>
534       </Attributes>
535       <ReturnValue>
536         <ReturnType>System.Boolean</ReturnType>
537       </ReturnValue>
538       <Parameters>
539         <Parameter Name="obj" Type="System.Object" />
540       </Parameters>
541       <Docs>
542         <since version=".NET 2.0" />
543         <remarks>
544           <attribution license="cc4" from="Microsoft" modified="false" />
545           <para>Two objects are considered equal if they are <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> objects and they have the same issuer and serial number.</para>
546         </remarks>
547         <summary>
548           <attribution license="cc4" from="Microsoft" modified="false" />
549           <para>Compares two <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> objects for equality.</para>
550         </summary>
551         <returns>
552           <attribution license="cc4" from="Microsoft" modified="false" />
553           <para>true if the current <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object is equal to the object specified by the <paramref name="other" /> parameter; otherwise, false.</para>
554         </returns>
555         <param name="obj">
556           <attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object to compare to the current object. </param>
557       </Docs>
558     </Member>
559     <Member MemberName="Equals">
560       <MemberSignature Language="C#" Value="public virtual bool Equals (System.Security.Cryptography.X509Certificates.X509Certificate other);" />
561       <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool Equals(class System.Security.Cryptography.X509Certificates.X509Certificate other) cil managed" />
562       <MemberType>Method</MemberType>
563       <AssemblyInfo>
564         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
565         <AssemblyVersion>2.0.0.0</AssemblyVersion>
566         <AssemblyVersion>4.0.0.0</AssemblyVersion>
567       </AssemblyInfo>
568       <ReturnValue>
569         <ReturnType>System.Boolean</ReturnType>
570       </ReturnValue>
571       <Parameters>
572         <Parameter Name="other" Type="System.Security.Cryptography.X509Certificates.X509Certificate" />
573       </Parameters>
574       <Docs>
575         <remarks>
576           <attribution license="cc4" from="Microsoft" modified="false" />
577           <para>Two <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> objects are considered equal if they have the same issuer and serial number.</para>
578         </remarks>
579         <summary>
580           <attribution license="cc4" from="Microsoft" modified="false" />
581           <para>Compares two <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> objects for equality.</para>
582         </summary>
583         <returns>
584           <attribution license="cc4" from="Microsoft" modified="false" />
585           <para>true if the current <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object is equal to the object specified by the <paramref name="other" /> parameter; otherwise, false.</para>
586         </returns>
587         <param name="other">
588           <attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object to compare to the current object.</param>
589       </Docs>
590     </Member>
591     <Member MemberName="Export">
592       <MemberSignature Language="C#" Value="public virtual byte[] Export (System.Security.Cryptography.X509Certificates.X509ContentType contentType);" />
593       <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance unsigned int8[] Export(valuetype System.Security.Cryptography.X509Certificates.X509ContentType contentType) cil managed" />
594       <MemberType>Method</MemberType>
595       <AssemblyInfo>
596         <AssemblyVersion>2.0.0.0</AssemblyVersion>
597         <AssemblyVersion>4.0.0.0</AssemblyVersion>
598       </AssemblyInfo>
599       <Attributes>
600         <Attribute>
601           <AttributeName>System.Runtime.InteropServices.ComVisible(false)</AttributeName>
602         </Attribute>
603       </Attributes>
604       <ReturnValue>
605         <ReturnType>System.Byte[]</ReturnType>
606       </ReturnValue>
607       <Parameters>
608         <Parameter Name="contentType" Type="System.Security.Cryptography.X509Certificates.X509ContentType" />
609       </Parameters>
610       <Docs>
611         <since version=".NET 2.0" />
612         <remarks>
613           <attribution license="cc4" from="Microsoft" modified="false" />
614           <para>The <paramref name="contentType" /> parameter accepts only the following values of the <see cref="T:System.Security.Cryptography.X509Certificates.X509ContentType" /> enumeration: <see cref="F:System.Security.Cryptography.X509Certificates.X509ContentType.Cert" />, <see cref="F:System.Security.Cryptography.X509Certificates.X509ContentType.SerializedCert" />, and <see cref="F:System.Security.Cryptography.X509Certificates.X509ContentType.Pkcs12" />.  Passing any other value causes a <see cref="T:System.Security.Cryptography.CryptographicException" /> to be thrown. </para>
615         </remarks>
616         <summary>
617           <attribution license="cc4" from="Microsoft" modified="false" />
618           <para>Exports the current <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object to a byte array in a format described by one of the <see cref="T:System.Security.Cryptography.X509Certificates.X509ContentType" /> values. </para>
619         </summary>
620         <returns>
621           <attribution license="cc4" from="Microsoft" modified="false" />
622           <para>An array of bytes that represents the current <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object.</para>
623         </returns>
624         <param name="contentType">
625           <attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Security.Cryptography.X509Certificates.X509ContentType" /> values that describes how to format the output data. </param>
626       </Docs>
627     </Member>
628     <Member MemberName="Export">
629       <MemberSignature Language="C#" Value="public virtual byte[] Export (System.Security.Cryptography.X509Certificates.X509ContentType contentType, System.Security.SecureString password);" />
630       <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance unsigned int8[] Export(valuetype System.Security.Cryptography.X509Certificates.X509ContentType contentType, class System.Security.SecureString password) cil managed" />
631       <MemberType>Method</MemberType>
632       <AssemblyInfo>
633         <AssemblyVersion>2.0.0.0</AssemblyVersion>
634         <AssemblyVersion>4.0.0.0</AssemblyVersion>
635       </AssemblyInfo>
636       <ReturnValue>
637         <ReturnType>System.Byte[]</ReturnType>
638       </ReturnValue>
639       <Parameters>
640         <Parameter Name="contentType" Type="System.Security.Cryptography.X509Certificates.X509ContentType" />
641         <Parameter Name="password" Type="System.Security.SecureString" />
642       </Parameters>
643       <Docs>
644         <since version=".NET 2.0" />
645         <remarks>
646           <attribution license="cc4" from="Microsoft" modified="false" />
647           <para>The <paramref name="contentType" /> parameter accepts only the following values of the <see cref="T:System.Security.Cryptography.X509Certificates.X509ContentType" /> enumeration: <see cref="F:System.Security.Cryptography.X509Certificates.X509ContentType.Cert" />, <see cref="F:System.Security.Cryptography.X509Certificates.X509ContentType.SerializedCert" />, and <see cref="F:System.Security.Cryptography.X509Certificates.X509ContentType.Pkcs12" />.  Passing any other value causes a <see cref="T:System.Security.Cryptography.CryptographicException" /> to be thrown. </para>
648           <block subset="none" type="note">
649             <para>Never hard code a password within your source code.  Hard-coded passwords can be retrieved from an assembly using the <format type="text/html"><a href="db27f6b2-f1ec-499e-be3a-7eecf95ca42b">MSIL Disassembler (Ildasm.exe)</a></format>, a hex editor, or by simply opening the assembly in a text editor such as Notepad.exe. </para>
650           </block>
651         </remarks>
652         <summary>
653           <attribution license="cc4" from="Microsoft" modified="false" />
654           <para>Exports the current <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object to a byte array using the specified format and a password.</para>
655         </summary>
656         <returns>
657           <attribution license="cc4" from="Microsoft" modified="false" />
658           <para>A byte array that represents the current <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object.</para>
659         </returns>
660         <param name="contentType">
661           <attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Security.Cryptography.X509Certificates.X509ContentType" /> values that describes how to format the output data.</param>
662         <param name="password">
663           <attribution license="cc4" from="Microsoft" modified="false" />The password required to access the X.509 certificate data.</param>
664       </Docs>
665     </Member>
666     <Member MemberName="Export">
667       <MemberSignature Language="C#" Value="public virtual byte[] Export (System.Security.Cryptography.X509Certificates.X509ContentType contentType, string password);" />
668       <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance unsigned int8[] Export(valuetype System.Security.Cryptography.X509Certificates.X509ContentType contentType, string password) cil managed" />
669       <MemberType>Method</MemberType>
670       <AssemblyInfo>
671         <AssemblyVersion>2.0.0.0</AssemblyVersion>
672         <AssemblyVersion>4.0.0.0</AssemblyVersion>
673       </AssemblyInfo>
674       <Attributes>
675         <Attribute>
676           <AttributeName>System.Runtime.InteropServices.ComVisible(false)</AttributeName>
677         </Attribute>
678       </Attributes>
679       <ReturnValue>
680         <ReturnType>System.Byte[]</ReturnType>
681       </ReturnValue>
682       <Parameters>
683         <Parameter Name="contentType" Type="System.Security.Cryptography.X509Certificates.X509ContentType" />
684         <Parameter Name="password" Type="System.String" />
685       </Parameters>
686       <Docs>
687         <since version=".NET 2.0" />
688         <remarks>
689           <attribution license="cc4" from="Microsoft" modified="false" />
690           <para>The <paramref name="contentType" /> parameter accepts only the following values of the <see cref="T:System.Security.Cryptography.X509Certificates.X509ContentType" /> enumeration: <see cref="F:System.Security.Cryptography.X509Certificates.X509ContentType.Cert" />, <see cref="F:System.Security.Cryptography.X509Certificates.X509ContentType.SerializedCert" />, and <see cref="F:System.Security.Cryptography.X509Certificates.X509ContentType.Pkcs12" />.  Passing any other value causes a <see cref="T:System.Security.Cryptography.CryptographicException" /> to be thrown. </para>
691           <block subset="none" type="note">
692             <para>Never hard code a password within your source code.  Hard-coded passwords can be retrieved from an assembly using the <format type="text/html"><a href="db27f6b2-f1ec-499e-be3a-7eecf95ca42b">MSIL Disassembler (Ildasm.exe)</a></format>, a hex editor, or by simply opening the assembly in a text editor such as Notepad.exe. </para>
693           </block>
694         </remarks>
695         <summary>
696           <attribution license="cc4" from="Microsoft" modified="false" />
697           <para>Exports the current <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object to a byte array in a format described by one of the <see cref="T:System.Security.Cryptography.X509Certificates.X509ContentType" /> values, and using the specified password.</para>
698         </summary>
699         <returns>
700           <attribution license="cc4" from="Microsoft" modified="false" />
701           <para>An array of bytes that represents the current <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object.</para>
702         </returns>
703         <param name="contentType">
704           <attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Security.Cryptography.X509Certificates.X509ContentType" /> values that describes how to format the output data.</param>
705         <param name="password">
706           <attribution license="cc4" from="Microsoft" modified="false" />The password required to access the X.509 certificate data.</param>
707       </Docs>
708     </Member>
709     <Member MemberName="FormatDate">
710       <MemberSignature Language="C#" Value="protected static string FormatDate (DateTime date);" />
711       <MemberSignature Language="ILAsm" Value=".method familystatic hidebysig string FormatDate(valuetype System.DateTime date) cil managed" />
712       <MemberType>Method</MemberType>
713       <AssemblyInfo>
714         <AssemblyVersion>4.0.0.0</AssemblyVersion>
715       </AssemblyInfo>
716       <ReturnValue>
717         <ReturnType>System.String</ReturnType>
718       </ReturnValue>
719       <Parameters>
720         <Parameter Name="date" Type="System.DateTime" />
721       </Parameters>
722       <Docs>
723         <remarks>
724           <attribution license="cc4" from="Microsoft" modified="false" />
725           <para>Some cultures cannot convert future dates into strings. If the expiration date of an X.509 certificate is beyond the range of the culture, <see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate.FormatDate(System.DateTime)" /> falls back to a calendar that can express the date. If the <see cref="P:System.Globalization.CultureInfo.Calendar" /> value is <see cref="T:System.Globalization.UmAlQuraCalendar" />, the calendar is changed to the <see cref="T:System.Globalization.HijriCalendar" /> class; otherwise, it is changed to the <see cref="P:System.Globalization.CultureInfo.InvariantCulture" />.</para>
726         </remarks>
727         <summary>
728           <attribution license="cc4" from="Microsoft" modified="false" />
729           <para>Converts the specified date and time to a string.</para>
730         </summary>
731         <returns>
732           <attribution license="cc4" from="Microsoft" modified="false" />
733           <para>A string representation of the value of the <see cref="T:System.DateTime" /> object.</para>
734         </returns>
735         <param name="date">
736           <attribution license="cc4" from="Microsoft" modified="false" />The date and time to convert.</param>
737       </Docs>
738     </Member>
739     <Member MemberName="GetCertHash">
740       <MemberSignature Language="C#" Value="public virtual byte[] GetCertHash ();" />
741       <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance unsigned int8[] GetCertHash() cil managed" />
742       <MemberType>Method</MemberType>
743       <AssemblyInfo>
744         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
745         <AssemblyVersion>2.0.0.0</AssemblyVersion>
746         <AssemblyVersion>4.0.0.0</AssemblyVersion>
747       </AssemblyInfo>
748       <ReturnValue>
749         <ReturnType>System.Byte[]</ReturnType>
750       </ReturnValue>
751       <Parameters />
752       <Docs>
753         <remarks>This is similar to the thumbprint used in many certificate viewers.</remarks>
754         <summary>
755           <attribution license="cc4" from="Microsoft" modified="false" />
756           <para>Returns the hash value for the X.509v3 certificate as an array of bytes.</para>
757         </summary>
758         <returns>
759           <attribution license="cc4" from="Microsoft" modified="false" />
760           <para>The hash value for the X.509 certificate.</para>
761         </returns>
762       </Docs>
763     </Member>
764     <Member MemberName="GetCertHashString">
765       <MemberSignature Language="C#" Value="public virtual string GetCertHashString ();" />
766       <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance string GetCertHashString() cil managed" />
767       <MemberType>Method</MemberType>
768       <AssemblyInfo>
769         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
770         <AssemblyVersion>2.0.0.0</AssemblyVersion>
771         <AssemblyVersion>4.0.0.0</AssemblyVersion>
772       </AssemblyInfo>
773       <ReturnValue>
774         <ReturnType>System.String</ReturnType>
775       </ReturnValue>
776       <Parameters />
777       <Docs>
778         <remarks>This is similar to the thumbprint used in many certificate viewers.</remarks>
779         <summary>
780           <attribution license="cc4" from="Microsoft" modified="false" />
781           <para>Returns the SHA1 hash value for the X.509v3 certificate as a hexadecimal string.</para>
782         </summary>
783         <returns>
784           <attribution license="cc4" from="Microsoft" modified="false" />
785           <para>The hexadecimal string representation of the X.509 certificate hash value.</para>
786         </returns>
787       </Docs>
788     </Member>
789     <Member MemberName="GetEffectiveDateString">
790       <MemberSignature Language="C#" Value="public virtual string GetEffectiveDateString ();" />
791       <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance string GetEffectiveDateString() cil managed" />
792       <MemberType>Method</MemberType>
793       <AssemblyInfo>
794         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
795         <AssemblyVersion>2.0.0.0</AssemblyVersion>
796         <AssemblyVersion>4.0.0.0</AssemblyVersion>
797       </AssemblyInfo>
798       <ReturnValue>
799         <ReturnType>System.String</ReturnType>
800       </ReturnValue>
801       <Parameters />
802       <Docs>
803         <remarks>
804           <attribution license="cc4" from="Microsoft" modified="false" />
805           <para>The effective date is the date after which the X.509 certificate is considered valid.</para>
806           <para>The <see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate.GetEffectiveDateString" /> method returns a string that shows the date formatted in Short Date Pattern followed by the time formatted in Long Time Pattern.  The date and time are formatted using the current culture and time zone.   </para>
807         </remarks>
808         <summary>
809           <attribution license="cc4" from="Microsoft" modified="false" />
810           <para>Returns the effective date of this X.509v3 certificate.</para>
811         </summary>
812         <returns>
813           <attribution license="cc4" from="Microsoft" modified="false" />
814           <para>The effective date for this X.509 certificate.</para>
815         </returns>
816       </Docs>
817     </Member>
818     <Member MemberName="GetExpirationDateString">
819       <MemberSignature Language="C#" Value="public virtual string GetExpirationDateString ();" />
820       <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance string GetExpirationDateString() cil managed" />
821       <MemberType>Method</MemberType>
822       <AssemblyInfo>
823         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
824         <AssemblyVersion>2.0.0.0</AssemblyVersion>
825         <AssemblyVersion>4.0.0.0</AssemblyVersion>
826       </AssemblyInfo>
827       <ReturnValue>
828         <ReturnType>System.String</ReturnType>
829       </ReturnValue>
830       <Parameters />
831       <Docs>
832         <remarks>
833           <attribution license="cc4" from="Microsoft" modified="false" />
834           <para>The expiration date is the date after which the X.509 certificate is no longer considered valid.</para>
835           <para>The <see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate.GetExpirationDateString" /> method returns a string that shows the date formatted in Short Date Pattern followed by the time formatted in Long Time Pattern.  The date and time are formatted using the current culture and time zone.</para>
836           <block subset="none" type="note">
837             <para>This method may return a different string format on Macintosh computers, although the underlying <see cref="T:System.DateTime" /> object will represent the same value.</para>
838           </block>
839         </remarks>
840         <summary>
841           <attribution license="cc4" from="Microsoft" modified="false" />
842           <para>Returns the expiration date of this X.509v3 certificate.</para>
843         </summary>
844         <returns>
845           <attribution license="cc4" from="Microsoft" modified="false" />
846           <para>The expiration date for this X.509 certificate.</para>
847         </returns>
848       </Docs>
849     </Member>
850     <Member MemberName="GetFormat">
851       <MemberSignature Language="C#" Value="public virtual string GetFormat ();" />
852       <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance string GetFormat() cil managed" />
853       <MemberType>Method</MemberType>
854       <AssemblyInfo>
855         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
856         <AssemblyVersion>2.0.0.0</AssemblyVersion>
857         <AssemblyVersion>4.0.0.0</AssemblyVersion>
858       </AssemblyInfo>
859       <ReturnValue>
860         <ReturnType>System.String</ReturnType>
861       </ReturnValue>
862       <Parameters />
863       <Docs>
864         <remarks>
865           <attribution license="cc4" from="Microsoft" modified="false" />
866           <para>The format X.509 is always returned in this implementation.</para>
867         </remarks>
868         <summary>
869           <attribution license="cc4" from="Microsoft" modified="false" />
870           <para>Returns the name of the format of this X.509v3 certificate.</para>
871         </summary>
872         <returns>
873           <attribution license="cc4" from="Microsoft" modified="false" />
874           <para>The format of this X.509 certificate.</para>
875         </returns>
876       </Docs>
877     </Member>
878     <Member MemberName="GetHashCode">
879       <MemberSignature Language="C#" Value="public override int GetHashCode ();" />
880       <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetHashCode() cil managed" />
881       <MemberType>Method</MemberType>
882       <AssemblyInfo>
883         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
884         <AssemblyVersion>2.0.0.0</AssemblyVersion>
885         <AssemblyVersion>4.0.0.0</AssemblyVersion>
886       </AssemblyInfo>
887       <ReturnValue>
888         <ReturnType>System.Int32</ReturnType>
889       </ReturnValue>
890       <Parameters />
891       <Docs>
892         <remarks>
893           <attribution license="cc4" from="Microsoft" modified="false" />
894           <para>If the X.509 certificate hash is an array of more than 4 bytes, any byte after the fourth byte is not seen in this integer representation.</para>
895         </remarks>
896         <summary>
897           <attribution license="cc4" from="Microsoft" modified="false" />
898           <para>Returns the hash code for the X.509v3 certificate as an integer.</para>
899         </summary>
900         <returns>
901           <attribution license="cc4" from="Microsoft" modified="false" />
902           <para>The hash code for the X.509 certificate as an integer.</para>
903         </returns>
904       </Docs>
905     </Member>
906     <Member MemberName="GetIssuerName">
907       <MemberSignature Language="C#" Value="public virtual string GetIssuerName ();" />
908       <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance string GetIssuerName() cil managed" />
909       <MemberType>Method</MemberType>
910       <AssemblyInfo>
911         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
912         <AssemblyVersion>2.0.0.0</AssemblyVersion>
913         <AssemblyVersion>4.0.0.0</AssemblyVersion>
914       </AssemblyInfo>
915       <Attributes>
916         <Attribute>
917           <AttributeName>System.Obsolete("Use the Issuer property.")</AttributeName>
918         </Attribute>
919       </Attributes>
920       <ReturnValue>
921         <ReturnType>System.String</ReturnType>
922       </ReturnValue>
923       <Parameters />
924       <Docs>
925         <remarks>To be added</remarks>
926         <summary>
927           <attribution license="cc4" from="Microsoft" modified="false" />
928           <para>Returns the name of the certification authority that issued the X.509v3 certificate.</para>
929         </summary>
930         <returns>
931           <attribution license="cc4" from="Microsoft" modified="false" />
932           <para>The name of the certification authority that issued the X.509 certificate.</para>
933         </returns>
934       </Docs>
935     </Member>
936     <Member MemberName="GetKeyAlgorithm">
937       <MemberSignature Language="C#" Value="public virtual string GetKeyAlgorithm ();" />
938       <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance string GetKeyAlgorithm() cil managed" />
939       <MemberType>Method</MemberType>
940       <AssemblyInfo>
941         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
942         <AssemblyVersion>2.0.0.0</AssemblyVersion>
943         <AssemblyVersion>4.0.0.0</AssemblyVersion>
944       </AssemblyInfo>
945       <ReturnValue>
946         <ReturnType>System.String</ReturnType>
947       </ReturnValue>
948       <Parameters />
949       <Docs>
950         <remarks>To be added</remarks>
951         <summary>
952           <attribution license="cc4" from="Microsoft" modified="false" />
953           <para>Returns the key algorithm information for this X.509v3 certificate as a string.</para>
954         </summary>
955         <returns>
956           <attribution license="cc4" from="Microsoft" modified="false" />
957           <para>The key algorithm information for this X.509 certificate as a string.</para>
958         </returns>
959       </Docs>
960     </Member>
961     <Member MemberName="GetKeyAlgorithmParameters">
962       <MemberSignature Language="C#" Value="public virtual byte[] GetKeyAlgorithmParameters ();" />
963       <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance unsigned int8[] GetKeyAlgorithmParameters() cil managed" />
964       <MemberType>Method</MemberType>
965       <AssemblyInfo>
966         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
967         <AssemblyVersion>2.0.0.0</AssemblyVersion>
968         <AssemblyVersion>4.0.0.0</AssemblyVersion>
969       </AssemblyInfo>
970       <ReturnValue>
971         <ReturnType>System.Byte[]</ReturnType>
972       </ReturnValue>
973       <Parameters />
974       <Docs>
975         <remarks>To be added</remarks>
976         <summary>
977           <attribution license="cc4" from="Microsoft" modified="false" />
978           <para>Returns the key algorithm parameters for the X.509v3 certificate as an array of bytes.</para>
979         </summary>
980         <returns>
981           <attribution license="cc4" from="Microsoft" modified="false" />
982           <para>The key algorithm parameters for the X.509 certificate as an array of bytes.</para>
983         </returns>
984       </Docs>
985     </Member>
986     <Member MemberName="GetKeyAlgorithmParametersString">
987       <MemberSignature Language="C#" Value="public virtual string GetKeyAlgorithmParametersString ();" />
988       <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance string GetKeyAlgorithmParametersString() cil managed" />
989       <MemberType>Method</MemberType>
990       <AssemblyInfo>
991         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
992         <AssemblyVersion>2.0.0.0</AssemblyVersion>
993         <AssemblyVersion>4.0.0.0</AssemblyVersion>
994       </AssemblyInfo>
995       <ReturnValue>
996         <ReturnType>System.String</ReturnType>
997       </ReturnValue>
998       <Parameters />
999       <Docs>
1000         <remarks>To be added</remarks>
1001         <summary>
1002           <attribution license="cc4" from="Microsoft" modified="false" />
1003           <para>Returns the key algorithm parameters for the X.509v3 certificate as a hexadecimal string.</para>
1004         </summary>
1005         <returns>
1006           <attribution license="cc4" from="Microsoft" modified="false" />
1007           <para>The key algorithm parameters for the X.509 certificate as a hexadecimal string.</para>
1008         </returns>
1009       </Docs>
1010     </Member>
1011     <Member MemberName="GetName">
1012       <MemberSignature Language="C#" Value="public virtual string GetName ();" />
1013       <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance string GetName() cil managed" />
1014       <MemberType>Method</MemberType>
1015       <AssemblyInfo>
1016         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
1017         <AssemblyVersion>2.0.0.0</AssemblyVersion>
1018         <AssemblyVersion>4.0.0.0</AssemblyVersion>
1019       </AssemblyInfo>
1020       <Attributes>
1021         <Attribute>
1022           <AttributeName>System.Obsolete("Use the Subject property.")</AttributeName>
1023         </Attribute>
1024       </Attributes>
1025       <ReturnValue>
1026         <ReturnType>System.String</ReturnType>
1027       </ReturnValue>
1028       <Parameters />
1029       <Docs>
1030         <remarks>To be added</remarks>
1031         <summary>
1032           <attribution license="cc4" from="Microsoft" modified="false" />
1033           <para>Returns the name of the principal to which the certificate was issued.</para>
1034         </summary>
1035         <returns>
1036           <attribution license="cc4" from="Microsoft" modified="false" />
1037           <para>The name of the principal to which the certificate was issued.</para>
1038         </returns>
1039       </Docs>
1040     </Member>
1041     <Member MemberName="GetPublicKey">
1042       <MemberSignature Language="C#" Value="public virtual byte[] GetPublicKey ();" />
1043       <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance unsigned int8[] GetPublicKey() cil managed" />
1044       <MemberType>Method</MemberType>
1045       <AssemblyInfo>
1046         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
1047         <AssemblyVersion>2.0.0.0</AssemblyVersion>
1048         <AssemblyVersion>4.0.0.0</AssemblyVersion>
1049       </AssemblyInfo>
1050       <ReturnValue>
1051         <ReturnType>System.Byte[]</ReturnType>
1052       </ReturnValue>
1053       <Parameters />
1054       <Docs>
1055         <remarks>To be added</remarks>
1056         <summary>
1057           <attribution license="cc4" from="Microsoft" modified="false" />
1058           <para>Returns the public key for the X.509v3 certificate as an array of bytes.</para>
1059         </summary>
1060         <returns>
1061           <attribution license="cc4" from="Microsoft" modified="false" />
1062           <para>The public key for the X.509 certificate as an array of bytes.</para>
1063         </returns>
1064       </Docs>
1065     </Member>
1066     <Member MemberName="GetPublicKeyString">
1067       <MemberSignature Language="C#" Value="public virtual string GetPublicKeyString ();" />
1068       <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance string GetPublicKeyString() cil managed" />
1069       <MemberType>Method</MemberType>
1070       <AssemblyInfo>
1071         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
1072         <AssemblyVersion>2.0.0.0</AssemblyVersion>
1073         <AssemblyVersion>4.0.0.0</AssemblyVersion>
1074       </AssemblyInfo>
1075       <ReturnValue>
1076         <ReturnType>System.String</ReturnType>
1077       </ReturnValue>
1078       <Parameters />
1079       <Docs>
1080         <remarks>To be added</remarks>
1081         <summary>
1082           <attribution license="cc4" from="Microsoft" modified="false" />
1083           <para>Returns the public key for the X.509v3 certificate as a hexadecimal string.</para>
1084         </summary>
1085         <returns>
1086           <attribution license="cc4" from="Microsoft" modified="false" />
1087           <para>The public key for the X.509 certificate as a hexadecimal string.</para>
1088         </returns>
1089       </Docs>
1090     </Member>
1091     <Member MemberName="GetRawCertData">
1092       <MemberSignature Language="C#" Value="public virtual byte[] GetRawCertData ();" />
1093       <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance unsigned int8[] GetRawCertData() cil managed" />
1094       <MemberType>Method</MemberType>
1095       <AssemblyInfo>
1096         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
1097         <AssemblyVersion>2.0.0.0</AssemblyVersion>
1098         <AssemblyVersion>4.0.0.0</AssemblyVersion>
1099       </AssemblyInfo>
1100       <ReturnValue>
1101         <ReturnType>System.Byte[]</ReturnType>
1102       </ReturnValue>
1103       <Parameters />
1104       <Docs>
1105         <remarks>To be added</remarks>
1106         <summary>
1107           <attribution license="cc4" from="Microsoft" modified="false" />
1108           <para>Returns the raw data for the entire X.509v3 certificate as an array of bytes.</para>
1109         </summary>
1110         <returns>
1111           <attribution license="cc4" from="Microsoft" modified="false" />
1112           <para>A byte array containing the X.509 certificate data.</para>
1113         </returns>
1114       </Docs>
1115     </Member>
1116     <Member MemberName="GetRawCertDataString">
1117       <MemberSignature Language="C#" Value="public virtual string GetRawCertDataString ();" />
1118       <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance string GetRawCertDataString() cil managed" />
1119       <MemberType>Method</MemberType>
1120       <AssemblyInfo>
1121         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
1122         <AssemblyVersion>2.0.0.0</AssemblyVersion>
1123         <AssemblyVersion>4.0.0.0</AssemblyVersion>
1124       </AssemblyInfo>
1125       <ReturnValue>
1126         <ReturnType>System.String</ReturnType>
1127       </ReturnValue>
1128       <Parameters />
1129       <Docs>
1130         <remarks>To be added</remarks>
1131         <summary>
1132           <attribution license="cc4" from="Microsoft" modified="false" />
1133           <para>Returns the raw data for the entire X.509v3 certificate as a hexadecimal string.</para>
1134         </summary>
1135         <returns>
1136           <attribution license="cc4" from="Microsoft" modified="false" />
1137           <para>The X.509 certificate data as a hexadecimal string.</para>
1138         </returns>
1139       </Docs>
1140     </Member>
1141     <Member MemberName="GetSerialNumber">
1142       <MemberSignature Language="C#" Value="public virtual byte[] GetSerialNumber ();" />
1143       <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance unsigned int8[] GetSerialNumber() cil managed" />
1144       <MemberType>Method</MemberType>
1145       <AssemblyInfo>
1146         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
1147         <AssemblyVersion>2.0.0.0</AssemblyVersion>
1148         <AssemblyVersion>4.0.0.0</AssemblyVersion>
1149       </AssemblyInfo>
1150       <ReturnValue>
1151         <ReturnType>System.Byte[]</ReturnType>
1152       </ReturnValue>
1153       <Parameters />
1154       <Docs>
1155         <remarks>To be added</remarks>
1156         <summary>
1157           <attribution license="cc4" from="Microsoft" modified="false" />
1158           <para>Returns the serial number of the X.509v3 certificate as an array of bytes.</para>
1159         </summary>
1160         <returns>
1161           <attribution license="cc4" from="Microsoft" modified="false" />
1162           <para>The serial number of the X.509 certificate as an array of bytes.</para>
1163         </returns>
1164       </Docs>
1165     </Member>
1166     <Member MemberName="GetSerialNumberString">
1167       <MemberSignature Language="C#" Value="public virtual string GetSerialNumberString ();" />
1168       <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance string GetSerialNumberString() cil managed" />
1169       <MemberType>Method</MemberType>
1170       <AssemblyInfo>
1171         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
1172         <AssemblyVersion>2.0.0.0</AssemblyVersion>
1173         <AssemblyVersion>4.0.0.0</AssemblyVersion>
1174       </AssemblyInfo>
1175       <ReturnValue>
1176         <ReturnType>System.String</ReturnType>
1177       </ReturnValue>
1178       <Parameters />
1179       <Docs>
1180         <remarks>To be added</remarks>
1181         <summary>
1182           <attribution license="cc4" from="Microsoft" modified="false" />
1183           <para>Returns the serial number of the X.509v3 certificate as a hexadecimal string.</para>
1184         </summary>
1185         <returns>
1186           <attribution license="cc4" from="Microsoft" modified="false" />
1187           <para>The serial number of the X.509 certificate as a hexadecimal string.</para>
1188         </returns>
1189       </Docs>
1190     </Member>
1191     <Member MemberName="Handle">
1192       <MemberSignature Language="C#" Value="public IntPtr Handle { get; }" />
1193       <MemberSignature Language="ILAsm" Value=".property instance native int Handle" />
1194       <MemberType>Property</MemberType>
1195       <AssemblyInfo>
1196         <AssemblyVersion>2.0.0.0</AssemblyVersion>
1197         <AssemblyVersion>4.0.0.0</AssemblyVersion>
1198       </AssemblyInfo>
1199       <Attributes>
1200         <Attribute>
1201           <AttributeName>System.Runtime.InteropServices.ComVisible(false)</AttributeName>
1202         </Attribute>
1203       </Attributes>
1204       <ReturnValue>
1205         <ReturnType>System.IntPtr</ReturnType>
1206       </ReturnValue>
1207       <Docs>
1208         <value>To be added.</value>
1209         <since version=".NET 2.0" />
1210         <remarks>
1211           <attribution license="cc4" from="Microsoft" modified="false" />
1212           <para>The handle is valid only for the lifetime of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object.</para>
1213         </remarks>
1214         <summary>
1215           <attribution license="cc4" from="Microsoft" modified="false" />
1216           <para>Gets a handle to a Microsoft Cryptographic API certificate context described by an unmanaged PCCERT_CONTEXT structure. </para>
1217         </summary>
1218       </Docs>
1219     </Member>
1220     <Member MemberName="Import">
1221       <MemberSignature Language="C#" Value="public virtual void Import (byte[] rawData);" />
1222       <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Import(unsigned int8[] rawData) cil managed" />
1223       <MemberType>Method</MemberType>
1224       <AssemblyInfo>
1225         <AssemblyVersion>2.0.0.0</AssemblyVersion>
1226         <AssemblyVersion>4.0.0.0</AssemblyVersion>
1227       </AssemblyInfo>
1228       <Attributes>
1229         <Attribute>
1230           <AttributeName>System.Runtime.InteropServices.ComVisible(false)</AttributeName>
1231         </Attribute>
1232       </Attributes>
1233       <ReturnValue>
1234         <ReturnType>System.Void</ReturnType>
1235       </ReturnValue>
1236       <Parameters>
1237         <Parameter Name="rawData" Type="System.Byte[]" />
1238       </Parameters>
1239       <Docs>
1240         <since version=".NET 2.0" />
1241         <remarks>
1242           <attribution license="cc4" from="Microsoft" modified="false" />
1243           <para>This method can be used to take the raw byte array of an X.509 certificate and populate the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object with its associated values.</para>
1244         </remarks>
1245         <summary>
1246           <attribution license="cc4" from="Microsoft" modified="false" />
1247           <para>Populates the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object with data from a byte array.</para>
1248         </summary>
1249         <param name="rawData">
1250           <attribution license="cc4" from="Microsoft" modified="false" />A byte array containing data from an X.509 certificate. </param>
1251       </Docs>
1252     </Member>
1253     <Member MemberName="Import">
1254       <MemberSignature Language="C#" Value="public virtual void Import (string fileName);" />
1255       <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Import(string fileName) cil managed" />
1256       <MemberType>Method</MemberType>
1257       <AssemblyInfo>
1258         <AssemblyVersion>2.0.0.0</AssemblyVersion>
1259         <AssemblyVersion>4.0.0.0</AssemblyVersion>
1260       </AssemblyInfo>
1261       <Attributes>
1262         <Attribute>
1263           <AttributeName>System.Runtime.InteropServices.ComVisible(false)</AttributeName>
1264         </Attribute>
1265       </Attributes>
1266       <ReturnValue>
1267         <ReturnType>System.Void</ReturnType>
1268       </ReturnValue>
1269       <Parameters>
1270         <Parameter Name="fileName" Type="System.String" />
1271       </Parameters>
1272       <Docs>
1273         <since version=".NET 2.0" />
1274         <remarks>
1275           <attribution license="cc4" from="Microsoft" modified="false" />
1276           <para>This method uses a certificate file (such as a file with a .cer extension) that represents an X.509 certificate, and populates the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object with the certificate that the file contains.</para>
1277         </remarks>
1278         <summary>
1279           <attribution license="cc4" from="Microsoft" modified="false" />
1280           <para>Populates the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object with information from a certificate file.</para>
1281         </summary>
1282         <param name="fileName">
1283           <attribution license="cc4" from="Microsoft" modified="false" />The name of a certificate file represented as a string. </param>
1284       </Docs>
1285     </Member>
1286     <Member MemberName="Import">
1287       <MemberSignature Language="C#" Value="public virtual void Import (byte[] rawData, System.Security.SecureString password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags);" />
1288       <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Import(unsigned int8[] rawData, class System.Security.SecureString password, valuetype System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) cil managed" />
1289       <MemberType>Method</MemberType>
1290       <AssemblyInfo>
1291         <AssemblyVersion>2.0.0.0</AssemblyVersion>
1292         <AssemblyVersion>4.0.0.0</AssemblyVersion>
1293       </AssemblyInfo>
1294       <ReturnValue>
1295         <ReturnType>System.Void</ReturnType>
1296       </ReturnValue>
1297       <Parameters>
1298         <Parameter Name="rawData" Type="System.Byte[]" />
1299         <Parameter Name="password" Type="System.Security.SecureString" />
1300         <Parameter Name="keyStorageFlags" Type="System.Security.Cryptography.X509Certificates.X509KeyStorageFlags" />
1301       </Parameters>
1302       <Docs>
1303         <since version=".NET 2.0" />
1304         <remarks>
1305           <attribution license="cc4" from="Microsoft" modified="false" />
1306           <block subset="none" type="note">
1307             <para>Never hard code a password within your source code.  Hard-coded passwords can be retrieved from an assembly using the <format type="text/html"><a href="db27f6b2-f1ec-499e-be3a-7eecf95ca42b">MSIL Disassembler (Ildasm.exe)</a></format>, a hex editor, or by simply opening the assembly in a text editor such as Notepad.exe. </para>
1308           </block>
1309         </remarks>
1310         <summary>
1311           <attribution license="cc4" from="Microsoft" modified="false" />
1312           <para>Populates an <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object using data from a byte array, a password, and a key storage flag.</para>
1313         </summary>
1314         <param name="rawData">
1315           <attribution license="cc4" from="Microsoft" modified="false" />A byte array that contains data from an X.509 certificate. </param>
1316         <param name="password">
1317           <attribution license="cc4" from="Microsoft" modified="false" />The password required to access the X.509 certificate data. </param>
1318         <param name="keyStorageFlags">
1319           <attribution license="cc4" from="Microsoft" modified="false" />A bitwise combination of the enumeration values that control where and how to import the certificate. </param>
1320       </Docs>
1321     </Member>
1322     <Member MemberName="Import">
1323       <MemberSignature Language="C#" Value="public virtual void Import (byte[] rawData, string password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags);" />
1324       <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Import(unsigned int8[] rawData, string password, valuetype System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) cil managed" />
1325       <MemberType>Method</MemberType>
1326       <AssemblyInfo>
1327         <AssemblyVersion>2.0.0.0</AssemblyVersion>
1328         <AssemblyVersion>4.0.0.0</AssemblyVersion>
1329       </AssemblyInfo>
1330       <Attributes>
1331         <Attribute>
1332           <AttributeName>System.Runtime.InteropServices.ComVisible(false)</AttributeName>
1333         </Attribute>
1334       </Attributes>
1335       <ReturnValue>
1336         <ReturnType>System.Void</ReturnType>
1337       </ReturnValue>
1338       <Parameters>
1339         <Parameter Name="rawData" Type="System.Byte[]" />
1340         <Parameter Name="password" Type="System.String" />
1341         <Parameter Name="keyStorageFlags" Type="System.Security.Cryptography.X509Certificates.X509KeyStorageFlags" />
1342       </Parameters>
1343       <Docs>
1344         <since version=".NET 2.0" />
1345         <remarks>
1346           <attribution license="cc4" from="Microsoft" modified="false" />
1347           <para>This method can be used to populate an <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object using a password for the certificate represented by the byte array. The <see cref="T:System.Security.Cryptography.X509Certificates.X509KeyStorageFlags" /> value can be used to control where and how the private key is imported.</para>
1348         </remarks>
1349         <summary>
1350           <attribution license="cc4" from="Microsoft" modified="false" />
1351           <para>Populates the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object using data from a byte array, a password, and flags for determining how the private key is imported.</para>
1352         </summary>
1353         <param name="rawData">
1354           <attribution license="cc4" from="Microsoft" modified="false" />A byte array containing data from an X.509 certificate. </param>
1355         <param name="password">
1356           <attribution license="cc4" from="Microsoft" modified="false" />The password required to access the X.509 certificate data. </param>
1357         <param name="keyStorageFlags">
1358           <attribution license="cc4" from="Microsoft" modified="false" />A bitwise combination of the enumeration values that control where and how to import the certificate. </param>
1359       </Docs>
1360     </Member>
1361     <Member MemberName="Import">
1362       <MemberSignature Language="C#" Value="public virtual void Import (string fileName, System.Security.SecureString password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags);" />
1363       <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Import(string fileName, class System.Security.SecureString password, valuetype System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) cil managed" />
1364       <MemberType>Method</MemberType>
1365       <AssemblyInfo>
1366         <AssemblyVersion>2.0.0.0</AssemblyVersion>
1367         <AssemblyVersion>4.0.0.0</AssemblyVersion>
1368       </AssemblyInfo>
1369       <ReturnValue>
1370         <ReturnType>System.Void</ReturnType>
1371       </ReturnValue>
1372       <Parameters>
1373         <Parameter Name="fileName" Type="System.String" />
1374         <Parameter Name="password" Type="System.Security.SecureString" />
1375         <Parameter Name="keyStorageFlags" Type="System.Security.Cryptography.X509Certificates.X509KeyStorageFlags" />
1376       </Parameters>
1377       <Docs>
1378         <since version=".NET 2.0" />
1379         <remarks>
1380           <attribution license="cc4" from="Microsoft" modified="false" />
1381           <block subset="none" type="note">
1382             <para>Never hard code a password within your source code.  Hard-coded passwords can be retrieved from an assembly using the <format type="text/html"><a href="db27f6b2-f1ec-499e-be3a-7eecf95ca42b">MSIL Disassembler (Ildasm.exe)</a></format>, a hex editor, or by simply opening the assembly in a text editor such as Notepad.exe. </para>
1383           </block>
1384         </remarks>
1385         <summary>
1386           <attribution license="cc4" from="Microsoft" modified="false" />
1387           <para>Populates an <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object with information from a certificate file, a password, and a key storage flag.</para>
1388         </summary>
1389         <param name="fileName">
1390           <attribution license="cc4" from="Microsoft" modified="false" />The name of a certificate file. </param>
1391         <param name="password">
1392           <attribution license="cc4" from="Microsoft" modified="false" />The password required to access the X.509 certificate data. </param>
1393         <param name="keyStorageFlags">
1394           <attribution license="cc4" from="Microsoft" modified="false" />A bitwise combination of the enumeration values that control where and how to import the certificate. </param>
1395       </Docs>
1396     </Member>
1397     <Member MemberName="Import">
1398       <MemberSignature Language="C#" Value="public virtual void Import (string fileName, string password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags);" />
1399       <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Import(string fileName, string password, valuetype System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) cil managed" />
1400       <MemberType>Method</MemberType>
1401       <AssemblyInfo>
1402         <AssemblyVersion>2.0.0.0</AssemblyVersion>
1403         <AssemblyVersion>4.0.0.0</AssemblyVersion>
1404       </AssemblyInfo>
1405       <Attributes>
1406         <Attribute>
1407           <AttributeName>System.Runtime.InteropServices.ComVisible(false)</AttributeName>
1408         </Attribute>
1409       </Attributes>
1410       <ReturnValue>
1411         <ReturnType>System.Void</ReturnType>
1412       </ReturnValue>
1413       <Parameters>
1414         <Parameter Name="fileName" Type="System.String" />
1415         <Parameter Name="password" Type="System.String" />
1416         <Parameter Name="keyStorageFlags" Type="System.Security.Cryptography.X509Certificates.X509KeyStorageFlags" />
1417       </Parameters>
1418       <Docs>
1419         <since version=".NET 2.0" />
1420         <remarks>
1421           <attribution license="cc4" from="Microsoft" modified="false" />
1422           <block subset="none" type="note">
1423             <para>Never hard-code a password within your source code.  Hard-coded passwords can be retrieved from an assembly using the <format type="text/html"><a href="db27f6b2-f1ec-499e-be3a-7eecf95ca42b">MSIL Disassembler (Ildasm.exe)</a></format>, a hex editor, or by simply opening the assembly in a text editor such as Notepad.exe. </para>
1424           </block>
1425         </remarks>
1426         <summary>
1427           <attribution license="cc4" from="Microsoft" modified="false" />
1428           <para>Populates the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object with information from a certificate file, a password, and a <see cref="T:System.Security.Cryptography.X509Certificates.X509KeyStorageFlags" /> value.</para>
1429         </summary>
1430         <param name="fileName">
1431           <attribution license="cc4" from="Microsoft" modified="false" />The name of a certificate file represented as a string. </param>
1432         <param name="password">
1433           <attribution license="cc4" from="Microsoft" modified="false" />The password required to access the X.509 certificate data. </param>
1434         <param name="keyStorageFlags">
1435           <attribution license="cc4" from="Microsoft" modified="false" />A bitwise combination of the enumeration values that control where and how to import the certificate. </param>
1436       </Docs>
1437     </Member>
1438     <Member MemberName="Issuer">
1439       <MemberSignature Language="C#" Value="public string Issuer { get; }" />
1440       <MemberSignature Language="ILAsm" Value=".property instance string Issuer" />
1441       <MemberType>Property</MemberType>
1442       <AssemblyInfo>
1443         <AssemblyVersion>2.0.0.0</AssemblyVersion>
1444         <AssemblyVersion>4.0.0.0</AssemblyVersion>
1445       </AssemblyInfo>
1446       <ReturnValue>
1447         <ReturnType>System.String</ReturnType>
1448       </ReturnValue>
1449       <Docs>
1450         <value>To be added.</value>
1451         <remarks>To be added.</remarks>
1452         <since version=".NET 2.0" />
1453         <summary>
1454           <attribution license="cc4" from="Microsoft" modified="false" />
1455           <para>Gets the name of the certificate authority that issued the X.509v3 certificate.</para>
1456         </summary>
1457       </Docs>
1458     </Member>
1459     <Member MemberName="Reset">
1460       <MemberSignature Language="C#" Value="public virtual void Reset ();" />
1461       <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Reset() cil managed" />
1462       <MemberType>Method</MemberType>
1463       <AssemblyInfo>
1464         <AssemblyVersion>2.0.0.0</AssemblyVersion>
1465         <AssemblyVersion>4.0.0.0</AssemblyVersion>
1466       </AssemblyInfo>
1467       <Attributes>
1468         <Attribute>
1469           <AttributeName>System.Runtime.InteropServices.ComVisible(false)</AttributeName>
1470         </Attribute>
1471       </Attributes>
1472       <ReturnValue>
1473         <ReturnType>System.Void</ReturnType>
1474       </ReturnValue>
1475       <Parameters />
1476       <Docs>
1477         <since version=".NET 2.0" />
1478         <remarks>
1479           <attribution license="cc4" from="Microsoft" modified="false" />
1480           <para>Use the <see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate.Reset" /> method to reset the state of the certificate. This method also frees any resources associated with the certificate.</para>
1481         </remarks>
1482         <summary>
1483           <attribution license="cc4" from="Microsoft" modified="false" />
1484           <para>Resets the state of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> object.</para>
1485         </summary>
1486       </Docs>
1487     </Member>
1488     <Member MemberName="Subject">
1489       <MemberSignature Language="C#" Value="public string Subject { get; }" />
1490       <MemberSignature Language="ILAsm" Value=".property instance string Subject" />
1491       <MemberType>Property</MemberType>
1492       <AssemblyInfo>
1493         <AssemblyVersion>2.0.0.0</AssemblyVersion>
1494         <AssemblyVersion>4.0.0.0</AssemblyVersion>
1495       </AssemblyInfo>
1496       <ReturnValue>
1497         <ReturnType>System.String</ReturnType>
1498       </ReturnValue>
1499       <Docs>
1500         <value>To be added.</value>
1501         <remarks>To be added.</remarks>
1502         <since version=".NET 2.0" />
1503         <summary>
1504           <attribution license="cc4" from="Microsoft" modified="false" />
1505           <para>Gets the subject distinguished name from the certificate.</para>
1506         </summary>
1507       </Docs>
1508     </Member>
1509     <Member MemberName="System.Runtime.Serialization.IDeserializationCallback.OnDeserialization">
1510       <MemberSignature Language="C#" Value="void IDeserializationCallback.OnDeserialization (object sender);" />
1511       <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) cil managed" />
1512       <MemberType>Method</MemberType>
1513       <AssemblyInfo>
1514         <AssemblyVersion>2.0.0.0</AssemblyVersion>
1515         <AssemblyVersion>4.0.0.0</AssemblyVersion>
1516       </AssemblyInfo>
1517       <ReturnValue>
1518         <ReturnType>System.Void</ReturnType>
1519       </ReturnValue>
1520       <Parameters>
1521         <Parameter Name="sender" Type="System.Object" />
1522       </Parameters>
1523       <Docs>
1524         <remarks>To be added.</remarks>
1525         <since version=".NET 2.0" />
1526         <summary>
1527           <attribution license="cc4" from="Microsoft" modified="false" />
1528           <para>Implements the <see cref="T:System.Runtime.Serialization.ISerializable" /> interface and is called back by the deserialization event when deserialization is complete.  </para>
1529         </summary>
1530         <param name="sender">
1531           <attribution license="cc4" from="Microsoft" modified="false" />The source of the deserialization event.</param>
1532       </Docs>
1533     </Member>
1534     <Member MemberName="System.Runtime.Serialization.ISerializable.GetObjectData">
1535       <MemberSignature Language="C#" Value="void ISerializable.GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);" />
1536       <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void System.Runtime.Serialization.ISerializable.GetObjectData(class System.Runtime.Serialization.SerializationInfo info, valuetype System.Runtime.Serialization.StreamingContext context) cil managed" />
1537       <MemberType>Method</MemberType>
1538       <AssemblyInfo>
1539         <AssemblyVersion>2.0.0.0</AssemblyVersion>
1540         <AssemblyVersion>4.0.0.0</AssemblyVersion>
1541       </AssemblyInfo>
1542       <ReturnValue>
1543         <ReturnType>System.Void</ReturnType>
1544       </ReturnValue>
1545       <Parameters>
1546         <Parameter Name="info" Type="System.Runtime.Serialization.SerializationInfo" />
1547         <Parameter Name="context" Type="System.Runtime.Serialization.StreamingContext" />
1548       </Parameters>
1549       <Docs>
1550         <remarks>To be added.</remarks>
1551         <since version=".NET 2.0" />
1552         <summary>
1553           <attribution license="cc4" from="Microsoft" modified="false" />
1554           <para>Gets serialization information with all the data needed to recreate an instance of the current <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object.</para>
1555         </summary>
1556         <param name="info">
1557           <attribution license="cc4" from="Microsoft" modified="false" />The object to populate with serialization information.</param>
1558         <param name="context">
1559           <attribution license="cc4" from="Microsoft" modified="false" />The destination context of the serialization.</param>
1560       </Docs>
1561     </Member>
1562     <Member MemberName="ToString">
1563       <MemberSignature Language="C#" Value="public override string ToString ();" />
1564       <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance string ToString() cil managed" />
1565       <MemberType>Method</MemberType>
1566       <AssemblyInfo>
1567         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
1568         <AssemblyVersion>2.0.0.0</AssemblyVersion>
1569         <AssemblyVersion>4.0.0.0</AssemblyVersion>
1570       </AssemblyInfo>
1571       <ReturnValue>
1572         <ReturnType>System.String</ReturnType>
1573       </ReturnValue>
1574       <Parameters />
1575       <Docs>
1576         <remarks>This is just a call to <see cref="M:System.Object.ToString()" />.</remarks>
1577         <summary>
1578           <attribution license="cc4" from="Microsoft" modified="false" />
1579           <para>Returns a string representation of the current <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object.</para>
1580         </summary>
1581         <returns>
1582           <attribution license="cc4" from="Microsoft" modified="false" />
1583           <para>A string representation of the current <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object.</para>
1584         </returns>
1585       </Docs>
1586     </Member>
1587     <Member MemberName="ToString">
1588       <MemberSignature Language="C#" Value="public virtual string ToString (bool fVerbose);" />
1589       <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance string ToString(bool fVerbose) cil managed" />
1590       <MemberType>Method</MemberType>
1591       <AssemblyInfo>
1592         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
1593         <AssemblyVersion>2.0.0.0</AssemblyVersion>
1594         <AssemblyVersion>4.0.0.0</AssemblyVersion>
1595       </AssemblyInfo>
1596       <ReturnValue>
1597         <ReturnType>System.String</ReturnType>
1598       </ReturnValue>
1599       <Parameters>
1600         <Parameter Name="fVerbose" Type="System.Boolean" />
1601       </Parameters>
1602       <Docs>
1603         <remarks>Useful for debugging purpose only. The format of the string will change in future versions of the framework.</remarks>
1604         <summary>
1605           <attribution license="cc4" from="Microsoft" modified="false" />
1606           <para>Returns a string representation of the current <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object, with extra information, if specified.</para>
1607         </summary>
1608         <returns>
1609           <attribution license="cc4" from="Microsoft" modified="false" />
1610           <para>A string representation of the current <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object.</para>
1611         </returns>
1612         <param name="fVerbose">
1613           <attribution license="cc4" from="Microsoft" modified="false" />true to produce the verbose form of the string representation; otherwise, false. </param>
1614       </Docs>
1615     </Member>
1616   </Members>
1617 </Type>