/
System.Security.Cryptography.X509Certificates.xml
executable file
·2415 lines (2337 loc) · 231 KB
/
System.Security.Cryptography.X509Certificates.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>System.Security.Cryptography.X509Certificates</name>
</assembly>
<members>
<member name="T:Microsoft.Win32.SafeHandles.SafeX509ChainHandle">
<summary>Provides a wrapper class that represents the handle of an X.509 chain object. For more information, see <see cref="T:System.Security.Cryptography.X509Certificates.X509Chain" />.</summary>
</member>
<member name="T:System.Security.Cryptography.X509Certificates.CertificateRequest">
<summary>Represents an abstraction over the PKCS#10 CertificationRequestInfo and the X.509 TbsCertificate.</summary>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.CertificateRequest.#ctor(System.Security.Cryptography.X509Certificates.X500DistinguishedName,System.Security.Cryptography.ECDsa,System.Security.Cryptography.HashAlgorithmName)">
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.CertificateRequest" /> class using the specified subject name, ECDSA key, and hash algorithm.</summary>
<param name="subjectName">The parsed representation of the subject name for the certificate or certificate request.</param>
<param name="key">An ECDSA key whose public key material will be included in the certificate or certificate request. If the <see cref="M:System.Security.Cryptography.X509Certificates.CertificateRequest.CreateSelfSigned(System.DateTimeOffset,System.DateTimeOffset)" /> method is called, this key is used as a private key.</param>
<param name="hashAlgorithm">The hash algorithm to use when signing the certificate or certificate request.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="subjectName" /> is <see langword="null" />.
-or-
<paramref name="key" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="hashAlgorithm" />.<see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> is <see langword="null" /> or <see cref="F:System.String.Empty" />.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.CertificateRequest.#ctor(System.Security.Cryptography.X509Certificates.X500DistinguishedName,System.Security.Cryptography.RSA,System.Security.Cryptography.HashAlgorithmName,System.Security.Cryptography.RSASignaturePadding)">
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.CertificateRequest" /> class using the specified subject name, RSA key, and hash algorithm.</summary>
<param name="subjectName">The parsed representation of the subject name for the certificate or certificate request.</param>
<param name="key">A RSA key whose public key material will be included in the certificate or certificate request. If the <see cref="M:System.Security.Cryptography.X509Certificates.CertificateRequest.CreateSelfSigned(System.DateTimeOffset,System.DateTimeOffset)" /> method is called, this key is used as a private key.</param>
<param name="hashAlgorithm">The hash algorithm to use when signing the certificate or certificate request.</param>
<param name="padding">The RSA signature padding to apply if self-signing or being signed with an <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" />.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="subjectName" /> is <see langword="null" />.
-or-
<paramref name="key" /> is <see langword="null" />.
-or-
<paramref name="padding" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="hashAlgorithm" />.<see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> is <see langword="null" /> or <see cref="F:System.String.Empty" />.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.CertificateRequest.#ctor(System.Security.Cryptography.X509Certificates.X500DistinguishedName,System.Security.Cryptography.X509Certificates.PublicKey,System.Security.Cryptography.HashAlgorithmName)">
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.CertificateRequest" /> class using the specified subject name, encoded public key, and hash algorithm.</summary>
<param name="subjectName">The parsed representation of the subject name for the certificate or certificate request.</param>
<param name="publicKey">The encoded representation of the public key to include in the certificate or certificate request.</param>
<param name="hashAlgorithm">The hash algorithm to use when signing the certificate or certificate request.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="subjectName" /> is <see langword="null" />.
-or-
<paramref name="publicKey" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="hashAlgorithm" />.<see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> is <see langword="null" /> or <see cref="F:System.String.Empty" />.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.CertificateRequest.#ctor(System.String,System.Security.Cryptography.ECDsa,System.Security.Cryptography.HashAlgorithmName)">
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.CertificateRequest" /> class using the specified subject name, ECDSA key, and hash algorithm.</summary>
<param name="subjectName">The string representation of the subject name for the certificate or certificate request.</param>
<param name="key">An ECDSA key whose public key material will be included in the certificate or certificate request. If the <see cref="M:System.Security.Cryptography.X509Certificates.CertificateRequest.CreateSelfSigned(System.DateTimeOffset,System.DateTimeOffset)" /> method is called, this key is used as a private key.</param>
<param name="hashAlgorithm">The hash algorithm to use when signing the certificate or certificate request.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="subjectName" /> is <see langword="null" />.
-or-
<paramref name="key" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="hashAlgorithm" />.<see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> is <see langword="null" /> or <see cref="F:System.String.Empty" />.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.CertificateRequest.#ctor(System.String,System.Security.Cryptography.RSA,System.Security.Cryptography.HashAlgorithmName,System.Security.Cryptography.RSASignaturePadding)">
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.CertificateRequest" /> class using the specified subject name, RSA key, and hash algorithm.</summary>
<param name="subjectName">The string representation of the subject name for the certificate or certificate request.</param>
<param name="key">A RSA key whose public key material will be included in the certificate or certificate request. If the <see cref="M:System.Security.Cryptography.X509Certificates.CertificateRequest.CreateSelfSigned(System.DateTimeOffset,System.DateTimeOffset)" /> method is called, this key is used as a private key.</param>
<param name="hashAlgorithm">The hash algorithm to use when signing the certificate or certificate request.</param>
<param name="padding">The RSA signature padding to apply if self-signing or being signed with an <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" />.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="subjectName" /> is <see langword="null" />.
-or-
<paramref name="key" /> is <see langword="null" />.
-or-
<paramref name="padding" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="hashAlgorithm" />.<see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> is <see langword="null" /> or <see cref="F:System.String.Empty" />.</exception>
</member>
<member name="P:System.Security.Cryptography.X509Certificates.CertificateRequest.CertificateExtensions">
<summary>Gets the X.509 Certificate Extensions collection, which is a mutable collection, to include in the certificate or certificate request.</summary>
<returns>The X.509 Certificate Extensions collection to include in the certificate or certificate request.</returns>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.CertificateRequest.Create(System.Security.Cryptography.X509Certificates.X500DistinguishedName,System.Security.Cryptography.X509Certificates.X509SignatureGenerator,System.DateTimeOffset,System.DateTimeOffset,System.Byte[])">
<summary>Signs the current certificate request to create a chain-signed or self-signed certificate.</summary>
<param name="issuerName">The <see cref="T:System.Security.Cryptography.X509Certificates.X500DistinguishedName" /> for the issuer.</param>
<param name="generator">An <see cref="T:System.Security.Cryptography.X509Certificates.X509SignatureGenerator" /> object representing the issuing certificate authority.</param>
<param name="notBefore">The oldest date and time when this certificate is considered valid. Typically <see cref="P:System.DateTimeOffset.UtcNow" />, plus or minus a few seconds.</param>
<param name="notAfter">The date and time when this certificate is no longer considered valid.</param>
<param name="serialNumber">The serial number to use for the new certificate. This value should be unique per issuer. The value is interpreted as an unsigned integer of arbitrary size in big-endian byte ordering. RFC 3280 recommends confining it to 20 bytes or less.</param>
<returns>An <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> object with the specified values. The returned object won't assert <see cref="P:System.Security.Cryptography.X509Certificates.X509Certificate2.HasPrivateKey" />.</returns>
<exception cref="T:System.ArgumentNullException">
<paramref name="issuerCertificate" /> is <see langword="null" />.
-or-
<paramref name="generator" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="notAfter" /> represents a date and time that happens earlier than <paramref name="notBefore" />.
-or-
<paramref name="serialNumber" /> is zero length or <see langword="null" />.</exception>
<exception cref="T:System.Security.Cryptography.CryptographicException">An error occurs during the signing operation.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.CertificateRequest.Create(System.Security.Cryptography.X509Certificates.X509Certificate2,System.DateTimeOffset,System.DateTimeOffset,System.Byte[])">
<summary>Creates a certificate using the established subject, key, and optional extensions using the specified certificate as the issuer.</summary>
<param name="issuerCertificate">An <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> instance representing the issuing Certificate Authority (CA).</param>
<param name="notBefore">The oldest date and time when this certificate is considered valid. Typically <see cref="P:System.DateTimeOffset.UtcNow" />, plus or minus a few seconds.</param>
<param name="notAfter">The date and time when this certificate is no longer considered valid.</param>
<param name="serialNumber">The serial number to use for the new certificate. This value should be unique per issuer. The value is interpreted as an unsigned integer of arbitrary size in big-endian byte ordering. RFC 3280 recommends confining it to 20 bytes or less.</param>
<returns>An <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> object with the specified values. The returned object won't assert <see cref="P:System.Security.Cryptography.X509Certificates.X509Certificate2.HasPrivateKey" />.</returns>
<exception cref="T:System.ArgumentNullException">
<paramref name="issuerCertificate" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">The <paramref name="issuerCertificate" /> doesn't contain a private key.
-or-
The type of signing key represented by <paramref name="issuerCertificate" /> couldn't be determined.
-or-
<paramref name="notAfter" /> represents a date and time that happens earlier than <paramref name="notBefore" />.
-or-
<paramref name="serialNumber" /> is zero length or <see langword="null" />.
-or-
<paramref name="issuerCertificate" /> has a different key algorithm than the requested certificate.</exception>
<exception cref="T:System.InvalidOperationException">
<paramref name="issuerCertificate" /> is an RSA certificate and the current object was created using a constructor that doesn't accept a <paramref name="padding" /> parameter.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.CertificateRequest.CreateSelfSigned(System.DateTimeOffset,System.DateTimeOffset)">
<summary>Creates a self-signed certificate using the established subject, key, and optional extensions.</summary>
<param name="notBefore">The oldest date and time when this certificate is considered valid. Typically <see cref="P:System.DateTimeOffset.UtcNow" />, plus or minus a few seconds.</param>
<param name="notAfter">The date and time when this certificate is no longer considered valid.</param>
<returns>An <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> object with the specified values. The returned object will assert <see cref="P:System.Security.Cryptography.X509Certificates.X509Certificate2.HasPrivateKey" />.</returns>
<exception cref="T:System.ArgumentException">
<paramref name="notAfter" /> represents a date and time that happens earlier than <paramref name="notBefore" />.</exception>
<exception cref="T:System.InvalidOperationException">The current object was created using a constructor that doesn't accept a signing key.</exception>
<exception cref="T:System.Security.Cryptography.CryptographicException">An error occurs during the certificate creation process.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.CertificateRequest.CreateSigningRequest">
<summary>Creates an ASN.1 DER-encoded PKCS#10 CertificationRequest value representing the state of the current object.</summary>
<returns>A DER-encoded certificate signing request.</returns>
<exception cref="T:System.InvalidOperationException">The current object was created using a constructor that doesn't accept a signing key.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.CertificateRequest.CreateSigningRequest(System.Security.Cryptography.X509Certificates.X509SignatureGenerator)">
<summary>Creates an ASN.1 DER-encoded PKCS#10 CertificationRequest representing the current state of the current object using the provided signature generator.</summary>
<param name="signatureGenerator">The signature generator with which to sign the request.</param>
<returns>A DER-encoded certificate signing request.</returns>
<exception cref="T:System.ArgumentNullException">
<paramref name="signatureGenerator" /> is <see langword="null" />.</exception>
</member>
<member name="P:System.Security.Cryptography.X509Certificates.CertificateRequest.HashAlgorithm">
<summary>Gets the hash algorithm to use when signing the certificate or certificate request.</summary>
<returns>The hash algorithm to use when signing the certificate or certificate request.</returns>
</member>
<member name="P:System.Security.Cryptography.X509Certificates.CertificateRequest.PublicKey">
<summary>Gets a representation of the public key for the certificate or certificate request.</summary>
<returns>The representation of the public key for the certificate or certificate request.</returns>
</member>
<member name="P:System.Security.Cryptography.X509Certificates.CertificateRequest.SubjectName">
<summary>Gets the X.500 Distinguished Name to use as the Subject in a created certificate or certificate request.</summary>
<returns>The X.500 Distinguished Name to use as the Subject in a created certificate or certificate request.</returns>
</member>
<member name="T:System.Security.Cryptography.X509Certificates.DSACertificateExtensions">
<summary>Provides extension methods for retrieving <see cref="T:System.Security.Cryptography.DSA" /> implementations for the public and private keys of an <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" />.</summary>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.DSACertificateExtensions.CopyWithPrivateKey(System.Security.Cryptography.X509Certificates.X509Certificate2,System.Security.Cryptography.DSA)">
<summary>Combines a private key with the public key of a <see cref="T:System.Security.Cryptography.DSA" /> certificate to generate a new DSA certificate.</summary>
<param name="certificate">The DSA certificate.</param>
<param name="privateKey">The private DSA key.</param>
<returns>A new DSA certificate with the <see cref="P:System.Security.Cryptography.X509Certificates.X509Certificate2.HasPrivateKey" /> property set to <see langword="true" />. The input DSA certificate object isn't modified.</returns>
<exception cref="T:System.ArgumentNullException">
<paramref name="certificate" /> or <paramref name="privateKey" /> is <see langword="null" />.</exception>
<exception cref="T:System.InvalidOperationException">The certificate already has an associated private key.</exception>
<exception cref="T:System.ArgumentException">The certificate doesn't have a public key.
-or-
The specified private key doesn't match the public key for the specified certificate.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.DSACertificateExtensions.GetDSAPrivateKey(System.Security.Cryptography.X509Certificates.X509Certificate2)">
<summary>Gets the <see cref="T:System.Security.Cryptography.DSA" /> private key from the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" />.</summary>
<param name="certificate">The certificate.</param>
<returns>The private key, or <see langword="null" /> if the certificate does not have a DSA private key.</returns>
<exception cref="T:System.ArgumentNullException">
<paramref name="certificate" /> is <see langword="null" />.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.DSACertificateExtensions.GetDSAPublicKey(System.Security.Cryptography.X509Certificates.X509Certificate2)">
<summary>Gets the <see cref="T:System.Security.Cryptography.DSA" /> public key from the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" />.</summary>
<param name="certificate">The certificate.</param>
<returns>The public key, or <see langword="null" /> if the certificate does not have a DSA public key.</returns>
<exception cref="T:System.ArgumentNullException">
<paramref name="certificate" /> is <see langword="null" />.</exception>
<exception cref="T:System.Security.Cryptography.CryptographicException">Windows reports an error. See the <see cref="P:System.Exception.Message" /> property for more information.</exception>
</member>
<member name="T:System.Security.Cryptography.X509Certificates.ECDsaCertificateExtensions">
<summary>Provides extension methods for retrieving <see cref="T:System.Security.Cryptography.ECDsa" /> implementations for the public and private keys of a <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> certificate.</summary>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.ECDsaCertificateExtensions.CopyWithPrivateKey(System.Security.Cryptography.X509Certificates.X509Certificate2,System.Security.Cryptography.ECDsa)">
<summary>Combines a private key with the public key of an <see cref="T:System.Security.Cryptography.ECDsa" /> certificate to generate a new ECDSA certificate.</summary>
<param name="certificate">The ECDSA certificate.</param>
<param name="privateKey">The private ECDSA key.</param>
<returns>A new ECDSA certificate with the <see cref="P:System.Security.Cryptography.X509Certificates.X509Certificate2.HasPrivateKey" /> property set to <see langword="true" />. The input ECDSA certificate object isn't modified.</returns>
<exception cref="T:System.ArgumentNullException">
<paramref name="certificate" /> or <paramref name="privateKey" /> is <see langword="null" />.</exception>
<exception cref="T:System.InvalidOperationException">The certificate already has an associated private key.</exception>
<exception cref="T:System.ArgumentException">The certificate doesn't have a public key.
-or-
The specified private key doesn't match the public key for the specified certificate.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.ECDsaCertificateExtensions.GetECDsaPrivateKey(System.Security.Cryptography.X509Certificates.X509Certificate2)">
<summary>Gets the <see cref="T:System.Security.Cryptography.ECDsa" /> private key from the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> certificate.</summary>
<param name="certificate">The certificate.</param>
<returns>The private key, or <see langword="null" /> if the certificate does not have an ECDsa private key.</returns>
<exception cref="T:System.ArgumentNullException">
<paramref name="certificate" /> is <see langword="null" />.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.ECDsaCertificateExtensions.GetECDsaPublicKey(System.Security.Cryptography.X509Certificates.X509Certificate2)">
<summary>Gets the <see cref="T:System.Security.Cryptography.ECDsa" /> public key from the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> certificate.</summary>
<param name="certificate">The certificate.</param>
<returns>The public key, or <see langword="null" /> if the certificate does not have an ECDsa public key.</returns>
<exception cref="T:System.ArgumentNullException">
<paramref name="certificate" /> is <see langword="null" />.</exception>
<exception cref="T:System.Security.Cryptography.CryptographicException">The handle is invalid.</exception>
</member>
<member name="T:System.Security.Cryptography.X509Certificates.OpenFlags">
<summary>Specifies the way to open the X.509 certificate store.</summary>
</member>
<member name="F:System.Security.Cryptography.X509Certificates.OpenFlags.IncludeArchived">
<summary>Open the X.509 certificate store and include archived certificates.</summary>
</member>
<member name="F:System.Security.Cryptography.X509Certificates.OpenFlags.MaxAllowed">
<summary>Open the X.509 certificate store for the highest access allowed.</summary>
</member>
<member name="F:System.Security.Cryptography.X509Certificates.OpenFlags.OpenExistingOnly">
<summary>Opens only existing stores; if no store exists, the <see cref="M:System.Security.Cryptography.X509Certificates.X509Store.Open(System.Security.Cryptography.X509Certificates.OpenFlags)" /> method will not create a new store.</summary>
</member>
<member name="F:System.Security.Cryptography.X509Certificates.OpenFlags.ReadOnly">
<summary>Open the X.509 certificate store for reading only.</summary>
</member>
<member name="F:System.Security.Cryptography.X509Certificates.OpenFlags.ReadWrite">
<summary>Open the X.509 certificate store for both reading and writing.</summary>
</member>
<member name="T:System.Security.Cryptography.X509Certificates.PublicKey">
<summary>Represents a certificate's public key information. This class cannot be inherited.</summary>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.PublicKey.#ctor(System.Security.Cryptography.Oid,System.Security.Cryptography.AsnEncodedData,System.Security.Cryptography.AsnEncodedData)">
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.PublicKey" /> class using an object identifier (OID) object of the public key, an ASN.1-encoded representation of the public key parameters, and an ASN.1-encoded representation of the public key value.</summary>
<param name="oid">An object identifier (OID) object that represents the public key.</param>
<param name="parameters">An ASN.1-encoded representation of the public key parameters.</param>
<param name="keyValue">An ASN.1-encoded representation of the public key value.</param>
</member>
<member name="P:System.Security.Cryptography.X509Certificates.PublicKey.EncodedKeyValue">
<summary>Gets the ASN.1-encoded representation of the public key value.</summary>
<returns>The ASN.1-encoded representation of the public key value.</returns>
</member>
<member name="P:System.Security.Cryptography.X509Certificates.PublicKey.EncodedParameters">
<summary>Gets the ASN.1-encoded representation of the public key parameters.</summary>
<returns>The ASN.1-encoded representation of the public key parameters.</returns>
</member>
<member name="P:System.Security.Cryptography.X509Certificates.PublicKey.Key">
<summary>Gets an <see cref="T:System.Security.Cryptography.RSA" /> derived object or a <see cref="T:System.Security.Cryptography.DSA" /> derived object representing the public key.</summary>
<returns>An <see cref="T:System.Security.Cryptography.AsymmetricAlgorithm" /> object representing the public key.</returns>
<exception cref="T:System.NotSupportedException">The key algorithm is not supported.</exception>
</member>
<member name="P:System.Security.Cryptography.X509Certificates.PublicKey.Oid">
<summary>Gets an object identifier (OID) object of the public key.</summary>
<returns>An object identifier (OID) object of the public key.</returns>
</member>
<member name="T:System.Security.Cryptography.X509Certificates.RSACertificateExtensions">
<summary>Provides extension methods for retrieving <see cref="T:System.Security.Cryptography.RSA" /> implementations for the public and private keys of an <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" />.</summary>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.RSACertificateExtensions.CopyWithPrivateKey(System.Security.Cryptography.X509Certificates.X509Certificate2,System.Security.Cryptography.RSA)">
<summary>Combines a private key with the public key of an <see cref="T:System.Security.Cryptography.RSA" /> certificate to generate a new RSA certificate.</summary>
<param name="certificate">The RSA certificate.</param>
<param name="privateKey">The private RSA key.</param>
<returns>A new RSA certificate with the <see cref="P:System.Security.Cryptography.X509Certificates.X509Certificate2.HasPrivateKey" /> property set to <see langword="true" />. The input RSA certificate object isn't modified.</returns>
<exception cref="T:System.ArgumentNullException">
<paramref name="certificate" /> or <paramref name="privateKey" /> is <see langword="null" />.</exception>
<exception cref="T:System.InvalidOperationException">The certificate already has an associated private key.</exception>
<exception cref="T:System.ArgumentException">The certificate doesn't have a public key.
-or-
The specified private key doesn't match the public key for the specified certificate.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.RSACertificateExtensions.GetRSAPrivateKey(System.Security.Cryptography.X509Certificates.X509Certificate2)">
<summary>Gets the <see cref="T:System.Security.Cryptography.RSA" /> private key from the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" />.</summary>
<param name="certificate">The certificate.</param>
<returns>The private key, or <see langword="null" /> if the certificate does not have an RSA private key.</returns>
<exception cref="T:System.ArgumentNullException">
<paramref name="certificate" /> is <see langword="null" />.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.RSACertificateExtensions.GetRSAPublicKey(System.Security.Cryptography.X509Certificates.X509Certificate2)">
<summary>Gets the <see cref="T:System.Security.Cryptography.RSA" /> public key from the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" />.</summary>
<param name="certificate">The certificate.</param>
<returns>The public key, or <see langword="null" /> if the certificate does not have an RSA public key.</returns>
<exception cref="T:System.ArgumentNullException">
<paramref name="certificate" /> is <see langword="null" />.</exception>
<exception cref="T:System.Security.Cryptography.CryptographicException">Windows reports an error. See the <see cref="P:System.Exception.Message" /> property for more information.</exception>
</member>
<member name="T:System.Security.Cryptography.X509Certificates.StoreLocation">
<summary>Specifies the location of the X.509 certificate store.</summary>
</member>
<member name="F:System.Security.Cryptography.X509Certificates.StoreLocation.CurrentUser">
<summary>The X.509 certificate store used by the current user.</summary>
</member>
<member name="F:System.Security.Cryptography.X509Certificates.StoreLocation.LocalMachine">
<summary>The X.509 certificate store assigned to the local machine.</summary>
</member>
<member name="T:System.Security.Cryptography.X509Certificates.StoreName">
<summary>Specifies the name of the X.509 certificate store to open.</summary>
</member>
<member name="F:System.Security.Cryptography.X509Certificates.StoreName.AddressBook">
<summary>The X.509 certificate store for other users.</summary>
</member>
<member name="F:System.Security.Cryptography.X509Certificates.StoreName.AuthRoot">
<summary>The X.509 certificate store for third-party certificate authorities (CAs).</summary>
</member>
<member name="F:System.Security.Cryptography.X509Certificates.StoreName.CertificateAuthority">
<summary>The X.509 certificate store for intermediate certificate authorities (CAs).</summary>
</member>
<member name="F:System.Security.Cryptography.X509Certificates.StoreName.Disallowed">
<summary>The X.509 certificate store for revoked certificates.</summary>
</member>
<member name="F:System.Security.Cryptography.X509Certificates.StoreName.My">
<summary>The X.509 certificate store for personal certificates.</summary>
</member>
<member name="F:System.Security.Cryptography.X509Certificates.StoreName.Root">
<summary>The X.509 certificate store for trusted root certificate authorities (CAs).</summary>
</member>
<member name="F:System.Security.Cryptography.X509Certificates.StoreName.TrustedPeople">
<summary>The X.509 certificate store for directly trusted people and resources.</summary>
</member>
<member name="F:System.Security.Cryptography.X509Certificates.StoreName.TrustedPublisher">
<summary>The X.509 certificate store for directly trusted publishers.</summary>
</member>
<member name="T:System.Security.Cryptography.X509Certificates.SubjectAlternativeNameBuilder">
<summary>This class facilitates building a subject alternative name extension for an X.509 certificate.</summary>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.SubjectAlternativeNameBuilder.#ctor">
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.SubjectAlternativeNameBuilder" /> class.</summary>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.SubjectAlternativeNameBuilder.AddDnsName(System.String)">
<summary>Adds a DNS Name to the subject alternative name extension.</summary>
<param name="dnsName">The DNS name to be added.</param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="dnsName" /> is either <see langword="null" /> or <see cref="F:System.String.Empty" />.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.SubjectAlternativeNameBuilder.AddEmailAddress(System.String)">
<summary>Adds an email address to the subject alternative name extension.</summary>
<param name="emailAddress">The email address to be added.</param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="emailAddress" /> is either <see langword="null" /> or <see cref="F:System.String.Empty" />.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.SubjectAlternativeNameBuilder.AddIpAddress(System.Net.IPAddress)">
<summary>Adds an IP address to the subject alternative name extension.</summary>
<param name="ipAddress">The IP address to be added.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="ipAddress" /> is <see langword="null" />.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.SubjectAlternativeNameBuilder.AddUri(System.Uri)">
<summary>Adds a Uniform Resource Identifier (URI) to the subject alternative name extension.</summary>
<param name="uri">The URI to be added.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="uri" /> is <see langword="null" />.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.SubjectAlternativeNameBuilder.AddUserPrincipalName(System.String)">
<summary>Adds a User Principal Name (UPN) to the subject alternative name extension.</summary>
<param name="upn">The UPN to be added.</param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="upn" /> is either <see langword="null" /> or <see cref="F:System.String.Empty" />.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.SubjectAlternativeNameBuilder.Build(System.Boolean)">
<summary>Returns an <see cref="T:System.Security.Cryptography.X509Certificates.X509Extension" /> object that represents the encoded subject alternative name extension.</summary>
<param name="critical">
<see langword="true" /> to mark the extension as <see cref="P:System.Security.Cryptography.X509Certificates.X509Extension.Critical" />; otherwise, <see langword="false" />. The default value is <see langword="false" />.</param>
<returns>An <see cref="T:System.Security.Cryptography.X509Certificates.X509Extension" /> object that represents the encoded subject alternative name extension.</returns>
</member>
<member name="T:System.Security.Cryptography.X509Certificates.X500DistinguishedName">
<summary>Represents the distinguished name of an X509 certificate. This class cannot be inherited.</summary>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X500DistinguishedName.#ctor(System.Byte[])">
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X500DistinguishedName" /> class using information from the specified byte array.</summary>
<param name="encodedDistinguishedName">A byte array that contains distinguished name information.</param>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X500DistinguishedName.#ctor(System.Security.Cryptography.AsnEncodedData)">
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X500DistinguishedName" /> class using the specified <see cref="T:System.Security.Cryptography.AsnEncodedData" /> object.</summary>
<param name="encodedDistinguishedName">An <see cref="T:System.Security.Cryptography.AsnEncodedData" /> object that represents the distinguished name.</param>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X500DistinguishedName.#ctor(System.Security.Cryptography.X509Certificates.X500DistinguishedName)">
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X500DistinguishedName" /> class using the specified <see cref="T:System.Security.Cryptography.X509Certificates.X500DistinguishedName" /> object.</summary>
<param name="distinguishedName">An <see cref="T:System.Security.Cryptography.X509Certificates.X500DistinguishedName" /> object.</param>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X500DistinguishedName.#ctor(System.String)">
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X500DistinguishedName" /> class using information from the specified string.</summary>
<param name="distinguishedName">A string that represents the distinguished name.</param>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X500DistinguishedName.#ctor(System.String,System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags)">
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X500DistinguishedName" /> class using the specified string and <see cref="T:System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags" /> flag.</summary>
<param name="distinguishedName">A string that represents the distinguished name.</param>
<param name="flag">A bitwise combination of the enumeration values that specify the characteristics of the distinguished name.</param>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X500DistinguishedName.Decode(System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags)">
<summary>Decodes a distinguished name using the characteristics specified by the <paramref name="flag" /> parameter.</summary>
<param name="flag">A bitwise combination of the enumeration values that specify the characteristics of the distinguished name.</param>
<returns>The decoded distinguished name.</returns>
<exception cref="T:System.Security.Cryptography.CryptographicException">The certificate has an invalid name.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X500DistinguishedName.Format(System.Boolean)">
<summary>Returns a formatted version of an X500 distinguished name for printing or for output to a text window or to a console.</summary>
<param name="multiLine">
<see langword="true" /> if the return string should contain carriage returns; otherwise, <see langword="false" />.</param>
<returns>A formatted string that represents the X500 distinguished name.</returns>
</member>
<member name="P:System.Security.Cryptography.X509Certificates.X500DistinguishedName.Name">
<summary>Gets the comma-delimited distinguished name from an X500 certificate.</summary>
<returns>The comma-delimited distinguished name of the X509 certificate.</returns>
</member>
<member name="T:System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags">
<summary>Specifies characteristics of the X.500 distinguished name.</summary>
</member>
<member name="F:System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags.DoNotUsePlusSign">
<summary>The distinguished name does not use the plus sign.</summary>
</member>
<member name="F:System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags.DoNotUseQuotes">
<summary>The distinguished name does not use quotation marks.</summary>
</member>
<member name="F:System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags.ForceUTF8Encoding">
<summary>Forces the distinguished name to encode specific X.500 keys as UTF-8 strings rather than printable Unicode strings. For more information and the list of X.500 keys affected, see the X500NameFlags enumeration.</summary>
</member>
<member name="F:System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags.None">
<summary>The distinguished name has no special characteristics.</summary>
</member>
<member name="F:System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags.Reversed">
<summary>The distinguished name is reversed.</summary>
</member>
<member name="F:System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags.UseCommas">
<summary>The distinguished name uses commas.</summary>
</member>
<member name="F:System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags.UseNewLines">
<summary>The distinguished name uses the new line character.</summary>
</member>
<member name="F:System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags.UseSemicolons">
<summary>The distinguished name uses semicolons.</summary>
</member>
<member name="F:System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags.UseT61Encoding">
<summary>The distinguished name uses T61 encoding.</summary>
</member>
<member name="F:System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags.UseUTF8Encoding">
<summary>The distinguished name uses UTF8 encoding instead of Unicode character encoding.</summary>
</member>
<member name="T:System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension">
<summary>Defines the constraints set on a certificate. This class cannot be inherited.</summary>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension.#ctor">
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension" /> class.</summary>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension.#ctor(System.Boolean,System.Boolean,System.Int32,System.Boolean)">
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension" /> class. Parameters specify a value that indicates whether a certificate is a certificate authority (CA) certificate, a value that indicates whether the certificate has a restriction on the number of path levels it allows, the number of levels allowed in a certificate's path, and a value that indicates whether the extension is critical.</summary>
<param name="certificateAuthority">
<see langword="true" /> if the certificate is a certificate authority (CA) certificate; otherwise, <see langword="false" />.</param>
<param name="hasPathLengthConstraint">
<see langword="true" /> if the certificate has a restriction on the number of path levels it allows; otherwise, <see langword="false" />.</param>
<param name="pathLengthConstraint">The number of levels allowed in a certificate's path.</param>
<param name="critical">
<see langword="true" /> if the extension is critical; otherwise, <see langword="false" />.</param>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension.#ctor(System.Security.Cryptography.AsnEncodedData,System.Boolean)">
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension" /> class using an <see cref="T:System.Security.Cryptography.AsnEncodedData" /> object and a value that identifies whether the extension is critical.</summary>
<param name="encodedBasicConstraints">The encoded data to use to create the extension.</param>
<param name="critical">
<see langword="true" /> if the extension is critical; otherwise, <see langword="false" />.</param>
</member>
<member name="P:System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension.CertificateAuthority">
<summary>Gets a value indicating whether a certificate is a certificate authority (CA) certificate.</summary>
<returns>
<see langword="true" /> if the certificate is a certificate authority (CA) certificate, otherwise, <see langword="false" />.</returns>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension.CopyFrom(System.Security.Cryptography.AsnEncodedData)">
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension" /> class using an <see cref="T:System.Security.Cryptography.AsnEncodedData" /> object.</summary>
<param name="asnEncodedData">The encoded data to use to create the extension.</param>
</member>
<member name="P:System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension.HasPathLengthConstraint">
<summary>Gets a value indicating whether a certificate has a restriction on the number of path levels it allows.</summary>
<returns>
<see langword="true" /> if the certificate has a restriction on the number of path levels it allows, otherwise, <see langword="false" />.</returns>
<exception cref="T:System.Security.Cryptography.CryptographicException">The extension cannot be decoded.</exception>
</member>
<member name="P:System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension.PathLengthConstraint">
<summary>Gets the number of levels allowed in a certificate's path.</summary>
<returns>An integer indicating the number of levels allowed in a certificate's path.</returns>
<exception cref="T:System.Security.Cryptography.CryptographicException">The extension cannot be decoded.</exception>
</member>
<member name="T:System.Security.Cryptography.X509Certificates.X509Certificate">
<summary>Provides methods that help you use X.509 v.3 certificates.</summary>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.#ctor">
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> class.</summary>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.#ctor(System.Byte[])">
<summary>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.</summary>
<param name="data">A byte array containing data from an X.509 certificate.</param>
<exception cref="T:System.Security.Cryptography.CryptographicException">An error with the certificate occurs. For example:
The certificate file does not exist.
The certificate is invalid.
The certificate's password is incorrect.</exception>
<exception cref="T:System.ArgumentException">The <paramref name="rawData" /> parameter is <see langword="null" />.
-or-
The length of the <paramref name="rawData" /> parameter is 0.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.#ctor(System.Byte[],System.Security.SecureString)">
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> class using a byte array and a password.</summary>
<param name="rawData">A byte array that contains data from an X.509 certificate.</param>
<param name="password">The password required to access the X.509 certificate data.</param>
<exception cref="T:System.Security.Cryptography.CryptographicException">An error with the certificate occurs. For example:
The certificate file does not exist.
The certificate is invalid.
The certificate's password is incorrect.</exception>
<exception cref="T:System.ArgumentException">The <paramref name="rawData" /> parameter is <see langword="null" />.
-or-
The length of the <paramref name="rawData" /> parameter is 0.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.#ctor(System.Byte[],System.Security.SecureString,System.Security.Cryptography.X509Certificates.X509KeyStorageFlags)">
<summary>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.</summary>
<param name="rawData">A byte array that contains data from an X.509 certificate.</param>
<param name="password">The password required to access the X.509 certificate data.</param>
<param name="keyStorageFlags">A bitwise combination of the enumeration values that control where and how to import the certificate.</param>
<exception cref="T:System.Security.Cryptography.CryptographicException">An error with the certificate occurs. For example:
The certificate file does not exist.
The certificate is invalid.
The certificate's password is incorrect.</exception>
<exception cref="T:System.ArgumentException">The <paramref name="rawData" /> parameter is <see langword="null" />.
-or-
The length of the <paramref name="rawData" /> parameter is 0.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.#ctor(System.Byte[],System.String)">
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> class using a byte array and a password.</summary>
<param name="rawData">A byte array containing data from an X.509 certificate.</param>
<param name="password">The password required to access the X.509 certificate data.</param>
<exception cref="T:System.Security.Cryptography.CryptographicException">An error with the certificate occurs. For example:
The certificate file does not exist.
The certificate is invalid.
The certificate's password is incorrect.</exception>
<exception cref="T:System.ArgumentException">The <paramref name="rawData" /> parameter is <see langword="null" />.
-or-
The length of the <paramref name="rawData" /> parameter is 0.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.#ctor(System.Byte[],System.String,System.Security.Cryptography.X509Certificates.X509KeyStorageFlags)">
<summary>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.</summary>
<param name="rawData">A byte array containing data from an X.509 certificate.</param>
<param name="password">The password required to access the X.509 certificate data.</param>
<param name="keyStorageFlags">A bitwise combination of the enumeration values that control where and how to import the certificate.</param>
<exception cref="T:System.Security.Cryptography.CryptographicException">An error with the certificate occurs. For example:
The certificate file does not exist.
The certificate is invalid.
The certificate's password is incorrect.</exception>
<exception cref="T:System.ArgumentException">The <paramref name="rawData" /> parameter is <see langword="null" />.
-or-
The length of the <paramref name="rawData" /> parameter is 0.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.#ctor(System.IntPtr)">
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> class using a handle to an unmanaged <see langword="PCCERT_CONTEXT" /> structure.</summary>
<param name="handle">A handle to an unmanaged <see langword="PCCERT_CONTEXT" /> structure.</param>
<exception cref="T:System.Security.Cryptography.CryptographicException">An error with the certificate occurs. For example:
The certificate file does not exist.
The certificate is invalid.
The certificate's password is incorrect.</exception>
<exception cref="T:System.ArgumentException">The handle parameter does not represent a valid <see langword="PCCERT_CONTEXT" /> structure.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
<summary>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.</summary>
<param name="info">A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object that describes serialization information.</param>
<param name="context">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> structure that describes how serialization should be performed.</param>
<exception cref="T:System.Security.Cryptography.CryptographicException">An error with the certificate occurs. For example:
The certificate file does not exist.
The certificate is invalid.
The certificate's password is incorrect.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.#ctor(System.Security.Cryptography.X509Certificates.X509Certificate)">
<summary>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.</summary>
<param name="cert">A <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> class from which to initialize this class.</param>
<exception cref="T:System.Security.Cryptography.CryptographicException">An error with the certificate occurs. For example:
The certificate file does not exist.
The certificate is invalid.
The certificate's password is incorrect.</exception>
<exception cref="T:System.ArgumentNullException">The value of the <paramref name="cert" /> parameter is <see langword="null" />.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.#ctor(System.String)">
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> class using the name of a PKCS7 signed file.</summary>
<param name="fileName">The name of a PKCS7 signed file.</param>
<exception cref="T:System.Security.Cryptography.CryptographicException">An error with the certificate occurs. For example:
The certificate file does not exist.
The certificate is invalid.
The certificate's password is incorrect.</exception>
<exception cref="T:System.ArgumentException">The <paramref name="fileName" /> parameter is <see langword="null" />.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.#ctor(System.String,System.Security.SecureString)">
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> class using a certificate file name and a password.</summary>
<param name="fileName">The name of a certificate file.</param>
<param name="password">The password required to access the X.509 certificate data.</param>
<exception cref="T:System.Security.Cryptography.CryptographicException">An error with the certificate occurs. For example:
The certificate file does not exist.
The certificate is invalid.
The certificate's password is incorrect.</exception>
<exception cref="T:System.ArgumentException">The <paramref name="fileName" /> parameter is <see langword="null" />.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.#ctor(System.String,System.Security.SecureString,System.Security.Cryptography.X509Certificates.X509KeyStorageFlags)">
<summary>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.</summary>
<param name="fileName">The name of a certificate file.</param>
<param name="password">The password required to access the X.509 certificate data.</param>
<param name="keyStorageFlags">A bitwise combination of the enumeration values that control where and how to import the certificate.</param>
<exception cref="T:System.Security.Cryptography.CryptographicException">An error with the certificate occurs. For example:
The certificate file does not exist.
The certificate is invalid.
The certificate's password is incorrect.</exception>
<exception cref="T:System.ArgumentException">The <paramref name="fileName" /> parameter is <see langword="null" />.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.#ctor(System.String,System.String)">
<summary>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.</summary>
<param name="fileName">The name of a PKCS7 signed file.</param>
<param name="password">The password required to access the X.509 certificate data.</param>
<exception cref="T:System.Security.Cryptography.CryptographicException">An error with the certificate occurs. For example:
The certificate file does not exist.
The certificate is invalid.
The certificate's password is incorrect.</exception>
<exception cref="T:System.ArgumentException">The <paramref name="fileName" /> parameter is <see langword="null" />.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.#ctor(System.String,System.String,System.Security.Cryptography.X509Certificates.X509KeyStorageFlags)">
<summary>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.</summary>
<param name="fileName">The name of a PKCS7 signed file.</param>
<param name="password">The password required to access the X.509 certificate data.</param>
<param name="keyStorageFlags">A bitwise combination of the enumeration values that control where and how to import the certificate.</param>
<exception cref="T:System.Security.Cryptography.CryptographicException">An error with the certificate occurs. For example:
The certificate file does not exist.
The certificate is invalid.
The certificate's password is incorrect.</exception>
<exception cref="T:System.ArgumentException">The <paramref name="fileName" /> parameter is <see langword="null" />.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.CreateFromCertFile(System.String)">
<summary>Creates an X.509v3 certificate from the specified PKCS7 signed file.</summary>
<param name="filename">The path of the PKCS7 signed file from which to create the X.509 certificate.</param>
<returns>The newly created X.509 certificate.</returns>
<exception cref="T:System.ArgumentException">The <paramref name="filename" /> parameter is <see langword="null" />.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.CreateFromSignedFile(System.String)">
<summary>Creates an X.509v3 certificate from the specified signed file.</summary>
<param name="filename">The path of the signed file from which to create the X.509 certificate.</param>
<returns>The newly created X.509 certificate.</returns>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.Dispose">
<summary>Releases all resources used by the current <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object.</summary>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.Dispose(System.Boolean)">
<summary>Releases all of the unmanaged resources used by this <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> and optionally releases the managed resources.</summary>
<param name="disposing">
<see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.Equals(System.Object)">
<summary>Compares two <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> objects for equality.</summary>
<param name="obj">An <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object to compare to the current object.</param>
<returns>
<see langword="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, <see langword="false" />.</returns>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.Equals(System.Security.Cryptography.X509Certificates.X509Certificate)">
<summary>Compares two <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> objects for equality.</summary>
<param name="other">An <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object to compare to the current object.</param>
<returns>
<see langword="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, <see langword="false" />.</returns>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.Export(System.Security.Cryptography.X509Certificates.X509ContentType)">
<summary>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.</summary>
<param name="contentType">One of the <see cref="T:System.Security.Cryptography.X509Certificates.X509ContentType" /> values that describes how to format the output data.</param>
<returns>An array of bytes that represents the current <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object.</returns>
<exception cref="T:System.Security.Cryptography.CryptographicException">A value other than <see cref="F:System.Security.Cryptography.X509Certificates.X509ContentType.Cert" />, <see cref="F:System.Security.Cryptography.X509Certificates.X509ContentType.SerializedCert" />, or <see cref="F:System.Security.Cryptography.X509Certificates.X509ContentType.Pkcs12" /> was passed to the <paramref name="contentType" /> parameter.
-or-
The certificate could not be exported.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.Export(System.Security.Cryptography.X509Certificates.X509ContentType,System.Security.SecureString)">
<summary>Exports the current <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object to a byte array using the specified format and a password.</summary>
<param name="contentType">One of the <see cref="T:System.Security.Cryptography.X509Certificates.X509ContentType" /> values that describes how to format the output data.</param>
<param name="password">The password required to access the X.509 certificate data.</param>
<returns>A byte array that represents the current <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object.</returns>
<exception cref="T:System.Security.Cryptography.CryptographicException">A value other than <see cref="F:System.Security.Cryptography.X509Certificates.X509ContentType.Cert" />, <see cref="F:System.Security.Cryptography.X509Certificates.X509ContentType.SerializedCert" />, or <see cref="F:System.Security.Cryptography.X509Certificates.X509ContentType.Pkcs12" /> was passed to the <paramref name="contentType" /> parameter.
-or-
The certificate could not be exported.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.Export(System.Security.Cryptography.X509Certificates.X509ContentType,System.String)">
<summary>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.</summary>
<param name="contentType">One of the <see cref="T:System.Security.Cryptography.X509Certificates.X509ContentType" /> values that describes how to format the output data.</param>
<param name="password">The password required to access the X.509 certificate data.</param>
<returns>An array of bytes that represents the current <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object.</returns>
<exception cref="T:System.Security.Cryptography.CryptographicException">A value other than <see cref="F:System.Security.Cryptography.X509Certificates.X509ContentType.Cert" />, <see cref="F:System.Security.Cryptography.X509Certificates.X509ContentType.SerializedCert" />, or <see cref="F:System.Security.Cryptography.X509Certificates.X509ContentType.Pkcs12" /> was passed to the <paramref name="contentType" /> parameter.
-or-
The certificate could not be exported.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.FormatDate(System.DateTime)">
<summary>Converts the specified date and time to a string.</summary>
<param name="date">The date and time to convert.</param>
<returns>A string representation of the value of the <see cref="T:System.DateTime" /> object.</returns>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.GetCertHash">
<summary>Returns the hash value for the X.509v3 certificate as an array of bytes.</summary>
<returns>The hash value for the X.509 certificate.</returns>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.GetCertHash(System.Security.Cryptography.HashAlgorithmName)">
<summary>Returns the hash value for the X.509v3 certificate that is computed by using the specified cryptographic hash algorithm.</summary>
<param name="hashAlgorithm">The name of the cryptographic hash algorithm to use.</param>
<returns>A byte array that contains the hash value for the X.509 certificate.</returns>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.GetCertHashString">
<summary>Returns the SHA1 hash value for the X.509v3 certificate as a hexadecimal string.</summary>
<returns>The hexadecimal string representation of the X.509 certificate hash value.</returns>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.GetCertHashString(System.Security.Cryptography.HashAlgorithmName)">
<summary>Returns a hexadecimal string containing the hash value for the X.509v3 certificate computed using the specified cryptographic hash algorithm.</summary>
<param name="hashAlgorithm">The name of the cryptographic hash algorithm to use.</param>
<returns>The hexadecimal string representation of the X.509 certificate hash value.</returns>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.GetEffectiveDateString">
<summary>Returns the effective date of this X.509v3 certificate.</summary>
<returns>The effective date for this X.509 certificate.</returns>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.GetExpirationDateString">
<summary>Returns the expiration date of this X.509v3 certificate.</summary>
<returns>The expiration date for this X.509 certificate.</returns>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.GetFormat">
<summary>Returns the name of the format of this X.509v3 certificate.</summary>
<returns>The format of this X.509 certificate.</returns>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.GetHashCode">
<summary>Returns the hash code for the X.509v3 certificate as an integer.</summary>
<returns>The hash code for the X.509 certificate as an integer.</returns>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.GetIssuerName">
<summary>Returns the name of the certification authority that issued the X.509v3 certificate.</summary>
<returns>The name of the certification authority that issued the X.509 certificate.</returns>
<exception cref="T:System.Security.Cryptography.CryptographicException">An error with the certificate occurs. For example:
The certificate file does not exist.
The certificate is invalid.
The certificate's password is incorrect.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.GetKeyAlgorithm">
<summary>Returns the key algorithm information for this X.509v3 certificate as a string.</summary>
<returns>The key algorithm information for this X.509 certificate as a string.</returns>
<exception cref="T:System.Security.Cryptography.CryptographicException">The certificate context is invalid.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.GetKeyAlgorithmParameters">
<summary>Returns the key algorithm parameters for the X.509v3 certificate as an array of bytes.</summary>
<returns>The key algorithm parameters for the X.509 certificate as an array of bytes.</returns>
<exception cref="T:System.Security.Cryptography.CryptographicException">The certificate context is invalid.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.GetKeyAlgorithmParametersString">
<summary>Returns the key algorithm parameters for the X.509v3 certificate as a hexadecimal string.</summary>
<returns>The key algorithm parameters for the X.509 certificate as a hexadecimal string.</returns>
<exception cref="T:System.Security.Cryptography.CryptographicException">The certificate context is invalid.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.GetName">
<summary>Returns the name of the principal to which the certificate was issued.</summary>
<returns>The name of the principal to which the certificate was issued.</returns>
<exception cref="T:System.Security.Cryptography.CryptographicException">The certificate context is invalid.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.GetPublicKey">
<summary>Returns the public key for the X.509v3 certificate as an array of bytes.</summary>
<returns>The public key for the X.509 certificate as an array of bytes.</returns>
<exception cref="T:System.Security.Cryptography.CryptographicException">The certificate context is invalid.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.GetPublicKeyString">
<summary>Returns the public key for the X.509v3 certificate as a hexadecimal string.</summary>
<returns>The public key for the X.509 certificate as a hexadecimal string.</returns>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.GetRawCertData">
<summary>Returns the raw data for the entire X.509v3 certificate as an array of bytes.</summary>
<returns>A byte array containing the X.509 certificate data.</returns>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.GetRawCertDataString">
<summary>Returns the raw data for the entire X.509v3 certificate as a hexadecimal string.</summary>
<returns>The X.509 certificate data as a hexadecimal string.</returns>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.GetSerialNumber">
<summary>Returns the serial number of the X.509v3 certificate as an array of bytes in little-endian order.</summary>
<returns>The serial number of the X.509 certificate as an array of bytes in little-endian order.</returns>
<exception cref="T:System.Security.Cryptography.CryptographicException">The certificate context is invalid.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.GetSerialNumberString">
<summary>Returns the serial number of the X.509v3 certificate as a little-endian hexadecimal string .</summary>
<returns>The serial number of the X.509 certificate as a little-endian hexadecimal string.</returns>
</member>
<member name="P:System.Security.Cryptography.X509Certificates.X509Certificate.Handle">
<summary>Gets a handle to a Microsoft Cryptographic API certificate context described by an unmanaged <see langword="PCCERT_CONTEXT" /> structure.</summary>
<returns>An <see cref="T:System.IntPtr" /> structure that represents an unmanaged <see langword="PCCERT_CONTEXT" /> structure.</returns>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.Import(System.Byte[])">
<summary>Populates the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object with data from a byte array.</summary>
<param name="rawData">A byte array containing data from an X.509 certificate.</param>
<exception cref="T:System.ArgumentException">The <paramref name="rawData" /> parameter is <see langword="null" />.
-or-
The length of the <paramref name="rawData" /> parameter is 0.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.Import(System.Byte[],System.Security.SecureString,System.Security.Cryptography.X509Certificates.X509KeyStorageFlags)">
<summary>Populates an <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object using data from a byte array, a password, and a key storage flag.</summary>
<param name="rawData">A byte array that contains data from an X.509 certificate.</param>
<param name="password">The password required to access the X.509 certificate data.</param>
<param name="keyStorageFlags">A bitwise combination of the enumeration values that control where and how to import the certificate.</param>
<exception cref="T:System.ArgumentException">The <paramref name="rawData" /> parameter is <see langword="null" />.
-or-
The length of the <paramref name="rawData" /> parameter is 0.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.Import(System.Byte[],System.String,System.Security.Cryptography.X509Certificates.X509KeyStorageFlags)">
<summary>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.</summary>
<param name="rawData">A byte array containing data from an X.509 certificate.</param>
<param name="password">The password required to access the X.509 certificate data.</param>
<param name="keyStorageFlags">A bitwise combination of the enumeration values that control where and how to import the certificate.</param>
<exception cref="T:System.ArgumentException">The <paramref name="rawData" /> parameter is <see langword="null" />.
-or-
The length of the <paramref name="rawData" /> parameter is 0.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.Import(System.String)">
<summary>Populates the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object with information from a certificate file.</summary>
<param name="fileName">The name of a certificate file represented as a string.</param>
<exception cref="T:System.ArgumentException">The <paramref name="fileName" /> parameter is <see langword="null" />.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.Import(System.String,System.Security.SecureString,System.Security.Cryptography.X509Certificates.X509KeyStorageFlags)">
<summary>Populates an <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object with information from a certificate file, a password, and a key storage flag.</summary>
<param name="fileName">The name of a certificate file.</param>
<param name="password">The password required to access the X.509 certificate data.</param>
<param name="keyStorageFlags">A bitwise combination of the enumeration values that control where and how to import the certificate.</param>
<exception cref="T:System.ArgumentException">The <paramref name="fileName" /> parameter is <see langword="null" />.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.Import(System.String,System.String,System.Security.Cryptography.X509Certificates.X509KeyStorageFlags)">
<summary>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.</summary>
<param name="fileName">The name of a certificate file represented as a string.</param>
<param name="password">The password required to access the X.509 certificate data.</param>
<param name="keyStorageFlags">A bitwise combination of the enumeration values that control where and how to import the certificate.</param>
<exception cref="T:System.ArgumentException">The <paramref name="fileName" /> parameter is <see langword="null" />.</exception>
</member>
<member name="P:System.Security.Cryptography.X509Certificates.X509Certificate.Issuer">
<summary>Gets the name of the certificate authority that issued the X.509v3 certificate.</summary>
<returns>The name of the certificate authority that issued the X.509v3 certificate.</returns>
<exception cref="T:System.Security.Cryptography.CryptographicException">The certificate handle is invalid.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.Reset">
<summary>Resets the state of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> object.</summary>
</member>
<member name="P:System.Security.Cryptography.X509Certificates.X509Certificate.Subject">
<summary>Gets the subject distinguished name from the certificate.</summary>
<returns>The subject distinguished name from the certificate.</returns>
<exception cref="T:System.Security.Cryptography.CryptographicException">The certificate handle is invalid.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.System#Runtime#Serialization#IDeserializationCallback#OnDeserialization(System.Object)">
<summary>Implements the <see cref="T:System.Runtime.Serialization.ISerializable" /> interface and is called back by the deserialization event when deserialization is complete.</summary>
<param name="sender">The source of the deserialization event.</param>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.System#Runtime#Serialization#ISerializable#GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
<summary>Gets serialization information with all the data needed to recreate an instance of the current <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object.</summary>
<param name="info">The object to populate with serialization information.</param>
<param name="context">The destination context of the serialization.</param>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.ToString">
<summary>Returns a string representation of the current <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object.</summary>
<returns>A string representation of the current <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object.</returns>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.ToString(System.Boolean)">
<summary>Returns a string representation of the current <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object, with extra information, if specified.</summary>
<param name="fVerbose">
<see langword="true" /> to produce the verbose form of the string representation; otherwise, <see langword="false" />.</param>
<returns>A string representation of the current <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object.</returns>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.TryGetCertHash(System.Security.Cryptography.HashAlgorithmName,System.Span{System.Byte},System.Int32@)">
<param name="hashAlgorithm" />
<param name="destination" />
<param name="bytesWritten" />
</member>
<member name="T:System.Security.Cryptography.X509Certificates.X509Certificate2">
<summary>Represents an X.509 certificate.</summary>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2.#ctor">
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> class.</summary>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2.#ctor(System.Byte[])">
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> class using information from a byte array.</summary>
<param name="rawData">A byte array containing data from an X.509 certificate.</param>
<exception cref="T:System.Security.Cryptography.CryptographicException">An error with the certificate occurs. For example:
The certificate file does not exist.
The certificate is invalid.
The certificate's password is incorrect.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2.#ctor(System.Byte[],System.Security.SecureString)">
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> class using a byte array and a password.</summary>
<param name="rawData">A byte array that contains data from an X.509 certificate.</param>
<param name="password">The password required to access the X.509 certificate data.</param>
<exception cref="T:System.Security.Cryptography.CryptographicException">An error with the certificate occurs. For example:
The certificate file does not exist.
The certificate is invalid.
The certificate's password is incorrect.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2.#ctor(System.Byte[],System.Security.SecureString,System.Security.Cryptography.X509Certificates.X509KeyStorageFlags)">
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> class using a byte array, a password, and a key storage flag.</summary>
<param name="rawData">A byte array that contains data from an X.509 certificate.</param>
<param name="password">The password required to access the X.509 certificate data.</param>
<param name="keyStorageFlags">A bitwise combination of the enumeration values that control where and how to import the certificate.</param>
<exception cref="T:System.Security.Cryptography.CryptographicException">An error with the certificate occurs. For example:
The certificate file does not exist.
The certificate is invalid.
The certificate's password is incorrect.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2.#ctor(System.Byte[],System.String)">
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> class using a byte array and a password.</summary>
<param name="rawData">A byte array containing data from an X.509 certificate.</param>
<param name="password">The password required to access the X.509 certificate data.</param>
<exception cref="T:System.Security.Cryptography.CryptographicException">An error with the certificate occurs. For example:
The certificate file does not exist.
The certificate is invalid.
The certificate's password is incorrect.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2.#ctor(System.Byte[],System.String,System.Security.Cryptography.X509Certificates.X509KeyStorageFlags)">
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> class using a byte array, a password, and a key storage flag.</summary>
<param name="rawData">A byte array containing data from an X.509 certificate.</param>
<param name="password">The password required to access the X.509 certificate data.</param>
<param name="keyStorageFlags">A bitwise combination of the enumeration values that control where and how to import the certificate.</param>
<exception cref="T:System.Security.Cryptography.CryptographicException">An error with the certificate occurs. For example:
The certificate file does not exist.
The certificate is invalid.
The certificate's password is incorrect.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2.#ctor(System.IntPtr)">
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> class using an unmanaged handle.</summary>
<param name="handle">A pointer to a certificate context in unmanaged code. The C structure is called <see langword="PCCERT_CONTEXT" />.</param>
<exception cref="T:System.Security.Cryptography.CryptographicException">An error with the certificate occurs. For example:
The certificate file does not exist.
The certificate is invalid.
The certificate's password is incorrect.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> class using the specified serialization and stream context information.</summary>
<param name="info">The serialization information required to deserialize the new <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" />.</param>
<param name="context">Contextual information about the source of the stream to be deserialized.</param>
<exception cref="T:System.PlatformNotSupportedException">.NET Core only: In all cases.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2.#ctor(System.Security.Cryptography.X509Certificates.X509Certificate)">
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> class using an <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object.</summary>
<param name="certificate">An <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> object.</param>
<exception cref="T:System.Security.Cryptography.CryptographicException">An error with the certificate occurs. For example:
The certificate file does not exist.
The certificate is invalid.
The certificate's password is incorrect.</exception>
</member>
<member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2.#ctor(System.String)">