System.Security.Cryptography.X509Certificates.xml 154 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <doc>
  3. <assembly>
  4. <name>System.Security.Cryptography.X509Certificates</name>
  5. </assembly>
  6. <members>
  7. <member name="T:Microsoft.Win32.SafeHandles.SafeX509ChainHandle">
  8. <summary>提供表示 X.509 链的安全句柄。有关详细信息,请参阅<see cref="T:System.Security.Cryptography.X509Certificates.X509Chain" />。</summary>
  9. </member>
  10. <member name="P:Microsoft.Win32.SafeHandles.SafeX509ChainHandle.IsInvalid"></member>
  11. <member name="T:System.Security.Cryptography.X509Certificates.OpenFlags">
  12. <summary>指定打开 X.509 证书存储区的方式。</summary>
  13. </member>
  14. <member name="F:System.Security.Cryptography.X509Certificates.OpenFlags.IncludeArchived">
  15. <summary>打开 X.509 证书存储区并添加存档证书。</summary>
  16. </member>
  17. <member name="F:System.Security.Cryptography.X509Certificates.OpenFlags.MaxAllowed">
  18. <summary>以允许最高级访问的方式打开 X.509 证书存储区。</summary>
  19. </member>
  20. <member name="F:System.Security.Cryptography.X509Certificates.OpenFlags.OpenExistingOnly">
  21. <summary>仅打开现有存储区。如果不存在任何存储区,<see cref="M:System.Security.Cryptography.X509Certificates.X509Store.Open(System.Security.Cryptography.X509Certificates.OpenFlags)" /> 方法不会创建新的存储区。</summary>
  22. </member>
  23. <member name="F:System.Security.Cryptography.X509Certificates.OpenFlags.ReadOnly">
  24. <summary>以只读方式打开 X.509 证书存储区。</summary>
  25. </member>
  26. <member name="F:System.Security.Cryptography.X509Certificates.OpenFlags.ReadWrite">
  27. <summary>以读写方式打开 X.509 证书存储区。</summary>
  28. </member>
  29. <member name="T:System.Security.Cryptography.X509Certificates.PublicKey">
  30. <summary>表示证书的公钥信息。此类不能被继承。</summary>
  31. </member>
  32. <member name="M:System.Security.Cryptography.X509Certificates.PublicKey.#ctor(System.Security.Cryptography.Oid,System.Security.Cryptography.AsnEncodedData,System.Security.Cryptography.AsnEncodedData)">
  33. <summary>使用公钥的对象标识符 (OID) 对象、公钥参数的 ASN.1 编码表示形式以及公钥值的 ASN.1 编码表示形式初始化 <see cref="T:System.Security.Cryptography.X509Certificates.PublicKey" /> 类的新实例。</summary>
  34. <param name="oid">表示公钥的对象标识符 (OID) 对象。</param>
  35. <param name="parameters">公钥参数的 ASN.1 编码表示形式。</param>
  36. <param name="keyValue">公钥值的 ASN.1 编码表示形式。</param>
  37. </member>
  38. <member name="P:System.Security.Cryptography.X509Certificates.PublicKey.EncodedKeyValue">
  39. <summary>获取公钥值的 ASN.1 编码表示形式。</summary>
  40. <returns>公钥值的 ASN.1 编码表示形式。</returns>
  41. </member>
  42. <member name="P:System.Security.Cryptography.X509Certificates.PublicKey.EncodedParameters">
  43. <summary>获取公钥参数的 ASN.1 编码表示形式。</summary>
  44. <returns>公钥参数的 ASN.1 编码表示形式。</returns>
  45. </member>
  46. <member name="P:System.Security.Cryptography.X509Certificates.PublicKey.Key">
  47. <summary>获取表示公钥的 <see cref="T:System.Security.Cryptography.RSACryptoServiceProvider" /> 或 <see cref="T:System.Security.Cryptography.DSACryptoServiceProvider" /> 对象。</summary>
  48. <returns>表示公钥的 <see cref="T:System.Security.Cryptography.AsymmetricAlgorithm" /> 对象。</returns>
  49. <exception cref="T:System.NotSupportedException">该密钥算法不受支持。</exception>
  50. </member>
  51. <member name="P:System.Security.Cryptography.X509Certificates.PublicKey.Oid">
  52. <summary>获取公钥的对象标识符 (OID) 对象。</summary>
  53. <returns>公钥的对象标识符 (OID) 对象。</returns>
  54. </member>
  55. <member name="T:System.Security.Cryptography.X509Certificates.StoreLocation">
  56. <summary>指定 X.509 证书存储区的位置。</summary>
  57. </member>
  58. <member name="F:System.Security.Cryptography.X509Certificates.StoreLocation.CurrentUser">
  59. <summary>当前用户使用的 X.509 证书存储区。</summary>
  60. </member>
  61. <member name="F:System.Security.Cryptography.X509Certificates.StoreLocation.LocalMachine">
  62. <summary>分配给本地计算机的 X.509 证书存储区。</summary>
  63. </member>
  64. <member name="T:System.Security.Cryptography.X509Certificates.StoreName">
  65. <summary>指定要打开的 X.509 证书存储区的名称。</summary>
  66. </member>
  67. <member name="F:System.Security.Cryptography.X509Certificates.StoreName.AddressBook">
  68. <summary>其他用户的 X.509 证书存储区。</summary>
  69. </member>
  70. <member name="F:System.Security.Cryptography.X509Certificates.StoreName.AuthRoot">
  71. <summary>第三方证书颁发机构 (CA) 的 X.509 证书存储区。</summary>
  72. </member>
  73. <member name="F:System.Security.Cryptography.X509Certificates.StoreName.CertificateAuthority">
  74. <summary>中间证书颁发机构 (CA) 的 X.509 证书存储区。</summary>
  75. </member>
  76. <member name="F:System.Security.Cryptography.X509Certificates.StoreName.Disallowed">
  77. <summary>吊销的证书的 X.509 证书存储区。</summary>
  78. </member>
  79. <member name="F:System.Security.Cryptography.X509Certificates.StoreName.My">
  80. <summary>个人证书的 X.509 证书存储区。</summary>
  81. </member>
  82. <member name="F:System.Security.Cryptography.X509Certificates.StoreName.Root">
  83. <summary>受信任的根证书颁发机构 (CA) 的 X.509 证书存储区。</summary>
  84. </member>
  85. <member name="F:System.Security.Cryptography.X509Certificates.StoreName.TrustedPeople">
  86. <summary>直接受信任的人和资源的 X.509 证书存储区。</summary>
  87. </member>
  88. <member name="F:System.Security.Cryptography.X509Certificates.StoreName.TrustedPublisher">
  89. <summary>直接受信任的发行者的 X.509 证书存储区。</summary>
  90. </member>
  91. <member name="T:System.Security.Cryptography.X509Certificates.X500DistinguishedName">
  92. <summary>表示 X509 证书的识别名。此类不能被继承。</summary>
  93. </member>
  94. <member name="M:System.Security.Cryptography.X509Certificates.X500DistinguishedName.#ctor(System.Byte[])">
  95. <summary>使用指定字节数组中的信息初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X500DistinguishedName" /> 类的新实例。</summary>
  96. <param name="encodedDistinguishedName">一个包含识别名信息的字节数组。</param>
  97. </member>
  98. <member name="M:System.Security.Cryptography.X509Certificates.X500DistinguishedName.#ctor(System.Security.Cryptography.AsnEncodedData)">
  99. <summary>使用指定的 <see cref="T:System.Security.Cryptography.AsnEncodedData" /> 对象初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X500DistinguishedName" /> 类的新实例。</summary>
  100. <param name="encodedDistinguishedName">一个表示识别名的 <see cref="T:System.Security.Cryptography.AsnEncodedData" /> 对象。</param>
  101. </member>
  102. <member name="M:System.Security.Cryptography.X509Certificates.X500DistinguishedName.#ctor(System.Security.Cryptography.X509Certificates.X500DistinguishedName)">
  103. <summary>使用指定的 <see cref="T:System.Security.Cryptography.X509Certificates.X500DistinguishedName" /> 对象初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X500DistinguishedName" /> 类的新实例。</summary>
  104. <param name="distinguishedName">
  105. <see cref="T:System.Security.Cryptography.X509Certificates.X500DistinguishedName" /> 对象。</param>
  106. </member>
  107. <member name="M:System.Security.Cryptography.X509Certificates.X500DistinguishedName.#ctor(System.String)">
  108. <summary>使用指定字符串中的信息初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X500DistinguishedName" /> 类的新实例。</summary>
  109. <param name="distinguishedName">一个表示识别名的字符串。</param>
  110. </member>
  111. <member name="M:System.Security.Cryptography.X509Certificates.X500DistinguishedName.#ctor(System.String,System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags)">
  112. <summary>使用指定的字符串和 <see cref="T:System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags" /> 标志初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X500DistinguishedName" /> 类的新实例。</summary>
  113. <param name="distinguishedName">一个表示识别名的字符串。</param>
  114. <param name="flag">指定区分名特征的枚举值的按位组合。</param>
  115. </member>
  116. <member name="M:System.Security.Cryptography.X509Certificates.X500DistinguishedName.Decode(System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags)">
  117. <summary>使用由 <paramref name="flag" /> 参数指定的特征对识别名进行解码。</summary>
  118. <returns>解码的识别名。</returns>
  119. <param name="flag">指定区分名特征的枚举值的按位组合。</param>
  120. <exception cref="T:System.Security.Cryptography.CryptographicException">证书名称无效。</exception>
  121. </member>
  122. <member name="M:System.Security.Cryptography.X509Certificates.X500DistinguishedName.Format(System.Boolean)">
  123. <summary>返回 X500 识别名的格式化版本,以便打印或输出到文本窗口或控制台。</summary>
  124. <returns>一个表示 X500 识别名的格式化字符串。</returns>
  125. <param name="multiLine">如果返回字符串应包含回车,则为 true;否则为 false。</param>
  126. </member>
  127. <member name="P:System.Security.Cryptography.X509Certificates.X500DistinguishedName.Name">
  128. <summary>从 X500 证书获取逗号分隔的识别名。</summary>
  129. <returns>X509 证书的逗号分隔的识别名。</returns>
  130. </member>
  131. <member name="T:System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags">
  132. <summary>指定 X.500 可分辨名称的特性。</summary>
  133. </member>
  134. <member name="F:System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags.DoNotUsePlusSign">
  135. <summary>可分辨名称不使用加号。</summary>
  136. </member>
  137. <member name="F:System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags.DoNotUseQuotes">
  138. <summary>可分辨名称不使用引号。</summary>
  139. </member>
  140. <member name="F:System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags.ForceUTF8Encoding">
  141. <summary>强制可分辨名称将特定 X.500 密钥编码为 UTF-8 字符串而不是可打印的 Unicode 字符串。有关受影响的 X.500 密钥的详细信息和列表,请参阅 X500NameFlags 枚举。</summary>
  142. </member>
  143. <member name="F:System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags.None">
  144. <summary>可分辨名称没有特殊特性。</summary>
  145. </member>
  146. <member name="F:System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags.Reversed">
  147. <summary>反转可分辨名称。</summary>
  148. </member>
  149. <member name="F:System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags.UseCommas">
  150. <summary>可分辨名称使用逗号。</summary>
  151. </member>
  152. <member name="F:System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags.UseNewLines">
  153. <summary>可分辨名称使用新行字符。</summary>
  154. </member>
  155. <member name="F:System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags.UseSemicolons">
  156. <summary>可分辨名称使用分号。</summary>
  157. </member>
  158. <member name="F:System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags.UseT61Encoding">
  159. <summary>可分辨名称使用 T61 编码。</summary>
  160. </member>
  161. <member name="F:System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags.UseUTF8Encoding">
  162. <summary>可分辨名称使用 UTF8 编码而不是 Unicode 字符编码。</summary>
  163. </member>
  164. <member name="T:System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension">
  165. <summary>定义对证书设置的约束。此类不能被继承。</summary>
  166. </member>
  167. <member name="M:System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension.#ctor">
  168. <summary>初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension" /> 类的新实例。</summary>
  169. </member>
  170. <member name="M:System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension.#ctor(System.Boolean,System.Boolean,System.Int32,System.Boolean)">
  171. <summary>初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension" /> 类的新实例。参数指定以下值:指示证书是否为证书颁发机构 (CA) 证书的值;指示证书对其允许的路径级别数是否有限制、证书路径允许的级别数的值;指示扩展是否重要的值。</summary>
  172. <param name="certificateAuthority">如果证书为证书颁发机构 (CA) 证书,则为 true;否则为 false。</param>
  173. <param name="hasPathLengthConstraint">如果证书对其允许的路径级别数有限制,则为 true;否则为 false。</param>
  174. <param name="pathLengthConstraint">证书路径允许的级别数。</param>
  175. <param name="critical">如果扩展是必不可少的,则为 true;否则为 false。</param>
  176. </member>
  177. <member name="M:System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension.#ctor(System.Security.Cryptography.AsnEncodedData,System.Boolean)">
  178. <summary>使用 <see cref="T:System.Security.Cryptography.AsnEncodedData" /> 对象和一个标识扩展是否重要的值初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension" /> 类的新实例。</summary>
  179. <param name="encodedBasicConstraints">用于创建扩展的编码数据。</param>
  180. <param name="critical">如果扩展是必不可少的,则为 true;否则为 false。</param>
  181. </member>
  182. <member name="P:System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension.CertificateAuthority">
  183. <summary>获取一个值,该值指示证书是否为证书颁发机构 (CA) 证书。</summary>
  184. <returns>如果证书为证书颁发机构 (CA) 证书,则为 true;否则为 false。</returns>
  185. </member>
  186. <member name="M:System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension.CopyFrom(System.Security.Cryptography.AsnEncodedData)">
  187. <summary>使用 <see cref="T:System.Security.Cryptography.AsnEncodedData" /> 对象初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension" /> 类的新实例。</summary>
  188. <param name="asnEncodedData">用于创建扩展的编码数据。</param>
  189. </member>
  190. <member name="P:System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension.HasPathLengthConstraint">
  191. <summary>获取一个值,该值指示证书对其允许的路径级别数是否有限制。</summary>
  192. <returns>如果证书对其允许的路径级别数有限制,则为 true;否则为 false。</returns>
  193. <exception cref="T:System.Security.Cryptography.CryptographicException">扩展无法解码。</exception>
  194. </member>
  195. <member name="P:System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension.PathLengthConstraint">
  196. <summary>获取证书路径允许的级别数。</summary>
  197. <returns>一个整数,指示证书路径允许的级别数。</returns>
  198. <exception cref="T:System.Security.Cryptography.CryptographicException">扩展无法解码。</exception>
  199. </member>
  200. <member name="T:System.Security.Cryptography.X509Certificates.X509Certificate">
  201. <summary>提供帮助你使用 X.509 v.3 证书的方法。</summary>
  202. </member>
  203. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.#ctor">
  204. <summary>初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 类的新实例。</summary>
  205. </member>
  206. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.#ctor(System.Byte[])">
  207. <summary>初始化从表示 X.509v3 证书的字节序列定义的 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 类的新实例。</summary>
  208. <param name="data">一个包含 X.509 证书数据的字节数组。</param>
  209. <exception cref="T:System.Security.Cryptography.CryptographicException">发生了与证书有关的错误。例如:证书文件不存在。证书无效。证书的密码不正确。</exception>
  210. <exception cref="T:System.ArgumentException">
  211. <paramref name="rawData" /> 参数为 null。- 或 -<paramref name="rawData" /> 参数的长度为 0。</exception>
  212. </member>
  213. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.#ctor(System.Byte[],System.String)">
  214. <summary>使用一个字节数组和一个密码初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 类的新实例。</summary>
  215. <param name="rawData">一个包含 X.509 证书数据的字节数组。</param>
  216. <param name="password">访问 X.509 证书数据所需的密码。</param>
  217. <exception cref="T:System.Security.Cryptography.CryptographicException">发生了与证书有关的错误。例如:证书文件不存在。证书无效。证书的密码不正确。</exception>
  218. <exception cref="T:System.ArgumentException">
  219. <paramref name="rawData" /> 参数为 null。- 或 -<paramref name="rawData" /> 参数的长度为 0。</exception>
  220. </member>
  221. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.#ctor(System.Byte[],System.String,System.Security.Cryptography.X509Certificates.X509KeyStorageFlags)">
  222. <summary>使用一个字节数组、一个密码和一个密钥存储标志初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 类的新实例。</summary>
  223. <param name="rawData">一个包含 X.509 证书数据的字节数组。</param>
  224. <param name="password">访问 X.509 证书数据所需的密码。</param>
  225. <param name="keyStorageFlags">一个枚举值的按位组合,这些值控制在何处以及如何导入证书。</param>
  226. <exception cref="T:System.Security.Cryptography.CryptographicException">发生了与证书有关的错误。例如:证书文件不存在。证书无效。证书的密码不正确。</exception>
  227. <exception cref="T:System.ArgumentException">
  228. <paramref name="rawData" /> 参数为 null。- 或 -<paramref name="rawData" /> 参数的长度为 0。</exception>
  229. </member>
  230. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.#ctor(System.IntPtr)">
  231. <summary>[SECURITY CRITICAL] 使用非托管 PCCERT_CONTEXT 结构的句柄初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 类的一个新实例。</summary>
  232. <param name="handle">非托管 PCCERT_CONTEXT 结构的一个句柄。</param>
  233. </member>
  234. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.#ctor(System.String)">
  235. <summary>使用 PKCS7 签名文件的名称初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 类的新实例。</summary>
  236. <param name="fileName">PKCS7 签名文件的名称。</param>
  237. <exception cref="T:System.Security.Cryptography.CryptographicException">发生了与证书有关的错误。例如:证书文件不存在。证书无效。证书的密码不正确。</exception>
  238. <exception cref="T:System.ArgumentException">
  239. <paramref name="fileName" /> 参数为 null。</exception>
  240. </member>
  241. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.#ctor(System.String,System.String)">
  242. <summary>使用 PKCS7 签名文件的名称和一个用于访问该证书的密码初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 类的新实例。</summary>
  243. <param name="fileName">PKCS7 签名文件的名称。</param>
  244. <param name="password">访问 X.509 证书数据所需的密码。</param>
  245. <exception cref="T:System.Security.Cryptography.CryptographicException">发生了与证书有关的错误。例如:证书文件不存在。证书无效。证书的密码不正确。</exception>
  246. <exception cref="T:System.ArgumentException">
  247. <paramref name="fileName" /> 参数为 null。</exception>
  248. </member>
  249. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.#ctor(System.String,System.String,System.Security.Cryptography.X509Certificates.X509KeyStorageFlags)">
  250. <summary>使用 PKCS7 签名文件的名称、一个用于访问该证书的密码和一个密钥存储标志初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 类的新实例。</summary>
  251. <param name="fileName">PKCS7 签名文件的名称。</param>
  252. <param name="password">访问 X.509 证书数据所需的密码。</param>
  253. <param name="keyStorageFlags">一个枚举值的按位组合,这些值控制在何处以及如何导入证书。</param>
  254. <exception cref="T:System.Security.Cryptography.CryptographicException">发生了与证书有关的错误。例如:证书文件不存在。证书无效。证书的密码不正确。</exception>
  255. <exception cref="T:System.ArgumentException">
  256. <paramref name="fileName" /> 参数为 null。</exception>
  257. </member>
  258. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.Dispose">
  259. <summary>释放由当前 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 对象使用的所有资源。</summary>
  260. </member>
  261. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.Dispose(System.Boolean)">
  262. <summary>释放由此使用的非托管资源的所有<see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" />并选择性地释放托管的资源。 </summary>
  263. <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources.</param>
  264. </member>
  265. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.Equals(System.Object)">
  266. <summary>比较两个 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 对象是否相等。</summary>
  267. <returns>如果当前 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 对象等于 <paramref name="other" /> 参数指定的对象,则为 true;否则为 false。</returns>
  268. <param name="obj">要与当前对象进行比较的 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 对象。 </param>
  269. </member>
  270. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.Equals(System.Security.Cryptography.X509Certificates.X509Certificate)">
  271. <summary>比较两个 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 对象是否相等。</summary>
  272. <returns>如果当前 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 对象等于 <paramref name="other" /> 参数指定的对象,则为 true;否则为 false。</returns>
  273. <param name="other">要与当前对象进行比较的 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 对象。</param>
  274. </member>
  275. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.Export(System.Security.Cryptography.X509Certificates.X509ContentType)">
  276. <summary>以 <see cref="T:System.Security.Cryptography.X509Certificates.X509ContentType" /> 值之一所描述的格式将当前 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 对象导出到字节数组。</summary>
  277. <returns>表示当前 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 对象的字节数组。</returns>
  278. <param name="contentType">描述如何设置输出数据格式的 <see cref="T:System.Security.Cryptography.X509Certificates.X509ContentType" /> 值之一。</param>
  279. <exception cref="T:System.Security.Cryptography.CryptographicException">将 <see cref="F:System.Security.Cryptography.X509Certificates.X509ContentType.Cert" />、<see cref="F:System.Security.Cryptography.X509Certificates.X509ContentType.SerializedCert" /> 或 <see cref="F:System.Security.Cryptography.X509Certificates.X509ContentType.Pkcs12" /> 之外的一个值传递给 <paramref name="contentType" /> 参数。- 或 -无法导出证书。</exception>
  280. <PermissionSet>
  281. <IPermission class="System.Security.Permissions.KeyContainerPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="Open, Export" />
  282. </PermissionSet>
  283. </member>
  284. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.Export(System.Security.Cryptography.X509Certificates.X509ContentType,System.String)">
  285. <summary>使用指定的密码,以 <see cref="T:System.Security.Cryptography.X509Certificates.X509ContentType" /> 值之一所描述的格式将当前 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 对象导出到字节数组。</summary>
  286. <returns>表示当前 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 对象的字节数组。</returns>
  287. <param name="contentType">描述如何设置输出数据格式的 <see cref="T:System.Security.Cryptography.X509Certificates.X509ContentType" /> 值之一。</param>
  288. <param name="password">访问 X.509 证书数据所需的密码。</param>
  289. <exception cref="T:System.Security.Cryptography.CryptographicException">将 <see cref="F:System.Security.Cryptography.X509Certificates.X509ContentType.Cert" />、<see cref="F:System.Security.Cryptography.X509Certificates.X509ContentType.SerializedCert" /> 或 <see cref="F:System.Security.Cryptography.X509Certificates.X509ContentType.Pkcs12" /> 之外的一个值传递给 <paramref name="contentType" /> 参数。- 或 -无法导出证书。</exception>
  290. <PermissionSet>
  291. <IPermission class="System.Security.Permissions.KeyContainerPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="Open, Export" />
  292. </PermissionSet>
  293. </member>
  294. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.GetCertHash">
  295. <summary>将 X.509v3 证书的哈希值作为字节数组返回。</summary>
  296. <returns>X.509 证书的哈希值。</returns>
  297. </member>
  298. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.GetFormat">
  299. <summary>返回此 X.509v3 证书的格式的名称。</summary>
  300. <returns>此 X.509 证书的格式。</returns>
  301. </member>
  302. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.GetHashCode">
  303. <summary>返回整数形式的 X.509v3 证书的哈希代码。</summary>
  304. <returns>整数形式的 X.509 证书的哈希代码。</returns>
  305. </member>
  306. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.GetKeyAlgorithm">
  307. <summary>将此 X.509v3 证书的密钥算法信息作为字符串返回。</summary>
  308. <returns>字符串形式的 X.509 证书的密钥算法信息。</returns>
  309. <exception cref="T:System.Security.Cryptography.CryptographicException">证书上下文无效。</exception>
  310. </member>
  311. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.GetKeyAlgorithmParameters">
  312. <summary>将 X.509v3 证书的密钥算法参数作为字节数组返回。</summary>
  313. <returns>字节数组形式的 X.509 证书的密钥算法参数。</returns>
  314. <exception cref="T:System.Security.Cryptography.CryptographicException">证书上下文无效。</exception>
  315. </member>
  316. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.GetKeyAlgorithmParametersString">
  317. <summary>将 X.509v3 证书的密钥算法参数作为十六进制字符串返回。</summary>
  318. <returns>十六进制字符串形式的 X.509 证书的密钥算法参数。</returns>
  319. <exception cref="T:System.Security.Cryptography.CryptographicException">证书上下文无效。</exception>
  320. </member>
  321. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.GetPublicKey">
  322. <summary>将 X.509v3 证书的公钥作为字节数组返回。</summary>
  323. <returns>字节数组形式的 X.509 证书的公钥。</returns>
  324. <exception cref="T:System.Security.Cryptography.CryptographicException">证书上下文无效。</exception>
  325. </member>
  326. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.GetSerialNumber">
  327. <summary>将 X.509v3 证书的序列号作为字节数组返回。</summary>
  328. <returns>字节数组形式的 X.509 证书的序列号。</returns>
  329. <exception cref="T:System.Security.Cryptography.CryptographicException">证书上下文无效。</exception>
  330. </member>
  331. <member name="P:System.Security.Cryptography.X509Certificates.X509Certificate.Handle">
  332. <summary>[SECURITY CRITICAL] 获取非托管 PCCERT_CONTEXT 结构所描述的 Microsoft Cryptographic API 证书上下文的句柄。</summary>
  333. <returns>表示非托管 PCCERT_CONTEXT 结构的 <see cref="T:System.IntPtr" /> 结构。</returns>
  334. <PermissionSet>
  335. <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
  336. </PermissionSet>
  337. </member>
  338. <member name="P:System.Security.Cryptography.X509Certificates.X509Certificate.Issuer">
  339. <summary>获取颁发此 X.509v3 证书的证书颁发机构的名称。</summary>
  340. <returns>颁发此 X.509v3 证书的证书颁发机构的名称。</returns>
  341. <exception cref="T:System.Security.Cryptography.CryptographicException">证书句柄无效。</exception>
  342. </member>
  343. <member name="P:System.Security.Cryptography.X509Certificates.X509Certificate.Subject">
  344. <summary>获取证书的主题可分辨名称。</summary>
  345. <returns>证书的主题可分辨名称。</returns>
  346. <exception cref="T:System.Security.Cryptography.CryptographicException">证书句柄无效。</exception>
  347. </member>
  348. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.ToString">
  349. <summary>返回当前 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 对象的字符串表示形式。</summary>
  350. <returns>当前 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 对象的字符串表示形式。</returns>
  351. </member>
  352. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate.ToString(System.Boolean)">
  353. <summary>返回当前 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 对象的字符串表示形式,如果指定,带有其他信息。</summary>
  354. <returns>当前 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 对象的字符串表示形式。</returns>
  355. <param name="fVerbose">true to produce the verbose form of the string representation; otherwise, false.</param>
  356. </member>
  357. <member name="T:System.Security.Cryptography.X509Certificates.X509Certificate2">
  358. <summary>表示 X.509 证书。</summary>
  359. </member>
  360. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2.#ctor">
  361. <summary>初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> 类的新实例。</summary>
  362. </member>
  363. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2.#ctor(System.Byte[])">
  364. <summary>使用来自字节数组的信息初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> 类的新实例。</summary>
  365. <param name="rawData">一个包含 X.509 证书数据的字节数组。</param>
  366. <exception cref="T:System.Security.Cryptography.CryptographicException">发生了与证书有关的错误。例如:证书文件不存在。证书无效。证书的密码不正确。</exception>
  367. </member>
  368. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2.#ctor(System.Byte[],System.String)">
  369. <summary>使用一个字节数组和一个密码初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> 类的新实例。</summary>
  370. <param name="rawData">一个包含 X.509 证书数据的字节数组。</param>
  371. <param name="password">访问 X.509 证书数据所需的密码。</param>
  372. <exception cref="T:System.Security.Cryptography.CryptographicException">发生了与证书有关的错误。例如:证书文件不存在。证书无效。证书的密码不正确。</exception>
  373. </member>
  374. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2.#ctor(System.Byte[],System.String,System.Security.Cryptography.X509Certificates.X509KeyStorageFlags)">
  375. <summary>使用一个字节数组、一个密码和一个密钥存储标志初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> 类的新实例。</summary>
  376. <param name="rawData">一个包含 X.509 证书数据的字节数组。</param>
  377. <param name="password">访问 X.509 证书数据所需的密码。</param>
  378. <param name="keyStorageFlags">控制在何处以及如何导入证书的枚举值的按位组合。</param>
  379. <exception cref="T:System.Security.Cryptography.CryptographicException">发生了与证书有关的错误。例如:证书文件不存在。证书无效。证书的密码不正确。</exception>
  380. </member>
  381. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2.#ctor(System.IntPtr)">
  382. <summary>使用非托管句柄初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> 类的新实例。</summary>
  383. <param name="handle">一个指向非托管代码中的证书上下文的指针。C 结构称为 PCCERT_CONTEXT。</param>
  384. <exception cref="T:System.Security.Cryptography.CryptographicException">发生了与证书有关的错误。例如:证书文件不存在。证书无效。证书的密码不正确。</exception>
  385. </member>
  386. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2.#ctor(System.String)">
  387. <summary>使用证书文件名初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> 类的新实例。</summary>
  388. <param name="fileName">一个证书文件的名称。</param>
  389. <exception cref="T:System.Security.Cryptography.CryptographicException">发生了与证书有关的错误。例如:证书文件不存在。证书无效。证书的密码不正确。</exception>
  390. </member>
  391. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2.#ctor(System.String,System.String)">
  392. <summary>使用一个证书文件名和一个用于访问该证书的密码初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> 类的新实例。</summary>
  393. <param name="fileName">一个证书文件的名称。</param>
  394. <param name="password">访问 X.509 证书数据所需的密码。</param>
  395. <exception cref="T:System.Security.Cryptography.CryptographicException">发生了与证书有关的错误。例如:证书文件不存在。证书无效。证书的密码不正确。</exception>
  396. </member>
  397. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2.#ctor(System.String,System.String,System.Security.Cryptography.X509Certificates.X509KeyStorageFlags)">
  398. <summary>使用一个证书文件名、一个用于访问该证书的密码和一个密钥存储标志初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> 类的新实例。</summary>
  399. <param name="fileName">一个证书文件的名称。</param>
  400. <param name="password">访问 X.509 证书数据所需的密码。</param>
  401. <param name="keyStorageFlags">控制在何处以及如何导入证书的枚举值的按位组合。</param>
  402. <exception cref="T:System.Security.Cryptography.CryptographicException">发生了与证书有关的错误。例如:证书文件不存在。证书无效。证书的密码不正确。</exception>
  403. </member>
  404. <member name="P:System.Security.Cryptography.X509Certificates.X509Certificate2.Archived">
  405. <summary>获取或设置一个指示是否存档 X.509 证书的值。</summary>
  406. <returns>如果存档该证书,则为 true;如果不存档该证书,则为 false。</returns>
  407. <exception cref="T:System.Security.Cryptography.CryptographicException">该证书不可读。</exception>
  408. </member>
  409. <member name="P:System.Security.Cryptography.X509Certificates.X509Certificate2.Extensions">
  410. <summary>获取 <see cref="T:System.Security.Cryptography.X509Certificates.X509Extension" /> 对象的集合。</summary>
  411. <returns>
  412. <see cref="T:System.Security.Cryptography.X509Certificates.X509ExtensionCollection" /> 对象。</returns>
  413. <exception cref="T:System.Security.Cryptography.CryptographicException">该证书不可读。</exception>
  414. </member>
  415. <member name="P:System.Security.Cryptography.X509Certificates.X509Certificate2.FriendlyName">
  416. <summary>获取或设置证书的关联别名。</summary>
  417. <returns>证书的友好名称。</returns>
  418. <exception cref="T:System.Security.Cryptography.CryptographicException">该证书不可读。</exception>
  419. </member>
  420. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2.GetCertContentType(System.Byte[])">
  421. <summary>指示字节数组中所包含的证书类型。</summary>
  422. <returns>
  423. <see cref="T:System.Security.Cryptography.X509Certificates.X509ContentType" /> 对象。</returns>
  424. <param name="rawData">一个包含 X.509 证书数据的字节数组。</param>
  425. <exception cref="T:System.ArgumentException">
  426. <paramref name="rawData" /> 的长度为零或为 null。</exception>
  427. </member>
  428. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2.GetCertContentType(System.String)">
  429. <summary>指示文件中所包含的证书类型。</summary>
  430. <returns>
  431. <see cref="T:System.Security.Cryptography.X509Certificates.X509ContentType" /> 对象。</returns>
  432. <param name="fileName">一个证书文件的名称。</param>
  433. <exception cref="T:System.ArgumentNullException">
  434. <paramref name="fileName" /> 为 null。</exception>
  435. </member>
  436. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2.GetNameInfo(System.Security.Cryptography.X509Certificates.X509NameType,System.Boolean)">
  437. <summary>从证书中获取主题和颁发者名称。</summary>
  438. <returns>证书的名称。</returns>
  439. <param name="nameType">该主题的 <see cref="T:System.Security.Cryptography.X509Certificates.X509NameType" /> 值。</param>
  440. <param name="forIssuer">如果包含颁发者名称,则为 true;否则为 false。</param>
  441. </member>
  442. <member name="P:System.Security.Cryptography.X509Certificates.X509Certificate2.HasPrivateKey">
  443. <summary>获取一个值,该值指示 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> 对象是否包含私钥。</summary>
  444. <returns>如果 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> 对象包含私钥,则为 true;否则为 false。</returns>
  445. <exception cref="T:System.Security.Cryptography.CryptographicException">证书上下文无效。</exception>
  446. </member>
  447. <member name="P:System.Security.Cryptography.X509Certificates.X509Certificate2.IssuerName">
  448. <summary>获取证书颁发者的可分辨名称。</summary>
  449. <returns>一个 <see cref="T:System.Security.Cryptography.X509Certificates.X500DistinguishedName" /> 对象,包含证书颁发者的名称。</returns>
  450. <exception cref="T:System.Security.Cryptography.CryptographicException">证书上下文无效。</exception>
  451. </member>
  452. <member name="P:System.Security.Cryptography.X509Certificates.X509Certificate2.NotAfter">
  453. <summary>获取本地时间中的一个日期,在该日期后证书不再有效。</summary>
  454. <returns>表示证书的到期日期的 <see cref="T:System.DateTime" /> 对象。</returns>
  455. <exception cref="T:System.Security.Cryptography.CryptographicException">该证书不可读。</exception>
  456. </member>
  457. <member name="P:System.Security.Cryptography.X509Certificates.X509Certificate2.NotBefore">
  458. <summary>获取证书生效的本地时间中的日期。</summary>
  459. <returns>一个表示证书生效日期的 <see cref="T:System.DateTime" /> 对象。</returns>
  460. <exception cref="T:System.Security.Cryptography.CryptographicException">该证书不可读。</exception>
  461. </member>
  462. <member name="P:System.Security.Cryptography.X509Certificates.X509Certificate2.PrivateKey">
  463. <summary>获取或设置 <see cref="T:System.Security.Cryptography.AsymmetricAlgorithm" /> 对象,该对象表示与证书关联的私钥。</summary>
  464. <returns>一个 <see cref="T:System.Security.Cryptography.AsymmetricAlgorithm" /> 对象,表示 RSA 或 DSA 加密服务提供程序。</returns>
  465. <exception cref="T:System.Security.Cryptography.CryptographicException">密钥值不是 RSA 或 DSA 密钥,或者密钥不可读。</exception>
  466. <exception cref="T:System.ArgumentNullException">为此属性设置的值为 null。</exception>
  467. <exception cref="T:System.NotSupportedException">此私钥的密钥算法不受支持。</exception>
  468. <exception cref="T:System.Security.Cryptography.CryptographicUnexpectedOperationException">X.509 密钥不匹配。</exception>
  469. <exception cref="T:System.ArgumentException">加密服务提供程序密钥为 null。</exception>
  470. </member>
  471. <member name="P:System.Security.Cryptography.X509Certificates.X509Certificate2.PublicKey">
  472. <summary>获取一个与证书相关联的 <see cref="P:System.Security.Cryptography.X509Certificates.X509Certificate2.PublicKey" /> 对象。</summary>
  473. <returns>
  474. <see cref="P:System.Security.Cryptography.X509Certificates.X509Certificate2.PublicKey" /> 对象。</returns>
  475. <exception cref="T:System.Security.Cryptography.CryptographicException">密钥值不是 RSA 或 DSA 密钥,或者密钥不可读。</exception>
  476. </member>
  477. <member name="P:System.Security.Cryptography.X509Certificates.X509Certificate2.RawData">
  478. <summary>获取证书的原始数据。</summary>
  479. <returns>字节数组形式的证书原始数据。</returns>
  480. </member>
  481. <member name="P:System.Security.Cryptography.X509Certificates.X509Certificate2.SerialNumber">
  482. <summary>获取证书的序列号。</summary>
  483. <returns>证书的序列号。</returns>
  484. </member>
  485. <member name="P:System.Security.Cryptography.X509Certificates.X509Certificate2.SignatureAlgorithm">
  486. <summary>获取用于创建证书签名的算法。</summary>
  487. <returns>返回签名算法的对象标识符 (<see cref="T:System.Security.Cryptography.Oid" />)。</returns>
  488. <exception cref="T:System.Security.Cryptography.CryptographicException">该证书不可读。</exception>
  489. </member>
  490. <member name="P:System.Security.Cryptography.X509Certificates.X509Certificate2.SubjectName">
  491. <summary>获取证书的主题可分辨名称。</summary>
  492. <returns>一个 <see cref="T:System.Security.Cryptography.X509Certificates.X500DistinguishedName" /> 对象,用于表示证书主题的名称。</returns>
  493. <exception cref="T:System.Security.Cryptography.CryptographicException">证书上下文无效。</exception>
  494. </member>
  495. <member name="P:System.Security.Cryptography.X509Certificates.X509Certificate2.Thumbprint">
  496. <summary>获取证书的指纹。</summary>
  497. <returns>证书的指纹。</returns>
  498. </member>
  499. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2.ToString">
  500. <summary>以文本格式显示 X.509 证书。</summary>
  501. <returns>证书信息。</returns>
  502. </member>
  503. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2.ToString(System.Boolean)">
  504. <summary>以文本格式显示 X.509 证书。</summary>
  505. <returns>证书信息。</returns>
  506. <param name="verbose">为 true 则显示公钥、私钥、扩展等;为 false 则显示类似于 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> 类的信息,包括指纹、序列号、主题和颁发者名称等。</param>
  507. </member>
  508. <member name="P:System.Security.Cryptography.X509Certificates.X509Certificate2.Version">
  509. <summary>获取证书的 X.509 格式版本。</summary>
  510. <returns>证书格式。</returns>
  511. <exception cref="T:System.Security.Cryptography.CryptographicException">该证书不可读。</exception>
  512. </member>
  513. <member name="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection">
  514. <summary>表示 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> 对象的集合。此类不能被继承。</summary>
  515. </member>
  516. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.#ctor">
  517. <summary>不使用任何 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> 信息初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 类的新实例。</summary>
  518. </member>
  519. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.#ctor(System.Security.Cryptography.X509Certificates.X509Certificate2)">
  520. <summary>使用 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> 对象初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 类的新实例。</summary>
  521. <param name="certificate">
  522. <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> 对象,集合从该对象开始。</param>
  523. </member>
  524. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.#ctor(System.Security.Cryptography.X509Certificates.X509Certificate2[])">
  525. <summary>使用 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> 对象的数组初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 类的新实例。</summary>
  526. <param name="certificates">
  527. <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> 对象的数组。</param>
  528. </member>
  529. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.#ctor(System.Security.Cryptography.X509Certificates.X509Certificate2Collection)">
  530. <summary>使用指定的证书集合初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 类的新实例。</summary>
  531. <param name="certificates">
  532. <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 对象。</param>
  533. </member>
  534. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Add(System.Security.Cryptography.X509Certificates.X509Certificate2)">
  535. <summary>将对象添加到 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 的结尾处。</summary>
  536. <returns>
  537. <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 索引,已在此处添加了 <paramref name="certificate" />。</returns>
  538. <param name="certificate">表示为 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> 对象的 X.509 证书。</param>
  539. <exception cref="T:System.ArgumentNullException">
  540. <paramref name="certificate" /> 为 null。</exception>
  541. </member>
  542. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.AddRange(System.Security.Cryptography.X509Certificates.X509Certificate2[])">
  543. <summary>将数组中的多个 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> 对象添加到 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 对象。</summary>
  544. <param name="certificates">
  545. <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> 对象的数组。</param>
  546. <exception cref="T:System.ArgumentNullException">
  547. <paramref name="certificates" /> 为 null。</exception>
  548. </member>
  549. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.AddRange(System.Security.Cryptography.X509Certificates.X509Certificate2Collection)">
  550. <summary>将 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 对象中的多个 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> 对象添加到另一个 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 对象。</summary>
  551. <param name="certificates">
  552. <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 对象。</param>
  553. <exception cref="T:System.ArgumentNullException">
  554. <paramref name="certificates" /> 为 null。</exception>
  555. </member>
  556. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Contains(System.Security.Cryptography.X509Certificates.X509Certificate2)">
  557. <summary>确定 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 对象是否包含特定证书。</summary>
  558. <returns>如果 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 包含指定的 <paramref name="certificate" />,则为 true;否则为 false。</returns>
  559. <param name="certificate">要在集合中定位的 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> 对象。</param>
  560. <exception cref="T:System.ArgumentNullException">
  561. <paramref name="certificate" /> 为 null。</exception>
  562. </member>
  563. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Export(System.Security.Cryptography.X509Certificates.X509ContentType)">
  564. <summary>将 X.509 证书信息导出到字节数组中。</summary>
  565. <returns>字节数组中的 X.509 证书信息。</returns>
  566. <param name="contentType">受支持的 <see cref="T:System.Security.Cryptography.X509Certificates.X509ContentType" /> 对象。</param>
  567. </member>
  568. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Export(System.Security.Cryptography.X509Certificates.X509ContentType,System.String)">
  569. <summary>使用密码将 X.509 证书信息导出到字节数组中。</summary>
  570. <returns>字节数组中的 X.509 证书信息。</returns>
  571. <param name="contentType">受支持的 <see cref="T:System.Security.Cryptography.X509Certificates.X509ContentType" /> 对象。</param>
  572. <param name="password">用于保护字节数组的字符串。</param>
  573. <exception cref="T:System.Security.Cryptography.CryptographicException">证书不可读,内容无效,或证书要求密码,但提供的密码不正确因而未能导出私钥。</exception>
  574. </member>
  575. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Find(System.Security.Cryptography.X509Certificates.X509FindType,System.Object,System.Boolean)">
  576. <summary>使用 <see cref="T:System.Security.Cryptography.X509Certificates.X509FindType" /> 枚举和 <paramref name="findValue" /> 对象所指定的搜索条件搜索 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 对象。</summary>
  577. <returns>
  578. <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 对象。</returns>
  579. <param name="findType">
  580. <see cref="T:System.Security.Cryptography.X509Certificates.X509FindType" /> 值之一。</param>
  581. <param name="findValue">作为对象的搜索条件。</param>
  582. <param name="validOnly">如果仅允许从搜索中返回有效的证书,则为 true;否则为 false。</param>
  583. <exception cref="T:System.Security.Cryptography.CryptographicException">
  584. <paramref name="findType" /> 无效。</exception>
  585. </member>
  586. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.GetEnumerator">
  587. <summary>返回可循环访问 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 对象的枚举数。</summary>
  588. <returns>可循环访问 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 对象的 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Enumerator" /> 对象。</returns>
  589. </member>
  590. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Import(System.Byte[])">
  591. <summary>将字节数组形式的证书导入到 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 对象。</summary>
  592. <param name="rawData">一个包含 X.509 证书数据的字节数组。</param>
  593. </member>
  594. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Import(System.Byte[],System.String,System.Security.Cryptography.X509Certificates.X509KeyStorageFlags)">
  595. <summary>将需要密码才能访问的、字节数组形式的证书导入到 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 对象。</summary>
  596. <param name="rawData">包含 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> 对象的数据的字节数组。</param>
  597. <param name="password">访问证书信息所需的密码。</param>
  598. <param name="keyStorageFlags">控制如何导入证书以及导入地点的枚举值的按位组合。</param>
  599. </member>
  600. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Import(System.String)">
  601. <summary>将证书文件导入到 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 对象。</summary>
  602. <param name="fileName">包含证书信息的文件的名称。</param>
  603. </member>
  604. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Import(System.String,System.String,System.Security.Cryptography.X509Certificates.X509KeyStorageFlags)">
  605. <summary>将要求密码的证书文件导入到 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 对象。</summary>
  606. <param name="fileName">包含证书信息的文件的名称。</param>
  607. <param name="password">访问证书信息所需的密码。</param>
  608. <param name="keyStorageFlags">控制如何导入证书以及导入地点的枚举值的按位组合。</param>
  609. </member>
  610. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Insert(System.Int32,System.Security.Cryptography.X509Certificates.X509Certificate2)">
  611. <summary>将对象插入到 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 对象的指定索引位置。</summary>
  612. <param name="index">从零开始的索引,在该处插入 <paramref name="certificate" />。</param>
  613. <param name="certificate">要插入的 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> 对象。</param>
  614. <exception cref="T:System.ArgumentOutOfRangeException">
  615. <paramref name="index" /> 小于零。- 或 -<paramref name="index" /> 大于 <see cref="P:System.Collections.CollectionBase.Count" /> 属性。</exception>
  616. <exception cref="T:System.NotSupportedException">该集合为只读。- 或 -该集合的大小是固定的。</exception>
  617. <exception cref="T:System.ArgumentNullException">
  618. <paramref name="certificate" /> 为 null。</exception>
  619. </member>
  620. <member name="P:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Item(System.Int32)">
  621. <summary>获取或设置位于指定索引处的元素。</summary>
  622. <returns>位于指定索引处的元素。</returns>
  623. <param name="index">要获得或设置的元素从零开始的索引。</param>
  624. <exception cref="T:System.ArgumentOutOfRangeException">
  625. <paramref name="index" /> 小于零。- 或 -<paramref name="index" /> 等于或大于 <see cref="P:System.Collections.CollectionBase.Count" /> 属性。</exception>
  626. <exception cref="T:System.ArgumentNullException">
  627. <paramref name="index" /> 为 null。</exception>
  628. </member>
  629. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Remove(System.Security.Cryptography.X509Certificates.X509Certificate2)">
  630. <summary>从 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 对象中移除证书的第一个匹配项。</summary>
  631. <param name="certificate">要从 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 对象中移除的 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> 对象。</param>
  632. <exception cref="T:System.ArgumentNullException">
  633. <paramref name="certificate" /> 为 null。</exception>
  634. </member>
  635. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.RemoveRange(System.Security.Cryptography.X509Certificates.X509Certificate2[])">
  636. <summary>从 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 对象中移除数组中的多个 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> 对象。</summary>
  637. <param name="certificates">
  638. <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> 对象的数组。</param>
  639. <exception cref="T:System.ArgumentNullException">
  640. <paramref name="certificates" /> 为 null。</exception>
  641. </member>
  642. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.RemoveRange(System.Security.Cryptography.X509Certificates.X509Certificate2Collection)">
  643. <summary>从 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 对象中移除另一个 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 对象中的多个 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> 对象。</summary>
  644. <param name="certificates">
  645. <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 对象。</param>
  646. <exception cref="T:System.ArgumentNullException">
  647. <paramref name="certificates" /> 为 null。</exception>
  648. </member>
  649. <member name="T:System.Security.Cryptography.X509Certificates.X509Certificate2Enumerator">
  650. <summary>支持在 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 对象上进行简单迭代。此类不能被继承。</summary>
  651. </member>
  652. <member name="P:System.Security.Cryptography.X509Certificates.X509Certificate2Enumerator.Current">
  653. <summary>获取 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 对象中的当前元素。</summary>
  654. <returns>
  655. <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 对象中的当前元素。</returns>
  656. <exception cref="T:System.InvalidOperationException">枚举数定位在该集合的第一个元素之前或最后一个元素之后。</exception>
  657. </member>
  658. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2Enumerator.MoveNext">
  659. <summary>将枚举数前移到 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 对象中的下一个元素。</summary>
  660. <returns>如果枚举数成功地推进到下一个元素,则为 true;如果枚举数越过集合的结尾,则为 false。</returns>
  661. <exception cref="T:System.InvalidOperationException">在创建了枚举数后集合被修改了。</exception>
  662. </member>
  663. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2Enumerator.Reset">
  664. <summary>将枚举数设置为其初始位置,该位置位于 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 对象中第一个元素之前。</summary>
  665. <exception cref="T:System.InvalidOperationException">在创建了枚举数后集合被修改了。</exception>
  666. </member>
  667. <member name="P:System.Security.Cryptography.X509Certificates.X509Certificate2Enumerator.System#Collections#IEnumerator#Current">
  668. <summary>有关此成员的说明,请参见 <see cref="P:System.Collections.IEnumerator.Current" />。</summary>
  669. <returns>
  670. <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 对象中的当前元素。</returns>
  671. <exception cref="T:System.InvalidOperationException">枚举数定位在该集合的第一个元素之前或最后一个元素之后。</exception>
  672. </member>
  673. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2Enumerator.System#Collections#IEnumerator#MoveNext">
  674. <summary>有关此成员的说明,请参见 <see cref="M:System.Collections.IEnumerator.MoveNext" />。</summary>
  675. <returns>如果枚举数成功地推进到下一个元素,则为 true;如果枚举数越过集合的结尾,则为 false。</returns>
  676. <exception cref="T:System.InvalidOperationException">在创建了枚举数后集合被修改了。</exception>
  677. </member>
  678. <member name="M:System.Security.Cryptography.X509Certificates.X509Certificate2Enumerator.System#Collections#IEnumerator#Reset">
  679. <summary>有关此成员的说明,请参见 <see cref="M:System.Collections.IEnumerator.Reset" />。</summary>
  680. <exception cref="T:System.InvalidOperationException">在创建了枚举数后集合被修改了。</exception>
  681. </member>
  682. <member name="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection">
  683. <summary>定义存储 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 对象的集合。</summary>
  684. </member>
  685. <member name="M:System.Security.Cryptography.X509Certificates.X509CertificateCollection.#ctor">
  686. <summary>初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> 类的新实例。</summary>
  687. </member>
  688. <member name="M:System.Security.Cryptography.X509Certificates.X509CertificateCollection.#ctor(System.Security.Cryptography.X509Certificates.X509Certificate[])">
  689. <summary>从 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 对象数组初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> 类的新实例。</summary>
  690. <param name="value">用来初始化新对象的 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 对象数组。</param>
  691. </member>
  692. <member name="M:System.Security.Cryptography.X509Certificates.X509CertificateCollection.#ctor(System.Security.Cryptography.X509Certificates.X509CertificateCollection)">
  693. <summary>从其他 <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> 初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> 类的新实例。</summary>
  694. <param name="value">用于初始化新对象的 <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" />。</param>
  695. </member>
  696. <member name="M:System.Security.Cryptography.X509Certificates.X509CertificateCollection.Add(System.Security.Cryptography.X509Certificates.X509Certificate)">
  697. <summary>将具有指定值的 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 添加到当前 <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" />。</summary>
  698. <returns>当前 <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> 中插入新的 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 处的索引。</returns>
  699. <param name="value">要添加到当前 <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> 的 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" />。</param>
  700. </member>
  701. <member name="M:System.Security.Cryptography.X509Certificates.X509CertificateCollection.AddRange(System.Security.Cryptography.X509Certificates.X509Certificate[])">
  702. <summary>将 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 类型数组的元素复制到当前 <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> 的结尾。</summary>
  703. <param name="value">包含要添加到当前 <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> 的对象的 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 类型的数组。</param>
  704. <exception cref="T:System.ArgumentNullException">
  705. <paramref name="value" /> 参数为 null。</exception>
  706. </member>
  707. <member name="M:System.Security.Cryptography.X509Certificates.X509CertificateCollection.AddRange(System.Security.Cryptography.X509Certificates.X509CertificateCollection)">
  708. <summary>将指定的 <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> 的元素复制到当前 <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> 的结尾。</summary>
  709. <param name="value">
  710. <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" />,包含要添加到集合的对象。</param>
  711. <exception cref="T:System.ArgumentNullException">
  712. <paramref name="value" /> 参数为 null。</exception>
  713. </member>
  714. <member name="M:System.Security.Cryptography.X509Certificates.X509CertificateCollection.Clear"></member>
  715. <member name="M:System.Security.Cryptography.X509Certificates.X509CertificateCollection.Contains(System.Security.Cryptography.X509Certificates.X509Certificate)">
  716. <summary>获取一个值,该值指示当前 <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> 是否包含指定的 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" />。</summary>
  717. <returns>如果 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 包含在此集合中,则为 true;否则为 false。</returns>
  718. <param name="value">要定位的 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" />。</param>
  719. </member>
  720. <member name="M:System.Security.Cryptography.X509Certificates.X509CertificateCollection.CopyTo(System.Security.Cryptography.X509Certificates.X509Certificate[],System.Int32)">
  721. <summary>将当前 <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> 中的 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 值复制到一维 <see cref="T:System.Array" /> 实例的指定索引处。</summary>
  722. <param name="array">一维 <see cref="T:System.Array" />,是从 <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> 复制的值的目标。</param>
  723. <param name="index">
  724. <paramref name="array" /> 中要开始复制的索引。</param>
  725. <exception cref="T:System.ArgumentException">
  726. <paramref name="array" /> 参数是多维的。- 或 -<see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> 中的元素数目大于 <paramref name="arrayIndex" /> 和 <paramref name="array" /> 结尾之间的可用空间。</exception>
  727. <exception cref="T:System.ArgumentNullException">
  728. <paramref name="array" /> 参数为 null。</exception>
  729. <exception cref="T:System.ArgumentOutOfRangeException">
  730. <paramref name="arrayIndex" /> 参数小于 <paramref name="array" /> 参数的下限。</exception>
  731. </member>
  732. <member name="P:System.Security.Cryptography.X509Certificates.X509CertificateCollection.Count"></member>
  733. <member name="M:System.Security.Cryptography.X509Certificates.X509CertificateCollection.GetEnumerator">
  734. <summary>返回可循环访问 <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> 的枚举数。</summary>
  735. <returns>
  736. <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> 的子元素的枚举数,可用于循环访问该集合。</returns>
  737. </member>
  738. <member name="M:System.Security.Cryptography.X509Certificates.X509CertificateCollection.GetHashCode">
  739. <summary>生成基于包含在当前 <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> 中的所有值的哈希值。</summary>
  740. <returns>基于包含在当前 <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> 中的所有值的哈希值。</returns>
  741. </member>
  742. <member name="M:System.Security.Cryptography.X509Certificates.X509CertificateCollection.IndexOf(System.Security.Cryptography.X509Certificates.X509Certificate)">
  743. <summary>返回当前 <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> 中的指定 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 的索引。</summary>
  744. <returns>如果找到,则为由 <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> 中的 <paramref name="value" /> 参数指定的 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 的索引;否则为 -1。</returns>
  745. <param name="value">要定位的 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" />。</param>
  746. </member>
  747. <member name="M:System.Security.Cryptography.X509Certificates.X509CertificateCollection.Insert(System.Int32,System.Security.Cryptography.X509Certificates.X509Certificate)">
  748. <summary>将 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 插入当前 <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> 中的指定索引位置。</summary>
  749. <param name="index">应插入 <paramref name="value" /> 处的从零开始的索引。</param>
  750. <param name="value">要插入的 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" />。</param>
  751. </member>
  752. <member name="P:System.Security.Cryptography.X509Certificates.X509CertificateCollection.Item(System.Int32)">
  753. <summary>获取或设置当前 <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> 的指定索引处的项。</summary>
  754. <returns>当前 <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> 的指定索引处的 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" />。</returns>
  755. <param name="index">要在当前 <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> 中定位的项的从零开始的索引。</param>
  756. <exception cref="T:System.ArgumentOutOfRangeException">
  757. <paramref name="index" /> 参数不在集合的索引的有效范围内。</exception>
  758. </member>
  759. <member name="M:System.Security.Cryptography.X509Certificates.X509CertificateCollection.Remove(System.Security.Cryptography.X509Certificates.X509Certificate)">
  760. <summary>从当前 <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> 中移除特定的 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" />。</summary>
  761. <param name="value">要从当前 <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> 中移除的 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" />。</param>
  762. <exception cref="T:System.ArgumentException">由 <paramref name="value" /> 参数指定的 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 未在当前 <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> 中找到。</exception>
  763. </member>
  764. <member name="M:System.Security.Cryptography.X509Certificates.X509CertificateCollection.RemoveAt(System.Int32)"></member>
  765. <member name="M:System.Security.Cryptography.X509Certificates.X509CertificateCollection.System#Collections#ICollection#CopyTo(System.Array,System.Int32)"></member>
  766. <member name="P:System.Security.Cryptography.X509Certificates.X509CertificateCollection.System#Collections#ICollection#IsSynchronized"></member>
  767. <member name="P:System.Security.Cryptography.X509Certificates.X509CertificateCollection.System#Collections#ICollection#SyncRoot"></member>
  768. <member name="M:System.Security.Cryptography.X509Certificates.X509CertificateCollection.System#Collections#IEnumerable#GetEnumerator"></member>
  769. <member name="M:System.Security.Cryptography.X509Certificates.X509CertificateCollection.System#Collections#IList#Add(System.Object)"></member>
  770. <member name="M:System.Security.Cryptography.X509Certificates.X509CertificateCollection.System#Collections#IList#Contains(System.Object)"></member>
  771. <member name="M:System.Security.Cryptography.X509Certificates.X509CertificateCollection.System#Collections#IList#IndexOf(System.Object)"></member>
  772. <member name="M:System.Security.Cryptography.X509Certificates.X509CertificateCollection.System#Collections#IList#Insert(System.Int32,System.Object)"></member>
  773. <member name="P:System.Security.Cryptography.X509Certificates.X509CertificateCollection.System#Collections#IList#IsFixedSize"></member>
  774. <member name="P:System.Security.Cryptography.X509Certificates.X509CertificateCollection.System#Collections#IList#IsReadOnly"></member>
  775. <member name="P:System.Security.Cryptography.X509Certificates.X509CertificateCollection.System#Collections#IList#Item(System.Int32)"></member>
  776. <member name="M:System.Security.Cryptography.X509Certificates.X509CertificateCollection.System#Collections#IList#Remove(System.Object)"></member>
  777. <member name="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection.X509CertificateEnumerator">
  778. <summary>枚举 <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> 中的 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> 对象。</summary>
  779. </member>
  780. <member name="M:System.Security.Cryptography.X509Certificates.X509CertificateCollection.X509CertificateEnumerator.#ctor(System.Security.Cryptography.X509Certificates.X509CertificateCollection)">
  781. <summary>为指定的 <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> 初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection.X509CertificateEnumerator" /> 类的新实例。</summary>
  782. <param name="mappings">要枚举的 <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" />。</param>
  783. </member>
  784. <member name="P:System.Security.Cryptography.X509Certificates.X509CertificateCollection.X509CertificateEnumerator.Current">
  785. <summary>获取 <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> 中的当前 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" />。</summary>
  786. <returns>
  787. <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> 中的当前 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" />。</returns>
  788. <exception cref="T:System.InvalidOperationException">枚举数定位在该集合的第一个元素之前或最后一个元素之后。</exception>
  789. </member>
  790. <member name="M:System.Security.Cryptography.X509Certificates.X509CertificateCollection.X509CertificateEnumerator.MoveNext">
  791. <summary>将枚举数推进到集合的下一个元素。</summary>
  792. <returns>如果枚举数成功地推进到下一个元素,则为 true;如果枚举数越过集合的结尾,则为 false。</returns>
  793. <exception cref="T:System.InvalidOperationException">集合在实例化枚举数后发生了修改。</exception>
  794. </member>
  795. <member name="M:System.Security.Cryptography.X509Certificates.X509CertificateCollection.X509CertificateEnumerator.Reset">
  796. <summary>将枚举数设置为其初始位置,该位置位于集合中第一个元素之前。</summary>
  797. <exception cref="T:System.InvalidOperationException">实例化枚举数之后修改了集合。</exception>
  798. </member>
  799. <member name="P:System.Security.Cryptography.X509Certificates.X509CertificateCollection.X509CertificateEnumerator.System#Collections#IEnumerator#Current">
  800. <summary>有关此成员的说明,请参见 <see cref="P:System.Collections.IEnumerator.Current" />。</summary>
  801. <returns>
  802. <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> 对象中的当前 X.509 证书对象。</returns>
  803. <exception cref="T:System.InvalidOperationException">枚举数定位在该集合的第一个元素之前或最后一个元素之后。</exception>
  804. </member>
  805. <member name="M:System.Security.Cryptography.X509Certificates.X509CertificateCollection.X509CertificateEnumerator.System#Collections#IEnumerator#MoveNext">
  806. <summary>有关此成员的说明,请参见 <see cref="M:System.Collections.IEnumerator.MoveNext" />。</summary>
  807. <returns>如果枚举数成功地推进到下一个元素,则为 true;如果枚举数越过集合的结尾,则为 false。</returns>
  808. <exception cref="T:System.InvalidOperationException">集合在实例化枚举数后发生了修改。</exception>
  809. </member>
  810. <member name="M:System.Security.Cryptography.X509Certificates.X509CertificateCollection.X509CertificateEnumerator.System#Collections#IEnumerator#Reset">
  811. <summary>有关此成员的说明,请参见 <see cref="M:System.Collections.IEnumerator.Reset" />。</summary>
  812. <exception cref="T:System.InvalidOperationException">集合在实例化枚举数后发生了修改。</exception>
  813. </member>
  814. <member name="T:System.Security.Cryptography.X509Certificates.X509Chain">
  815. <summary>表示 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> 证书的链生成引擎。</summary>
  816. </member>
  817. <member name="M:System.Security.Cryptography.X509Certificates.X509Chain.#ctor">
  818. <summary>初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509Chain" /> 类的新实例。</summary>
  819. </member>
  820. <member name="M:System.Security.Cryptography.X509Certificates.X509Chain.Build(System.Security.Cryptography.X509Certificates.X509Certificate2)">
  821. <summary>使用 <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainPolicy" /> 所指定的策略生成 X.509 链。</summary>
  822. <returns>如果 X.509 证书有效,则为 true;否则为 false。</returns>
  823. <param name="certificate">一个 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> 对象。</param>
  824. <exception cref="T:System.ArgumentException">
  825. <paramref name="certificate" /> 不是有效的证书,或者为 null。</exception>
  826. <exception cref="T:System.Security.Cryptography.CryptographicException">
  827. <paramref name="certificate" /> 不可读。</exception>
  828. </member>
  829. <member name="P:System.Security.Cryptography.X509Certificates.X509Chain.ChainElements">
  830. <summary>获取 <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainElement" /> 对象的集合。</summary>
  831. <returns>一个 <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainElementCollection" /> 对象。</returns>
  832. </member>
  833. <member name="P:System.Security.Cryptography.X509Certificates.X509Chain.ChainPolicy">
  834. <summary>获取或设置生成 X.509 证书链时要使用的 <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainPolicy" />。</summary>
  835. <returns>与此 X.509 链关联的 <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainPolicy" /> 对象。</returns>
  836. <exception cref="T:System.ArgumentNullException">为此属性设置的值为 null。</exception>
  837. </member>
  838. <member name="P:System.Security.Cryptography.X509Certificates.X509Chain.ChainStatus">
  839. <summary>获取 <see cref="T:System.Security.Cryptography.X509Certificates.X509Chain" /> 对象中每个元素的状态。</summary>
  840. <returns>一个 <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainStatus" /> 对象数组。</returns>
  841. <PermissionSet>
  842. <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode, ControlEvidence" />
  843. </PermissionSet>
  844. </member>
  845. <member name="M:System.Security.Cryptography.X509Certificates.X509Chain.Dispose">
  846. <summary>释放此 <see cref="T:System.Security.Cryptography.X509Certificates.X509Chain" /> 使用的所有资源。</summary>
  847. </member>
  848. <member name="M:System.Security.Cryptography.X509Certificates.X509Chain.Dispose(System.Boolean)">
  849. <summary>释放此 <see cref="T:System.Security.Cryptography.X509Certificates.X509Chain" /> 使用的非托管资源,并且可选择释放托管资源。</summary>
  850. <param name="disposing">若要释放托管资源和非托管资源,则为 true;若仅释放非托管资源,则为 false。</param>
  851. </member>
  852. <member name="P:System.Security.Cryptography.X509Certificates.X509Chain.SafeHandle">
  853. <summary>获取此 <see cref="T:System.Security.Cryptography.X509Certificates.X509Chain" /> 实例的安全句柄。</summary>
  854. <returns>返回 <see cref="T:Microsoft.Win32.SafeHandles.SafeX509ChainHandle" />。</returns>
  855. </member>
  856. <member name="T:System.Security.Cryptography.X509Certificates.X509ChainElement">
  857. <summary>表示 X.509 链的一个元素。</summary>
  858. </member>
  859. <member name="P:System.Security.Cryptography.X509Certificates.X509ChainElement.Certificate">
  860. <summary>在特定链元素处获取 X.509 证书。</summary>
  861. <returns>
  862. <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> 对象。</returns>
  863. </member>
  864. <member name="P:System.Security.Cryptography.X509Certificates.X509ChainElement.ChainElementStatus">
  865. <summary>获取链中的当前 X.509 证书的错误状态。</summary>
  866. <returns>
  867. <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainStatus" /> 对象的数组。</returns>
  868. <PermissionSet>
  869. <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode, ControlEvidence" />
  870. </PermissionSet>
  871. </member>
  872. <member name="P:System.Security.Cryptography.X509Certificates.X509ChainElement.Information">
  873. <summary>从非托管证书链结构中获取其他错误信息。</summary>
  874. <returns>一个字符串,表示 Crypto API 中非托管 CERT_CHAIN_ELEMENT 结构的 pwszExtendedErrorInfo 成员。</returns>
  875. </member>
  876. <member name="T:System.Security.Cryptography.X509Certificates.X509ChainElementCollection">
  877. <summary>表示 <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainElement" /> 对象的集合。此类不能被继承。</summary>
  878. </member>
  879. <member name="M:System.Security.Cryptography.X509Certificates.X509ChainElementCollection.CopyTo(System.Security.Cryptography.X509Certificates.X509ChainElement[],System.Int32)">
  880. <summary>从指定的索引开始,将 <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainElementCollection" /> 对象复制到数组中。</summary>
  881. <param name="array">
  882. <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainElement" /> 对象的数组。</param>
  883. <param name="index">一个整数,表示索引值。</param>
  884. <exception cref="T:System.ArgumentOutOfRangeException">指定的 <paramref name="index" /> 小于零,或者大于等于数组的长度。</exception>
  885. <exception cref="T:System.ArgumentNullException">
  886. <paramref name="array" /> 为 null。</exception>
  887. <exception cref="T:System.ArgumentException">
  888. <paramref name="index" /> 加上当前计数大于数组的长度。</exception>
  889. </member>
  890. <member name="P:System.Security.Cryptography.X509Certificates.X509ChainElementCollection.Count">
  891. <summary>获取集合中的元素数。</summary>
  892. <returns>一个整数,表示集合中的元素数。</returns>
  893. </member>
  894. <member name="M:System.Security.Cryptography.X509Certificates.X509ChainElementCollection.GetEnumerator">
  895. <summary>获取可用于在链元素集合中定位的 <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator" /> 对象。</summary>
  896. <returns>
  897. <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator" /> 对象。</returns>
  898. </member>
  899. <member name="P:System.Security.Cryptography.X509Certificates.X509ChainElementCollection.IsSynchronized">
  900. <summary>获取一个值,该值指示链元素的集合是否已同步。</summary>
  901. <returns>始终返回 false。</returns>
  902. </member>
  903. <member name="P:System.Security.Cryptography.X509Certificates.X509ChainElementCollection.Item(System.Int32)">
  904. <summary>获取位于指定索引位置的 <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainElement" /> 对象。</summary>
  905. <returns>
  906. <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainElement" /> 对象。</returns>
  907. <param name="index">一个整数值。</param>
  908. <exception cref="T:System.InvalidOperationException">
  909. <paramref name="index" /> 小于零。</exception>
  910. <exception cref="T:System.ArgumentOutOfRangeException">
  911. <paramref name="index" /> 大于或等于集合的长度。</exception>
  912. </member>
  913. <member name="P:System.Security.Cryptography.X509Certificates.X509ChainElementCollection.SyncRoot">
  914. <summary>获取一个对象,该对象可用于同步对 <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainElementCollection" /> 对象的访问。</summary>
  915. <returns>对当前对象的指针引用。</returns>
  916. </member>
  917. <member name="M:System.Security.Cryptography.X509Certificates.X509ChainElementCollection.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  918. <summary>从指定的索引开始,将 <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainElementCollection" /> 对象复制到数组中。</summary>
  919. <param name="array">要向其复制 <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainElementCollection" /> 对象的数组。</param>
  920. <param name="index">开始复制的 <paramref name="array" /> 索引位置。</param>
  921. <exception cref="T:System.ArgumentOutOfRangeException">指定的 <paramref name="index" /> 小于零,或者大于等于数组的长度。</exception>
  922. <exception cref="T:System.ArgumentNullException">
  923. <paramref name="array" /> 为 null。</exception>
  924. <exception cref="T:System.ArgumentException">
  925. <paramref name="index" /> 加上当前计数大于数组的长度。</exception>
  926. </member>
  927. <member name="M:System.Security.Cryptography.X509Certificates.X509ChainElementCollection.System#Collections#IEnumerable#GetEnumerator">
  928. <summary>获取可用于在链元素集合中定位的 <see cref="T:System.Collections.IEnumerator" /> 对象。</summary>
  929. <returns>
  930. <see cref="T:System.Collections.IEnumerator" /> 对象。</returns>
  931. </member>
  932. <member name="T:System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator">
  933. <summary>支持在 <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainElementCollection" /> 上进行简单迭代。此类不能被继承。</summary>
  934. </member>
  935. <member name="P:System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator.Current">
  936. <summary>获取 <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainElementCollection" /> 中的当前元素。</summary>
  937. <returns>
  938. <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainElementCollection" /> 中的当前元素。</returns>
  939. <exception cref="T:System.InvalidOperationException">枚举数定位在该集合的第一个元素之前或最后一个元素之后。</exception>
  940. <PermissionSet>
  941. <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode, ControlEvidence" />
  942. </PermissionSet>
  943. </member>
  944. <member name="M:System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator.MoveNext">
  945. <summary>将枚举数推进到 <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainElementCollection" /> 中的下一个元素。</summary>
  946. <returns>如果枚举数成功地推进到下一个元素,则为 true;如果枚举数越过集合的结尾,则为 false。</returns>
  947. <exception cref="T:System.InvalidOperationException">在创建了枚举数后集合被修改了。</exception>
  948. </member>
  949. <member name="M:System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator.Reset">
  950. <summary>将枚举数设置到其初始位置,该位置位于 <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainElementCollection" /> 中第一个元素之前。</summary>
  951. <exception cref="T:System.InvalidOperationException">在创建了枚举数后集合被修改了。</exception>
  952. </member>
  953. <member name="P:System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator.System#Collections#IEnumerator#Current">
  954. <summary>获取 <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainElementCollection" /> 中的当前元素。</summary>
  955. <returns>
  956. <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainElementCollection" /> 中的当前元素。</returns>
  957. <exception cref="T:System.InvalidOperationException">枚举数定位在该集合的第一个元素之前或最后一个元素之后。</exception>
  958. </member>
  959. <member name="T:System.Security.Cryptography.X509Certificates.X509ChainPolicy">
  960. <summary>表示在生成 X509 证书链时要应用的链策略。此类不能被继承。</summary>
  961. </member>
  962. <member name="M:System.Security.Cryptography.X509Certificates.X509ChainPolicy.#ctor">
  963. <summary>初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainPolicy" /> 类的新实例。</summary>
  964. </member>
  965. <member name="P:System.Security.Cryptography.X509Certificates.X509ChainPolicy.ApplicationPolicy">
  966. <summary>获取一个对象标识符 (OID) 集合,这些对象标识符指定证书支持的应用程序策略或增强型密钥用法 (EKU)。</summary>
  967. <returns>一个 <see cref="T:System.Security.Cryptography.OidCollection" /> 对象。</returns>
  968. </member>
  969. <member name="P:System.Security.Cryptography.X509Certificates.X509ChainPolicy.CertificatePolicy">
  970. <summary>获取一个对象标识符 (OID) 集合,这些对象标识符指定证书支持的证书策略。</summary>
  971. <returns>
  972. <see cref="T:System.Security.Cryptography.OidCollection" /> 对象。</returns>
  973. </member>
  974. <member name="P:System.Security.Cryptography.X509Certificates.X509ChainPolicy.ExtraStore">
  975. <summary>表示验证证书链时可由链引擎搜索的其他证书集合。</summary>
  976. <returns>
  977. <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2Collection" /> 对象。</returns>
  978. </member>
  979. <member name="M:System.Security.Cryptography.X509Certificates.X509ChainPolicy.Reset">
  980. <summary>将 <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainPolicy" /> 成员重置为其默认值。</summary>
  981. </member>
  982. <member name="P:System.Security.Cryptography.X509Certificates.X509ChainPolicy.RevocationFlag">
  983. <summary>获取或设置 X509 吊销标志的值。</summary>
  984. <returns>
  985. <see cref="T:System.Security.Cryptography.X509Certificates.X509RevocationFlag" /> 对象。</returns>
  986. <exception cref="T:System.ArgumentException">提供的 <see cref="T:System.Security.Cryptography.X509Certificates.X509RevocationFlag" /> 值不是有效标志。</exception>
  987. </member>
  988. <member name="P:System.Security.Cryptography.X509Certificates.X509ChainPolicy.RevocationMode">
  989. <summary>获取或设置 X509 证书吊销模式的值。</summary>
  990. <returns>
  991. <see cref="T:System.Security.Cryptography.X509Certificates.X509RevocationMode" /> 对象。</returns>
  992. <exception cref="T:System.ArgumentException">提供的 <see cref="T:System.Security.Cryptography.X509Certificates.X509RevocationMode" /> 值不是有效标志。</exception>
  993. </member>
  994. <member name="P:System.Security.Cryptography.X509Certificates.X509ChainPolicy.UrlRetrievalTimeout">
  995. <summary>获取联机吊销验证或下载证书吊销列表 (CRL) 期间所用的时间长度。</summary>
  996. <returns>
  997. <see cref="T:System.TimeSpan" /> 对象。</returns>
  998. </member>
  999. <member name="P:System.Security.Cryptography.X509Certificates.X509ChainPolicy.VerificationFlags">
  1000. <summary>获取证书的验证标志。</summary>
  1001. <returns>
  1002. <see cref="T:System.Security.Cryptography.X509Certificates.X509VerificationFlags" /> 枚举中的一个值。</returns>
  1003. <exception cref="T:System.ArgumentException">提供的 <see cref="T:System.Security.Cryptography.X509Certificates.X509VerificationFlags" /> 值不是有效标志。<see cref="F:System.Security.Cryptography.X509Certificates.X509VerificationFlags.NoFlag" /> 为默认值。</exception>
  1004. </member>
  1005. <member name="P:System.Security.Cryptography.X509Certificates.X509ChainPolicy.VerificationTime">
  1006. <summary>用本地时间表示的验证证书的时间。</summary>
  1007. <returns>一个 <see cref="T:System.DateTime" /> 对象。</returns>
  1008. </member>
  1009. <member name="T:System.Security.Cryptography.X509Certificates.X509ChainStatus">
  1010. <summary>提供一个用于存储 X509 链状态和错误信息的简单结构。</summary>
  1011. </member>
  1012. <member name="P:System.Security.Cryptography.X509Certificates.X509ChainStatus.Status">
  1013. <summary>指定 X509 链的状态。</summary>
  1014. <returns>一个 <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainStatusFlags" /> 值。</returns>
  1015. </member>
  1016. <member name="P:System.Security.Cryptography.X509Certificates.X509ChainStatus.StatusInformation">
  1017. <summary>指定对 <see cref="P:System.Security.Cryptography.X509Certificates.X509Chain.ChainStatus" /> 值的描述。</summary>
  1018. <returns>可本地化的字符串。</returns>
  1019. </member>
  1020. <member name="T:System.Security.Cryptography.X509Certificates.X509ChainStatusFlags">
  1021. <summary>定义 X509 链的状态。</summary>
  1022. </member>
  1023. <member name="F:System.Security.Cryptography.X509Certificates.X509ChainStatusFlags.CtlNotSignatureValid">
  1024. <summary>指定证书信任列表 (CTL) 包含一个无效签名。</summary>
  1025. </member>
  1026. <member name="F:System.Security.Cryptography.X509Certificates.X509ChainStatusFlags.CtlNotTimeValid">
  1027. <summary>指定由于存在无效的时间值(如指示 CTL 已过期的时间值),因此证书信任列表 (CTL) 无效。</summary>
  1028. </member>
  1029. <member name="F:System.Security.Cryptography.X509Certificates.X509ChainStatusFlags.CtlNotValidForUsage">
  1030. <summary>指定证书信任列表 (CTL) 对此用途无效。</summary>
  1031. </member>
  1032. <member name="F:System.Security.Cryptography.X509Certificates.X509ChainStatusFlags.Cyclic">
  1033. <summary>指定未能生成 X509 链。</summary>
  1034. </member>
  1035. <member name="F:System.Security.Cryptography.X509Certificates.X509ChainStatusFlags.HasExcludedNameConstraint">
  1036. <summary>指定由于证书已排除名称约束,因此 X509 链无效。</summary>
  1037. </member>
  1038. <member name="F:System.Security.Cryptography.X509Certificates.X509ChainStatusFlags.HasNotDefinedNameConstraint">
  1039. <summary>指定证书具有未定义的名称约束。</summary>
  1040. </member>
  1041. <member name="F:System.Security.Cryptography.X509Certificates.X509ChainStatusFlags.HasNotPermittedNameConstraint">
  1042. <summary>指定证书具有不允许的名称约束。</summary>
  1043. </member>
  1044. <member name="F:System.Security.Cryptography.X509Certificates.X509ChainStatusFlags.HasNotSupportedNameConstraint">
  1045. <summary>指定证书没有受支持的名称约束或有一个不受支持的名称约束。</summary>
  1046. </member>
  1047. <member name="F:System.Security.Cryptography.X509Certificates.X509ChainStatusFlags.InvalidBasicConstraints">
  1048. <summary>指定由于基本约束无效,因此 X509 链无效。</summary>
  1049. </member>
  1050. <member name="F:System.Security.Cryptography.X509Certificates.X509ChainStatusFlags.InvalidExtension">
  1051. <summary>指定由于扩展无效,因此 X509 链无效。</summary>
  1052. </member>
  1053. <member name="F:System.Security.Cryptography.X509Certificates.X509ChainStatusFlags.InvalidNameConstraints">
  1054. <summary>指定由于名称约束无效,因此 X509 链无效。</summary>
  1055. </member>
  1056. <member name="F:System.Security.Cryptography.X509Certificates.X509ChainStatusFlags.InvalidPolicyConstraints">
  1057. <summary>指定由于策略约束无效,因此 X509 链无效。</summary>
  1058. </member>
  1059. <member name="F:System.Security.Cryptography.X509Certificates.X509ChainStatusFlags.NoError">
  1060. <summary>指定 X509 链没有错误。</summary>
  1061. </member>
  1062. <member name="F:System.Security.Cryptography.X509Certificates.X509ChainStatusFlags.NoIssuanceChainPolicy">
  1063. <summary>指定在证书中没有证书策略扩展。如果某个组策略已指定所有证书必须具有一个证书策略,则会发生此错误。</summary>
  1064. </member>
  1065. <member name="F:System.Security.Cryptography.X509Certificates.X509ChainStatusFlags.NotSignatureValid">
  1066. <summary>指定由于证书签名无效,因此 X509 链无效。</summary>
  1067. </member>
  1068. <member name="F:System.Security.Cryptography.X509Certificates.X509ChainStatusFlags.NotTimeNested">
  1069. <summary>不推荐使用。指定 CA(证书颁发机构)证书和所颁发证书的有效期不重叠的情况。例如,CA 证书的有效期限是从 1 月 1 日到 12 月 1 日,而已颁发的证书的有效期限是从 1 月 2 日到 12 月 2 日,这就表示有效期限是不配套的。</summary>
  1070. </member>
  1071. <member name="F:System.Security.Cryptography.X509Certificates.X509ChainStatusFlags.NotTimeValid">
  1072. <summary>指定由于存在一个无效的时间值(如一个指示证书已过期的时间值),因此 X509 链无效。</summary>
  1073. </member>
  1074. <member name="F:System.Security.Cryptography.X509Certificates.X509ChainStatusFlags.NotValidForUsage">
  1075. <summary>指定密钥用法无效。</summary>
  1076. </member>
  1077. <member name="F:System.Security.Cryptography.X509Certificates.X509ChainStatusFlags.OfflineRevocation">
  1078. <summary>指定 X509 链依赖的联机证书吊销列表 (CRL) 当前为脱机状态。</summary>
  1079. </member>
  1080. <member name="F:System.Security.Cryptography.X509Certificates.X509ChainStatusFlags.PartialChain">
  1081. <summary>指定未能生成一直到根证书的 X509 链。</summary>
  1082. </member>
  1083. <member name="F:System.Security.Cryptography.X509Certificates.X509ChainStatusFlags.RevocationStatusUnknown">
  1084. <summary>指定无法确定证书是否已被吊销。这可能是由于证书吊销列表 (CRL) 处于脱机状态或不可用造成的。</summary>
  1085. </member>
  1086. <member name="F:System.Security.Cryptography.X509Certificates.X509ChainStatusFlags.Revoked">
  1087. <summary>指定由于有一个证书已被吊销,因此 X509 链无效。</summary>
  1088. </member>
  1089. <member name="F:System.Security.Cryptography.X509Certificates.X509ChainStatusFlags.UntrustedRoot">
  1090. <summary>指定由于根证书不可信任,因此 X509 链无效。</summary>
  1091. </member>
  1092. <member name="T:System.Security.Cryptography.X509Certificates.X509ContentType">
  1093. <summary>指定 X.509 证书的格式。</summary>
  1094. </member>
  1095. <member name="F:System.Security.Cryptography.X509Certificates.X509ContentType.Authenticode">
  1096. <summary>Authenticode X.509 证书。</summary>
  1097. </member>
  1098. <member name="F:System.Security.Cryptography.X509Certificates.X509ContentType.Cert">
  1099. <summary>单个 X.509 证书。</summary>
  1100. </member>
  1101. <member name="F:System.Security.Cryptography.X509Certificates.X509ContentType.Pfx">
  1102. <summary>PFX 格式的证书。Pfx 值与 Pkcs12 值相同。</summary>
  1103. </member>
  1104. <member name="F:System.Security.Cryptography.X509Certificates.X509ContentType.Pkcs12">
  1105. <summary>PKCS #12 格式的证书。Pkcs12 值与 Pfx 值相同。</summary>
  1106. </member>
  1107. <member name="F:System.Security.Cryptography.X509Certificates.X509ContentType.Pkcs7">
  1108. <summary>PKCS #7 格式的证书。</summary>
  1109. </member>
  1110. <member name="F:System.Security.Cryptography.X509Certificates.X509ContentType.SerializedCert">
  1111. <summary>单个序列化 X.509 证书。</summary>
  1112. </member>
  1113. <member name="F:System.Security.Cryptography.X509Certificates.X509ContentType.SerializedStore">
  1114. <summary>序列化存储区。</summary>
  1115. </member>
  1116. <member name="F:System.Security.Cryptography.X509Certificates.X509ContentType.Unknown">
  1117. <summary>未知 X.509 证书。</summary>
  1118. </member>
  1119. <member name="T:System.Security.Cryptography.X509Certificates.X509EnhancedKeyUsageExtension">
  1120. <summary>定义对象标识符 (OID) 的集合,该集合指示使用密钥的应用程序。此类不能被继承。</summary>
  1121. </member>
  1122. <member name="M:System.Security.Cryptography.X509Certificates.X509EnhancedKeyUsageExtension.#ctor">
  1123. <summary>初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509EnhancedKeyUsageExtension" /> 类的新实例。</summary>
  1124. </member>
  1125. <member name="M:System.Security.Cryptography.X509Certificates.X509EnhancedKeyUsageExtension.#ctor(System.Security.Cryptography.AsnEncodedData,System.Boolean)">
  1126. <summary>使用 <see cref="T:System.Security.Cryptography.AsnEncodedData" /> 对象和一个标识扩展是否重要的值初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509EnhancedKeyUsageExtension" /> 类的新实例。</summary>
  1127. <param name="encodedEnhancedKeyUsages">用于创建扩展的编码数据。</param>
  1128. <param name="critical">如果扩展是必不可少的,则为 true;否则为 false。</param>
  1129. </member>
  1130. <member name="M:System.Security.Cryptography.X509Certificates.X509EnhancedKeyUsageExtension.#ctor(System.Security.Cryptography.OidCollection,System.Boolean)">
  1131. <summary>使用 <see cref="T:System.Security.Cryptography.OidCollection" /> 和一个标识扩展是否重要的值来初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509EnhancedKeyUsageExtension" /> 类的新实例。</summary>
  1132. <param name="enhancedKeyUsages">
  1133. <see cref="T:System.Security.Cryptography.OidCollection" /> 集合。</param>
  1134. <param name="critical">如果扩展是必不可少的,则为 true;否则为 false。</param>
  1135. <exception cref="T:System.Security.Cryptography.CryptographicException">指定的 <see cref="T:System.Security.Cryptography.OidCollection" /> 包含一个或多个损坏的值。</exception>
  1136. </member>
  1137. <member name="M:System.Security.Cryptography.X509Certificates.X509EnhancedKeyUsageExtension.CopyFrom(System.Security.Cryptography.AsnEncodedData)">
  1138. <summary>使用 <see cref="T:System.Security.Cryptography.AsnEncodedData" /> 对象初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509EnhancedKeyUsageExtension" /> 类的新实例。</summary>
  1139. <param name="asnEncodedData">用于创建扩展的编码数据。</param>
  1140. </member>
  1141. <member name="P:System.Security.Cryptography.X509Certificates.X509EnhancedKeyUsageExtension.EnhancedKeyUsages">
  1142. <summary>获取对象标识符 (OID) 的集合,该集合指示使用密钥的应用程序。</summary>
  1143. <returns>
  1144. <see cref="T:System.Security.Cryptography.OidCollection" /> 对象,指示使用密钥的应用程序。</returns>
  1145. <PermissionSet>
  1146. <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode, ControlEvidence" />
  1147. </PermissionSet>
  1148. </member>
  1149. <member name="T:System.Security.Cryptography.X509Certificates.X509Extension">
  1150. <summary>表示一个 X509 扩展。</summary>
  1151. </member>
  1152. <member name="M:System.Security.Cryptography.X509Certificates.X509Extension.#ctor">
  1153. <summary>初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509Extension" /> 类的新实例。</summary>
  1154. </member>
  1155. <member name="M:System.Security.Cryptography.X509Certificates.X509Extension.#ctor(System.Security.Cryptography.AsnEncodedData,System.Boolean)">
  1156. <summary>初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509Extension" /> 类的新实例。</summary>
  1157. <param name="encodedExtension">用于创建扩展的已编码数据。</param>
  1158. <param name="critical">如果扩展是必不可少的,则为 true;否则为 false。</param>
  1159. </member>
  1160. <member name="M:System.Security.Cryptography.X509Certificates.X509Extension.#ctor(System.Security.Cryptography.Oid,System.Byte[],System.Boolean)">
  1161. <summary>初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509Extension" /> 类的新实例。</summary>
  1162. <param name="oid">用于标识扩展的对象标识符。</param>
  1163. <param name="rawData">用于创建扩展的编码数据。</param>
  1164. <param name="critical">如果扩展是必不可少的,则为 true;否则为 false。</param>
  1165. <exception cref="T:System.ArgumentNullException">
  1166. <paramref name="oid" /> 为 null。</exception>
  1167. <exception cref="T:System.ArgumentException">
  1168. <paramref name="oid" /> 为空字符串 ("")。</exception>
  1169. </member>
  1170. <member name="M:System.Security.Cryptography.X509Certificates.X509Extension.#ctor(System.String,System.Byte[],System.Boolean)">
  1171. <summary>初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509Extension" /> 类的新实例。</summary>
  1172. <param name="oid">表示对象标识符的字符串。</param>
  1173. <param name="rawData">用于创建扩展的编码数据。</param>
  1174. <param name="critical">如果扩展是必不可少的,则为 true;否则为 false。</param>
  1175. </member>
  1176. <member name="M:System.Security.Cryptography.X509Certificates.X509Extension.CopyFrom(System.Security.Cryptography.AsnEncodedData)">
  1177. <summary>复制指定 <see cref="T:System.Security.Cryptography.AsnEncodedData" /> 对象的扩展属性。</summary>
  1178. <param name="asnEncodedData">要复制的 <see cref="T:System.Security.Cryptography.AsnEncodedData" />。</param>
  1179. <exception cref="T:System.ArgumentNullException">
  1180. <paramref name="asnEncodedData" /> 为 null。</exception>
  1181. <exception cref="T:System.ArgumentException">
  1182. <paramref name="asnEncodedData" /> 没有有效的 X.509 扩展。</exception>
  1183. </member>
  1184. <member name="P:System.Security.Cryptography.X509Certificates.X509Extension.Critical">
  1185. <summary>获取一个指示扩展是否必不可少的布尔值。</summary>
  1186. <returns>如果扩展是必不可少的,则为 true;否则为 false。</returns>
  1187. </member>
  1188. <member name="T:System.Security.Cryptography.X509Certificates.X509ExtensionCollection">
  1189. <summary>表示 <see cref="T:System.Security.Cryptography.X509Certificates.X509Extension" /> 对象的集合。此类不能被继承。</summary>
  1190. </member>
  1191. <member name="M:System.Security.Cryptography.X509Certificates.X509ExtensionCollection.#ctor">
  1192. <summary>初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509ExtensionCollection" /> 类的新实例。</summary>
  1193. </member>
  1194. <member name="M:System.Security.Cryptography.X509Certificates.X509ExtensionCollection.Add(System.Security.Cryptography.X509Certificates.X509Extension)">
  1195. <summary>将 <see cref="T:System.Security.Cryptography.X509Certificates.X509Extension" /> 对象添加到 <see cref="T:System.Security.Cryptography.X509Certificates.X509ExtensionCollection" /> 对象中。</summary>
  1196. <returns>添加 <paramref name="extension" /> 参数的位置处的索引。</returns>
  1197. <param name="extension">要添加到 <see cref="T:System.Security.Cryptography.X509Certificates.X509ExtensionCollection" /> 对象中的 <see cref="T:System.Security.Cryptography.X509Certificates.X509Extension" /> 对象。</param>
  1198. <exception cref="T:System.ArgumentNullException">
  1199. <paramref name="extension" /> 参数的值为 null。</exception>
  1200. </member>
  1201. <member name="M:System.Security.Cryptography.X509Certificates.X509ExtensionCollection.CopyTo(System.Security.Cryptography.X509Certificates.X509Extension[],System.Int32)">
  1202. <summary>从指定的索引开始,将集合复制到数组。</summary>
  1203. <param name="array">
  1204. <see cref="T:System.Security.Cryptography.X509Certificates.X509Extension" /> 对象的数组。</param>
  1205. <param name="index">数组中开始复制的位置。</param>
  1206. <exception cref="T:System.ArgumentException">
  1207. <paramref name="index" /> 为零长度字符串或包含无效值。</exception>
  1208. <exception cref="T:System.ArgumentNullException">
  1209. <paramref name="index" /> 为 null。</exception>
  1210. <exception cref="T:System.ArgumentOutOfRangeException">
  1211. <paramref name="index" /> 指定一个不在数组范围中的值。</exception>
  1212. </member>
  1213. <member name="P:System.Security.Cryptography.X509Certificates.X509ExtensionCollection.Count">
  1214. <summary>获取 <see cref="T:System.Security.Cryptography.X509Certificates.X509ExtensionCollection" /> 对象中 <see cref="T:System.Security.Cryptography.X509Certificates.X509Extension" /> 对象的数目。</summary>
  1215. <returns>一个整数,表示 <see cref="T:System.Security.Cryptography.X509Certificates.X509ExtensionCollection" /> 对象中 <see cref="T:System.Security.Cryptography.X509Certificates.X509Extension" /> 对象的数目。</returns>
  1216. </member>
  1217. <member name="M:System.Security.Cryptography.X509Certificates.X509ExtensionCollection.GetEnumerator">
  1218. <summary>返回可循环访问 <see cref="T:System.Security.Cryptography.X509Certificates.X509ExtensionCollection" /> 对象的枚举数。</summary>
  1219. <returns>一个 <see cref="T:System.Security.Cryptography.X509Certificates.X509ExtensionEnumerator" /> 对象,用于循环访问 <see cref="T:System.Security.Cryptography.X509Certificates.X509ExtensionCollection" /> 对象。</returns>
  1220. </member>
  1221. <member name="P:System.Security.Cryptography.X509Certificates.X509ExtensionCollection.IsSynchronized">
  1222. <summary>获取一个值,该值指示是否保证该集合为线程安全的。</summary>
  1223. <returns>如果集合是线程安全的,则为 true;否则为 false。</returns>
  1224. </member>
  1225. <member name="P:System.Security.Cryptography.X509Certificates.X509ExtensionCollection.Item(System.Int32)">
  1226. <summary>获取位于指定索引位置的 <see cref="T:System.Security.Cryptography.X509Certificates.X509Extension" /> 对象。</summary>
  1227. <returns>
  1228. <see cref="T:System.Security.Cryptography.X509Certificates.X509Extension" /> 对象。</returns>
  1229. <param name="index">要检索的 <see cref="T:System.Security.Cryptography.X509Certificates.X509Extension" /> 对象的位置。</param>
  1230. <exception cref="T:System.InvalidOperationException">
  1231. <paramref name="index" /> 小于零。</exception>
  1232. <exception cref="T:System.ArgumentOutOfRangeException">
  1233. <paramref name="index" /> 等于或大于 array 的长度。</exception>
  1234. </member>
  1235. <member name="P:System.Security.Cryptography.X509Certificates.X509ExtensionCollection.Item(System.String)">
  1236. <summary>获取值或友好名称由对象标识符 (OID) 指定的第一个 <see cref="T:System.Security.Cryptography.X509Certificates.X509Extension" /> 对象。</summary>
  1237. <returns>
  1238. <see cref="T:System.Security.Cryptography.X509Certificates.X509Extension" /> 对象。</returns>
  1239. <param name="oid">要检索的扩展的对象标识符 (OID)。</param>
  1240. </member>
  1241. <member name="P:System.Security.Cryptography.X509Certificates.X509ExtensionCollection.SyncRoot">
  1242. <summary>获取一个对象,该对象可用于同步对 <see cref="T:System.Security.Cryptography.X509Certificates.X509ExtensionCollection" /> 对象的访问。</summary>
  1243. <returns>一个对象,它可用于同步对 <see cref="T:System.Security.Cryptography.X509Certificates.X509ExtensionCollection" /> 对象的访问。</returns>
  1244. </member>
  1245. <member name="M:System.Security.Cryptography.X509Certificates.X509ExtensionCollection.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  1246. <summary>从指定的索引开始,将集合复制到数组。</summary>
  1247. <param name="array">
  1248. <see cref="T:System.Security.Cryptography.X509Certificates.X509Extension" /> 对象的数组。</param>
  1249. <param name="index">数组中开始复制的位置。</param>
  1250. <exception cref="T:System.ArgumentException">
  1251. <paramref name="index" /> 为零长度字符串或包含无效值。</exception>
  1252. <exception cref="T:System.ArgumentNullException">
  1253. <paramref name="index" /> 为 null。</exception>
  1254. <exception cref="T:System.ArgumentOutOfRangeException">
  1255. <paramref name="index" /> 指定一个不在数组范围中的值。</exception>
  1256. </member>
  1257. <member name="M:System.Security.Cryptography.X509Certificates.X509ExtensionCollection.System#Collections#IEnumerable#GetEnumerator">
  1258. <summary>返回可循环访问 <see cref="T:System.Security.Cryptography.X509Certificates.X509ExtensionCollection" /> 对象的枚举数。</summary>
  1259. <returns>一个 <see cref="T:System.Collections.IEnumerator" /> 对象,用于循环访问 <see cref="T:System.Security.Cryptography.X509Certificates.X509ExtensionCollection" /> 对象。</returns>
  1260. </member>
  1261. <member name="T:System.Security.Cryptography.X509Certificates.X509ExtensionEnumerator">
  1262. <summary>支持在 <see cref="T:System.Security.Cryptography.X509Certificates.X509ExtensionCollection" /> 上进行简单迭代。此类不能被继承。</summary>
  1263. </member>
  1264. <member name="P:System.Security.Cryptography.X509Certificates.X509ExtensionEnumerator.Current">
  1265. <summary>获取 <see cref="T:System.Security.Cryptography.X509Certificates.X509ExtensionCollection" /> 中的当前元素。</summary>
  1266. <returns>
  1267. <see cref="T:System.Security.Cryptography.X509Certificates.X509ExtensionCollection" /> 中的当前元素。</returns>
  1268. <exception cref="T:System.InvalidOperationException">枚举数定位在该集合的第一个元素之前或最后一个元素之后。</exception>
  1269. <PermissionSet>
  1270. <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode, ControlEvidence" />
  1271. </PermissionSet>
  1272. </member>
  1273. <member name="M:System.Security.Cryptography.X509Certificates.X509ExtensionEnumerator.MoveNext">
  1274. <summary>将枚举数推进到 <see cref="T:System.Security.Cryptography.X509Certificates.X509ExtensionCollection" /> 中的下一个元素。</summary>
  1275. <returns>如果枚举数成功地推进到下一个元素,则为 true;如果枚举数越过集合的结尾,则为 false。</returns>
  1276. <exception cref="T:System.InvalidOperationException">在创建了枚举数后集合被修改了。</exception>
  1277. </member>
  1278. <member name="M:System.Security.Cryptography.X509Certificates.X509ExtensionEnumerator.Reset">
  1279. <summary>将枚举数设置到其初始位置,该位置位于 <see cref="T:System.Security.Cryptography.X509Certificates.X509ExtensionCollection" /> 中第一个元素之前。</summary>
  1280. <exception cref="T:System.InvalidOperationException">在创建了枚举数后集合被修改了。</exception>
  1281. </member>
  1282. <member name="P:System.Security.Cryptography.X509Certificates.X509ExtensionEnumerator.System#Collections#IEnumerator#Current">
  1283. <summary>从集合中获取一个对象。</summary>
  1284. <returns>
  1285. <see cref="T:System.Security.Cryptography.X509Certificates.X509ExtensionCollection" /> 中的当前元素。</returns>
  1286. <exception cref="T:System.InvalidOperationException">枚举数定位在该集合的第一个元素之前或最后一个元素之后。</exception>
  1287. </member>
  1288. <member name="T:System.Security.Cryptography.X509Certificates.X509FindType">
  1289. <summary>指定通过 <see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Find(System.Security.Cryptography.X509Certificates.X509FindType,System.Object,System.Boolean)" /> 方法搜索的值的类型。</summary>
  1290. </member>
  1291. <member name="F:System.Security.Cryptography.X509Certificates.X509FindType.FindByApplicationPolicy">
  1292. <summary>
  1293. <see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Find(System.Security.Cryptography.X509Certificates.X509FindType,System.Object,System.Boolean)" /> 方法的 <paramref name="findValue" /> 参数必须是一个字符串,该字符串表示证书的应用程序策略友好名称或对象标识符(OID,或 <see cref="T:System.Security.Cryptography.Oid" />)。例如,可以使用“加密文件系统”或“1.3.6.1.4.1.311.10.3.4”。对于将要本地化的应用程序,由于友好名称经过本地化处理,因此必须使用 OID 值。</summary>
  1294. </member>
  1295. <member name="F:System.Security.Cryptography.X509Certificates.X509FindType.FindByCertificatePolicy">
  1296. <summary>
  1297. <see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Find(System.Security.Cryptography.X509Certificates.X509FindType,System.Object,System.Boolean)" /> 方法的 <paramref name="findValue" /> 参数必须是一个字符串,该字符串表示证书策略的友好名称或对象标识符(OID,或 <see cref="T:System.Security.Cryptography.Oid" />)。最佳做法是使用 OID,如“1.3.6.1.4.1.311.10.3.4”。对于将要本地化的应用程序,由于友好名称经过本地化处理,因此必须使用 OID。</summary>
  1298. </member>
  1299. <member name="F:System.Security.Cryptography.X509Certificates.X509FindType.FindByExtension">
  1300. <summary>
  1301. <see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Find(System.Security.Cryptography.X509Certificates.X509FindType,System.Object,System.Boolean)" /> 方法的 <paramref name="findValue" /> 参数必须是一个字符串,该字符串描述要查找的扩展名。对象标识符 (OID) 常用于指示 <see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Find(System.Security.Cryptography.X509Certificates.X509FindType,System.Object,System.Boolean)" /> 方法搜索扩展名与 OID 值相匹配的所有证书。</summary>
  1302. </member>
  1303. <member name="F:System.Security.Cryptography.X509Certificates.X509FindType.FindByIssuerDistinguishedName">
  1304. <summary>
  1305. <see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Find(System.Security.Cryptography.X509Certificates.X509FindType,System.Object,System.Boolean)" /> 方法的 <paramref name="findValue" /> 参数必须是一个字符串,该字符串表示证书的颁发者可分辨名称。与 <see cref="F:System.Security.Cryptography.X509Certificates.X509FindType.FindByIssuerName" /> 枚举值所提供的相比,这是一种更具体的搜索方式。通过使用 <see cref="F:System.Security.Cryptography.X509Certificates.X509FindType.FindByIssuerDistinguishedName" /> 值,<see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Find(System.Security.Cryptography.X509Certificates.X509FindType,System.Object,System.Boolean)" /> 方法将对整个可分辨名称执行不区分大小写的字符串比较。按颁发者名称搜索的精确性较低。</summary>
  1306. </member>
  1307. <member name="F:System.Security.Cryptography.X509Certificates.X509FindType.FindByIssuerName">
  1308. <summary>
  1309. <see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Find(System.Security.Cryptography.X509Certificates.X509FindType,System.Object,System.Boolean)" /> 方法的 <paramref name="findValue" /> 参数必须是一个字符串,该字符串表示证书颁发者的名称。与 <see cref="F:System.Security.Cryptography.X509Certificates.X509FindType.FindByIssuerDistinguishedName" /> 枚举值所提供的相比,这是一种不太具体的搜索方式。通过使用 <see cref="F:System.Security.Cryptography.X509Certificates.X509FindType.FindByIssuerName" /> 值,<see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Find(System.Security.Cryptography.X509Certificates.X509FindType,System.Object,System.Boolean)" /> 方法将使用提供的值执行不区分大小写的字符串比较。例如,如果将“MyCA”传递给 <see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Find(System.Security.Cryptography.X509Certificates.X509FindType,System.Object,System.Boolean)" /> 方法,该方法将查找颁发者名称中包含该字符串的所有证书,而不管其是否包含其他颁发者值。</summary>
  1310. </member>
  1311. <member name="F:System.Security.Cryptography.X509Certificates.X509FindType.FindByKeyUsage">
  1312. <summary>
  1313. <see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Find(System.Security.Cryptography.X509Certificates.X509FindType,System.Object,System.Boolean)" /> 方法的 <paramref name="findValue" /> 参数必须是一个表示密钥用法的字符串或一个表示位掩码(包含所有请求的密钥用法)的整数。对于字符串值,一次只能指定一种密钥用法,但是可以按级联序列使用 <see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Find(System.Security.Cryptography.X509Certificates.X509FindType,System.Object,System.Boolean)" /> 方法以使请求用法交叉。例如,可以将 <paramref name="findValue" /> 参数设置为“KeyEncipherment”或整数(0x30 指示“KeyEncipherment”和“DataEncipherment”)。还可以使用 <see cref="T:System.Security.Cryptography.X509Certificates.X509KeyUsageFlags" /> 枚举的值。</summary>
  1314. </member>
  1315. <member name="F:System.Security.Cryptography.X509Certificates.X509FindType.FindBySerialNumber">
  1316. <summary>
  1317. <see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Find(System.Security.Cryptography.X509Certificates.X509FindType,System.Object,System.Boolean)" /> 方法的 <paramref name="findValue" /> 参数必须是一个字符串,它表示通过证书对话框显示的或 <see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate.GetSerialNumberString" /> 方法返回的证书的序列号,但不包含空格。</summary>
  1318. </member>
  1319. <member name="F:System.Security.Cryptography.X509Certificates.X509FindType.FindBySubjectDistinguishedName">
  1320. <summary>
  1321. <see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Find(System.Security.Cryptography.X509Certificates.X509FindType,System.Object,System.Boolean)" /> 方法的 <paramref name="findValue" /> 参数必须是一个字符串,该字符串表示证书的主题可分辨名称。与 <see cref="F:System.Security.Cryptography.X509Certificates.X509FindType.FindBySubjectName" /> 枚举值所提供的相比,这是一种更具体的搜索方式。通过使用 <see cref="F:System.Security.Cryptography.X509Certificates.X509FindType.FindBySubjectDistinguishedName" /> 值,<see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Find(System.Security.Cryptography.X509Certificates.X509FindType,System.Object,System.Boolean)" /> 方法将对整个可分辨名称执行不区分大小写的字符串比较。按主题名称搜索的精确性较低。</summary>
  1322. </member>
  1323. <member name="F:System.Security.Cryptography.X509Certificates.X509FindType.FindBySubjectKeyIdentifier">
  1324. <summary>
  1325. <see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Find(System.Security.Cryptography.X509Certificates.X509FindType,System.Object,System.Boolean)" /> 方法的 <paramref name="findValue" /> 参数必须是一个字符串,该字符串用十六进制值表示主题密钥标识符,如 UI 中显示的“F3E815D45E83B8477B9284113C64EF208E897112”。</summary>
  1326. </member>
  1327. <member name="F:System.Security.Cryptography.X509Certificates.X509FindType.FindBySubjectName">
  1328. <summary>
  1329. <see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Find(System.Security.Cryptography.X509Certificates.X509FindType,System.Object,System.Boolean)" /> 方法的 <paramref name="findValue" /> 参数必须是一个字符串,该字符串表示证书的主题名称。与 <see cref="F:System.Security.Cryptography.X509Certificates.X509FindType.FindBySubjectDistinguishedName" /> 枚举值所提供的相比,这是一种不太具体的搜索方式。通过使用 <see cref="F:System.Security.Cryptography.X509Certificates.X509FindType.FindBySubjectName" /> 值,<see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Find(System.Security.Cryptography.X509Certificates.X509FindType,System.Object,System.Boolean)" /> 方法将使用提供的值执行不区分大小写的字符串比较。例如,如果将“MyCert”传递给 <see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Find(System.Security.Cryptography.X509Certificates.X509FindType,System.Object,System.Boolean)" /> 方法,该方法将查找主题名称中包含该字符串的所有证书,而不考虑其他主题值。按可分辨名称搜索的精确性较高。</summary>
  1330. </member>
  1331. <member name="F:System.Security.Cryptography.X509Certificates.X509FindType.FindByTemplateName">
  1332. <summary>
  1333. <see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Find(System.Security.Cryptography.X509Certificates.X509FindType,System.Object,System.Boolean)" /> 方法的 <paramref name="findValue" /> 参数必须是一个字符串,该字符串表示证书的模板名,如“ClientAuth”。模板名为 X509 3 版扩展名,指定证书的使用。</summary>
  1334. </member>
  1335. <member name="F:System.Security.Cryptography.X509Certificates.X509FindType.FindByThumbprint">
  1336. <summary>
  1337. <see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Find(System.Security.Cryptography.X509Certificates.X509FindType,System.Object,System.Boolean)" /> 方法的 <paramref name="findValue" /> 参数必须是一个字符串,该字符串表示证书的指纹。</summary>
  1338. </member>
  1339. <member name="F:System.Security.Cryptography.X509Certificates.X509FindType.FindByTimeExpired">
  1340. <summary>
  1341. <see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Find(System.Security.Cryptography.X509Certificates.X509FindType,System.Object,System.Boolean)" /> 方法的 <paramref name="findValue" /> 参数必须是一个以当地时间表示的 <see cref="T:System.DateTime" /> 值。例如,通过从 <see cref="P:System.DateTime.Now" /> 的 <see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Find(System.Security.Cryptography.X509Certificates.X509FindType,System.Object,System.Boolean)" /> 操作的结果中消除今年的最后一天的 <see cref="F:System.Security.Cryptography.X509Certificates.X509FindType.FindByTimeExpired" /> 的 <see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Find(System.Security.Cryptography.X509Certificates.X509FindType,System.Object,System.Boolean)" /> 操作的结果,可以查找有效期截止到今年年底的所有证书。</summary>
  1342. </member>
  1343. <member name="F:System.Security.Cryptography.X509Certificates.X509FindType.FindByTimeNotYetValid">
  1344. <summary>
  1345. <see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Find(System.Security.Cryptography.X509Certificates.X509FindType,System.Object,System.Boolean)" /> 方法的 <paramref name="findValue" /> 参数必须是一个以当地时间表示的 <see cref="T:System.DateTime" /> 值。值不必处于将来时间。例如,通过从 <see cref="P:System.DateTime.Now" />的 <see cref="F:System.Security.Cryptography.X509Certificates.X509FindType.FindByTimeValid" /> 的 <see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Find(System.Security.Cryptography.X509Certificates.X509FindType,System.Object,System.Boolean)" /> 操作的结果中采用去年最后一天的 <see cref="F:System.Security.Cryptography.X509Certificates.X509FindType.FindByTimeNotYetValid" /> 的 <see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Find(System.Security.Cryptography.X509Certificates.X509FindType,System.Object,System.Boolean)" /> 操作的结果的交集,可以使用 <see cref="F:System.Security.Cryptography.X509Certificates.X509FindType.FindByTimeNotYetValid" /> 来查找已在当前年中有效的证书。</summary>
  1346. </member>
  1347. <member name="F:System.Security.Cryptography.X509Certificates.X509FindType.FindByTimeValid">
  1348. <summary>
  1349. <see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Find(System.Security.Cryptography.X509Certificates.X509FindType,System.Object,System.Boolean)" /> 方法的 <paramref name="findValue" /> 参数必须是一个以当地时间表示的 <see cref="T:System.DateTime" /> 值。可使用 <see cref="P:System.DateTime.Now" /> 查找当前有效的所有证书。</summary>
  1350. </member>
  1351. <member name="T:System.Security.Cryptography.X509Certificates.X509KeyStorageFlags">
  1352. <summary>定义将 X.509 证书的私钥导入到何处以及如何导出。</summary>
  1353. </member>
  1354. <member name="F:System.Security.Cryptography.X509Certificates.X509KeyStorageFlags.DefaultKeySet">
  1355. <summary>使用默认的密钥集。用户密钥集通常为默认值。</summary>
  1356. </member>
  1357. <member name="F:System.Security.Cryptography.X509Certificates.X509KeyStorageFlags.Exportable">
  1358. <summary>导入的密钥被标记为可导出。</summary>
  1359. </member>
  1360. <member name="F:System.Security.Cryptography.X509Certificates.X509KeyStorageFlags.MachineKeySet">
  1361. <summary>私钥存储在本地计算机存储区而不是当前用户存储区。</summary>
  1362. </member>
  1363. <member name="F:System.Security.Cryptography.X509Certificates.X509KeyStorageFlags.PersistKeySet">
  1364. <summary>导入证书时会保存与 PFX 文件关联的密钥。</summary>
  1365. </member>
  1366. <member name="F:System.Security.Cryptography.X509Certificates.X509KeyStorageFlags.UserKeySet">
  1367. <summary>私钥存储在当前用户存储区而不是本地计算机存储区。既使证书指定密钥应存储在本地计算机存储区,私钥也会存储到当前用户存储区。</summary>
  1368. </member>
  1369. <member name="F:System.Security.Cryptography.X509Certificates.X509KeyStorageFlags.UserProtected">
  1370. <summary>通过对话框或其他方法,通知用户密钥被访问。使用的加密服务提供程序 (CSP) 定义确切的行为。</summary>
  1371. </member>
  1372. <member name="T:System.Security.Cryptography.X509Certificates.X509KeyUsageExtension">
  1373. <summary>定义 X.509 证书中所包含的密钥的用法。此类不能被继承。</summary>
  1374. </member>
  1375. <member name="M:System.Security.Cryptography.X509Certificates.X509KeyUsageExtension.#ctor">
  1376. <summary>初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509KeyUsageExtension" /> 类的新实例。</summary>
  1377. </member>
  1378. <member name="M:System.Security.Cryptography.X509Certificates.X509KeyUsageExtension.#ctor(System.Security.Cryptography.AsnEncodedData,System.Boolean)">
  1379. <summary>使用 <see cref="T:System.Security.Cryptography.AsnEncodedData" /> 对象和一个标识扩展是否重要的值初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509KeyUsageExtension" /> 类的新实例。</summary>
  1380. <param name="encodedKeyUsage">用于创建扩展的编码数据。</param>
  1381. <param name="critical">如果扩展是必不可少的,则为 true;否则为 false。</param>
  1382. </member>
  1383. <member name="M:System.Security.Cryptography.X509Certificates.X509KeyUsageExtension.#ctor(System.Security.Cryptography.X509Certificates.X509KeyUsageFlags,System.Boolean)">
  1384. <summary>使用指定的 <see cref="T:System.Security.Cryptography.X509Certificates.X509KeyUsageFlags" /> 值和一个标识扩展是否重要的值初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509KeyUsageExtension" /> 类的新实例。</summary>
  1385. <param name="keyUsages">
  1386. <see cref="T:System.Security.Cryptography.X509Certificates.X509KeyUsageFlags" /> 值之一,说明如何使用密钥。</param>
  1387. <param name="critical">如果扩展是必不可少的,则为 true;否则为 false。</param>
  1388. </member>
  1389. <member name="M:System.Security.Cryptography.X509Certificates.X509KeyUsageExtension.CopyFrom(System.Security.Cryptography.AsnEncodedData)">
  1390. <summary>使用 <see cref="T:System.Security.Cryptography.AsnEncodedData" /> 对象初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509KeyUsageExtension" /> 类的新实例。</summary>
  1391. <param name="asnEncodedData">用于创建扩展的编码数据。</param>
  1392. </member>
  1393. <member name="P:System.Security.Cryptography.X509Certificates.X509KeyUsageExtension.KeyUsages">
  1394. <summary>获取与证书关联的密钥用法标志。</summary>
  1395. <returns>
  1396. <see cref="P:System.Security.Cryptography.X509Certificates.X509KeyUsageExtension.KeyUsages" /> 值之一。</returns>
  1397. <exception cref="T:System.Security.Cryptography.CryptographicException">扩展无法解码。</exception>
  1398. </member>
  1399. <member name="T:System.Security.Cryptography.X509Certificates.X509KeyUsageFlags">
  1400. <summary>定义证书密钥的使用方法。如果不定义此值,则密钥可用于任何目的。</summary>
  1401. </member>
  1402. <member name="F:System.Security.Cryptography.X509Certificates.X509KeyUsageFlags.CrlSign">
  1403. <summary>密钥可用于签署证书吊销列表 (CRL)。</summary>
  1404. </member>
  1405. <member name="F:System.Security.Cryptography.X509Certificates.X509KeyUsageFlags.DataEncipherment">
  1406. <summary>密钥可用于数据加密。</summary>
  1407. </member>
  1408. <member name="F:System.Security.Cryptography.X509Certificates.X509KeyUsageFlags.DecipherOnly">
  1409. <summary>密钥只能用于解密。</summary>
  1410. </member>
  1411. <member name="F:System.Security.Cryptography.X509Certificates.X509KeyUsageFlags.DigitalSignature">
  1412. <summary>密钥可用作数字签名。</summary>
  1413. </member>
  1414. <member name="F:System.Security.Cryptography.X509Certificates.X509KeyUsageFlags.EncipherOnly">
  1415. <summary>密钥只能用于加密。</summary>
  1416. </member>
  1417. <member name="F:System.Security.Cryptography.X509Certificates.X509KeyUsageFlags.KeyAgreement">
  1418. <summary>密钥可用于确定密钥协议,如使用 Diffie-Hellman 密钥协议算法创建的密钥。</summary>
  1419. </member>
  1420. <member name="F:System.Security.Cryptography.X509Certificates.X509KeyUsageFlags.KeyCertSign">
  1421. <summary>密钥可用于签署证书。</summary>
  1422. </member>
  1423. <member name="F:System.Security.Cryptography.X509Certificates.X509KeyUsageFlags.KeyEncipherment">
  1424. <summary>密钥可用于密钥加密。</summary>
  1425. </member>
  1426. <member name="F:System.Security.Cryptography.X509Certificates.X509KeyUsageFlags.None">
  1427. <summary>无密钥使用参数。</summary>
  1428. </member>
  1429. <member name="F:System.Security.Cryptography.X509Certificates.X509KeyUsageFlags.NonRepudiation">
  1430. <summary>密钥可用于身份验证。</summary>
  1431. </member>
  1432. <member name="T:System.Security.Cryptography.X509Certificates.X509NameType">
  1433. <summary>指定 X509 证书包含的名称类型。</summary>
  1434. </member>
  1435. <member name="F:System.Security.Cryptography.X509Certificates.X509NameType.DnsFromAlternativeName">
  1436. <summary>与 X.509 证书的使用者或颁发者的备用名称相关联的 DNS 名称。此值等效于 <see cref="F:System.Security.Cryptography.X509Certificates.X509NameType.DnsName" /> 值。</summary>
  1437. </member>
  1438. <member name="F:System.Security.Cryptography.X509Certificates.X509NameType.DnsName">
  1439. <summary>与 X509 证书的使用者或颁发者的备用名称相关联的 DNS 名称。</summary>
  1440. </member>
  1441. <member name="F:System.Security.Cryptography.X509Certificates.X509NameType.EmailName">
  1442. <summary>与 X509 证书关联的使用者或颁发者的电子邮件地址。</summary>
  1443. </member>
  1444. <member name="F:System.Security.Cryptography.X509Certificates.X509NameType.SimpleName">
  1445. <summary>X509 证书的使用者或颁发者的简单名称。</summary>
  1446. </member>
  1447. <member name="F:System.Security.Cryptography.X509Certificates.X509NameType.UpnName">
  1448. <summary>X509 证书的使用者或颁发者的 UPN 名称。</summary>
  1449. </member>
  1450. <member name="F:System.Security.Cryptography.X509Certificates.X509NameType.UrlName">
  1451. <summary>与 X509 证书的使用者或颁发者的备用名称相关联的 URL 地址。</summary>
  1452. </member>
  1453. <member name="T:System.Security.Cryptography.X509Certificates.X509RevocationFlag">
  1454. <summary>指定应对链中的哪些 X509 证书进行吊销检查。</summary>
  1455. </member>
  1456. <member name="F:System.Security.Cryptography.X509Certificates.X509RevocationFlag.EndCertificateOnly">
  1457. <summary>仅对最终证书进行吊销检查。</summary>
  1458. </member>
  1459. <member name="F:System.Security.Cryptography.X509Certificates.X509RevocationFlag.EntireChain">
  1460. <summary>对整个证书链进行吊销检查。</summary>
  1461. </member>
  1462. <member name="F:System.Security.Cryptography.X509Certificates.X509RevocationFlag.ExcludeRoot">
  1463. <summary>对除根证书之外的整个链进行吊销检查。</summary>
  1464. </member>
  1465. <member name="T:System.Security.Cryptography.X509Certificates.X509RevocationMode">
  1466. <summary>指定用于 X509 证书吊销检查的模式。</summary>
  1467. </member>
  1468. <member name="F:System.Security.Cryptography.X509Certificates.X509RevocationMode.NoCheck">
  1469. <summary>不对此证书执行吊销检查。</summary>
  1470. </member>
  1471. <member name="F:System.Security.Cryptography.X509Certificates.X509RevocationMode.Offline">
  1472. <summary>使用缓存的证书吊销列表 (CRL) 进行吊销检查。</summary>
  1473. </member>
  1474. <member name="F:System.Security.Cryptography.X509Certificates.X509RevocationMode.Online">
  1475. <summary>使用联机的证书吊销列表 (CRL) 进行吊销检查。</summary>
  1476. </member>
  1477. <member name="T:System.Security.Cryptography.X509Certificates.X509Store">
  1478. <summary>表示 X.509 存储,该存储是保留和管理证书的物理存储。此类不能被继承。</summary>
  1479. </member>
  1480. <member name="M:System.Security.Cryptography.X509Certificates.X509Store.#ctor">
  1481. <summary>使用当前用户存储区的个人证书初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509Store" /> 类的新实例。</summary>
  1482. </member>
  1483. <member name="M:System.Security.Cryptography.X509Certificates.X509Store.#ctor(System.Security.Cryptography.X509Certificates.StoreName,System.Security.Cryptography.X509Certificates.StoreLocation)">
  1484. <summary>使用指定的 <see cref="T:System.Security.Cryptography.X509Certificates.StoreName" /> 和 <see cref="T:System.Security.Cryptography.X509Certificates.StoreLocation" /> 值初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509Store" /> 类的新实例。</summary>
  1485. <param name="storeName">指定 X.509 证书存储区名称的枚举值之一。</param>
  1486. <param name="storeLocation">指定 X.509 证书存储位置的枚举值之一。 </param>
  1487. <exception cref="T:System.ArgumentException">
  1488. <paramref name="storeLocation" /> 不是有效位置或者 <paramref name="storeName" /> 不是有效名称。</exception>
  1489. </member>
  1490. <member name="M:System.Security.Cryptography.X509Certificates.X509Store.#ctor(System.String,System.Security.Cryptography.X509Certificates.StoreLocation)">
  1491. <summary>使用一个字符串初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509Store" /> 类的新实例,该字符串表示 <see cref="T:System.Security.Cryptography.X509Certificates.StoreName" /> 枚举中的一个值和 <see cref="T:System.Security.Cryptography.X509Certificates.StoreLocation" /> 枚举中的一个值。</summary>
  1492. <param name="storeName">一个字符串,表示 <see cref="T:System.Security.Cryptography.X509Certificates.StoreName" /> 枚举中的值。</param>
  1493. <param name="storeLocation">指定 X.509 证书存储位置的枚举值之一。 </param>
  1494. <exception cref="T:System.ArgumentException">
  1495. <paramref name="storeLocation" /> 包含无效值。</exception>
  1496. </member>
  1497. <member name="M:System.Security.Cryptography.X509Certificates.X509Store.Add(System.Security.Cryptography.X509Certificates.X509Certificate2)">
  1498. <summary>将证书添加到 X.509 证书存储。</summary>
  1499. <param name="certificate">要添加的证书。 </param>
  1500. <exception cref="T:System.ArgumentNullException">
  1501. <paramref name="certificate" /> 为 null。</exception>
  1502. <exception cref="T:System.Security.Cryptography.CryptographicException">未能将证书添加到存储区。</exception>
  1503. </member>
  1504. <member name="P:System.Security.Cryptography.X509Certificates.X509Store.Certificates">
  1505. <summary>返回位于 X.509 证书存储中的证书集合。</summary>
  1506. <returns>证书集合。</returns>
  1507. </member>
  1508. <member name="M:System.Security.Cryptography.X509Certificates.X509Store.Dispose">
  1509. <summary>释放由此占用的资源<see cref="T:System.Security.Cryptography.X509Certificates.X509Store" />。</summary>
  1510. </member>
  1511. <member name="P:System.Security.Cryptography.X509Certificates.X509Store.Location">
  1512. <summary>获取 X.509 证书存储的位置。</summary>
  1513. <returns>证书存储区的位置。</returns>
  1514. </member>
  1515. <member name="P:System.Security.Cryptography.X509Certificates.X509Store.Name">
  1516. <summary>获取 X.509 证书存储的名称。</summary>
  1517. <returns>证书存储的名称。</returns>
  1518. </member>
  1519. <member name="M:System.Security.Cryptography.X509Certificates.X509Store.Open(System.Security.Cryptography.X509Certificates.OpenFlags)">
  1520. <summary>打开 X.509 证书存储区或创建新存储区,具体取决于 <see cref="T:System.Security.Cryptography.X509Certificates.OpenFlags" /> 标志设置。</summary>
  1521. <param name="flags">枚举值的按位组合,指定打开 X.509 证书存储区的方式。</param>
  1522. <exception cref="T:System.Security.Cryptography.CryptographicException">该证书不可读。</exception>
  1523. <exception cref="T:System.Security.SecurityException">调用方没有所要求的权限。</exception>
  1524. <exception cref="T:System.ArgumentException">存储区包含无效值。</exception>
  1525. </member>
  1526. <member name="M:System.Security.Cryptography.X509Certificates.X509Store.Remove(System.Security.Cryptography.X509Certificates.X509Certificate2)">
  1527. <summary>从 X.509 证书存储移除证书。</summary>
  1528. <param name="certificate">要移除的证书。</param>
  1529. <exception cref="T:System.ArgumentNullException">
  1530. <paramref name="certificate" /> 为 null。</exception>
  1531. <exception cref="T:System.Security.SecurityException">调用方没有所要求的权限。</exception>
  1532. </member>
  1533. <member name="T:System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension">
  1534. <summary>定义一个标识证书的主题密钥标识符 (SKI) 的字符串。此类不能被继承。</summary>
  1535. </member>
  1536. <member name="M:System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension.#ctor">
  1537. <summary>初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension" /> 类的新实例。</summary>
  1538. </member>
  1539. <member name="M:System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension.#ctor(System.Byte[],System.Boolean)">
  1540. <summary>使用一个字节数组和一个标识扩展是否重要的值初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension" /> 类的新实例。</summary>
  1541. <param name="subjectKeyIdentifier">一个字节数组,表示要用来创建扩展的数据。</param>
  1542. <param name="critical">如果扩展是必不可少的,则为 true;否则为 false。</param>
  1543. </member>
  1544. <member name="M:System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension.#ctor(System.Security.Cryptography.AsnEncodedData,System.Boolean)">
  1545. <summary>使用编码数据和一个标识扩展是否重要的值初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension" /> 类的新实例。</summary>
  1546. <param name="encodedSubjectKeyIdentifier">要用来创建扩展的 <see cref="T:System.Security.Cryptography.AsnEncodedData" /> 对象。</param>
  1547. <param name="critical">如果扩展是必不可少的,则为 true;否则为 false。</param>
  1548. </member>
  1549. <member name="M:System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension.#ctor(System.Security.Cryptography.X509Certificates.PublicKey,System.Boolean)">
  1550. <summary>使用一个公钥和一个标识扩展是否重要的值初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension" /> 类的新实例。</summary>
  1551. <param name="key">要从其创建主题密钥标识符 (SKI) 的 <see cref="T:System.Security.Cryptography.X509Certificates.PublicKey" /> 对象。</param>
  1552. <param name="critical">如果扩展是必不可少的,则为 true;否则为 false。</param>
  1553. </member>
  1554. <member name="M:System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension.#ctor(System.Security.Cryptography.X509Certificates.PublicKey,System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierHashAlgorithm,System.Boolean)">
  1555. <summary>使用一个公钥、一个哈希算法标识符和一个指示扩展是否重要的值初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension" /> 类的新实例。</summary>
  1556. <param name="key">要从其创建主题密钥标识符 (SKI) 的 <see cref="T:System.Security.Cryptography.X509Certificates.PublicKey" /> 对象。</param>
  1557. <param name="algorithm">
  1558. <see cref="T:System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierHashAlgorithm" /> 值之一,标识要使用哪一个哈希算法。</param>
  1559. <param name="critical">如果扩展是必不可少的,则为 true;否则为 false。</param>
  1560. </member>
  1561. <member name="M:System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension.#ctor(System.String,System.Boolean)">
  1562. <summary>使用一个字符串和一个标识扩展是否重要的值初始化 <see cref="T:System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension" /> 类的新实例。</summary>
  1563. <param name="subjectKeyIdentifier">一个以十六进制格式编码的字符串,表示证书的主题密钥标识符 (SKI)。</param>
  1564. <param name="critical">如果扩展是必不可少的,则为 true;否则为 false。</param>
  1565. </member>
  1566. <member name="M:System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension.CopyFrom(System.Security.Cryptography.AsnEncodedData)">
  1567. <summary>通过从编码数据复制信息创建 <see cref="T:System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension" /> 类的新实例。</summary>
  1568. <param name="asnEncodedData">要用来创建扩展的 <see cref="T:System.Security.Cryptography.AsnEncodedData" /> 对象。</param>
  1569. </member>
  1570. <member name="P:System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension.SubjectKeyIdentifier">
  1571. <summary>获取一个表示证书的主题密钥标识符 (SKI) 的字符串。</summary>
  1572. <returns>一个以十六进制格式编码的字符串,表示主题密钥标识符 (SKI)。</returns>
  1573. <exception cref="T:System.Security.Cryptography.CryptographicException">扩展无法解码。</exception>
  1574. </member>
  1575. <member name="T:System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierHashAlgorithm">
  1576. <summary>定义用于 <see cref="T:System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension" /> 类的哈希算法类型。</summary>
  1577. </member>
  1578. <member name="F:System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierHashAlgorithm.CapiSha1">
  1579. <summary>主题密钥标识符 (SKI) 由编码公钥(包括标记、长度和未使用位数)的 160 位 SHA-1 哈希组成。</summary>
  1580. </member>
  1581. <member name="F:System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierHashAlgorithm.Sha1">
  1582. <summary>SKI 由公钥值(不包括标记、长度和未使用位数)的 160 位 SHA-1 哈希组成。</summary>
  1583. </member>
  1584. <member name="F:System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierHashAlgorithm.ShortSha1">
  1585. <summary>SKI 由具有值 0100 的四位类型字段组成,后跟公钥值(不包括标记、长度和未使用字符串位数)的 SHA-1 哈希的 60 位最低有效位</summary>
  1586. </member>
  1587. <member name="T:System.Security.Cryptography.X509Certificates.X509VerificationFlags">
  1588. <summary>指定在哪些情况下应在 X509 链中进行证书验证。</summary>
  1589. </member>
  1590. <member name="F:System.Security.Cryptography.X509Certificates.X509VerificationFlags.AllFlags">
  1591. <summary>包含所有与验证相关的标志。</summary>
  1592. </member>
  1593. <member name="F:System.Security.Cryptography.X509Certificates.X509VerificationFlags.AllowUnknownCertificateAuthority">
  1594. <summary>忽略由于证书颁发机构 (CA) 未知而无法对链进行验证的情况。</summary>
  1595. </member>
  1596. <member name="F:System.Security.Cryptography.X509Certificates.X509VerificationFlags.IgnoreCertificateAuthorityRevocationUnknown">
  1597. <summary>确定证书验证时,忽略证书颁发机构吊销未知的情况。</summary>
  1598. </member>
  1599. <member name="F:System.Security.Cryptography.X509Certificates.X509VerificationFlags.IgnoreCtlNotTimeValid">
  1600. <summary>确定证书验证时,忽略由于 CTL 已过期等原因导致证书信任列表 (CTL) 无效的情况。</summary>
  1601. </member>
  1602. <member name="F:System.Security.Cryptography.X509Certificates.X509VerificationFlags.IgnoreCtlSignerRevocationUnknown">
  1603. <summary>确定证书验证时,忽略证书信任列表 (CTL) 签名者吊销未知的情况。</summary>
  1604. </member>
  1605. <member name="F:System.Security.Cryptography.X509Certificates.X509VerificationFlags.IgnoreEndRevocationUnknown">
  1606. <summary>确定证书验证时,忽略最终证书(用户证书)吊销未知的情况。</summary>
  1607. </member>
  1608. <member name="F:System.Security.Cryptography.X509Certificates.X509VerificationFlags.IgnoreInvalidBasicConstraints">
  1609. <summary>确定证书验证时,忽略基本约束无效的情况。</summary>
  1610. </member>
  1611. <member name="F:System.Security.Cryptography.X509Certificates.X509VerificationFlags.IgnoreInvalidName">
  1612. <summary>确定证书验证时,忽略证书具有无效名称的情况。</summary>
  1613. </member>
  1614. <member name="F:System.Security.Cryptography.X509Certificates.X509VerificationFlags.IgnoreInvalidPolicy">
  1615. <summary>确定证书验证时,忽略证书具有无效策略的情况。</summary>
  1616. </member>
  1617. <member name="F:System.Security.Cryptography.X509Certificates.X509VerificationFlags.IgnoreNotTimeNested">
  1618. <summary>证书验证时,忽略 CA(证书颁发机构)证书和所颁发证书的有效期不重叠的情况。例如,CA 证书的有效期限是从 1 月 1 日到 12 月 1 日,而已颁发的证书的有效期限是从 1 月 2 日到 12 月 2 日,这就表示有效期限是不配套的。</summary>
  1619. </member>
  1620. <member name="F:System.Security.Cryptography.X509Certificates.X509VerificationFlags.IgnoreNotTimeValid">
  1621. <summary>确定证书验证时,忽略链中因已过期或尚未生效而无效的证书。</summary>
  1622. </member>
  1623. <member name="F:System.Security.Cryptography.X509Certificates.X509VerificationFlags.IgnoreRootRevocationUnknown">
  1624. <summary>确定证书验证时,忽略根吊销未知的情况。</summary>
  1625. </member>
  1626. <member name="F:System.Security.Cryptography.X509Certificates.X509VerificationFlags.IgnoreWrongUsage">
  1627. <summary>确定证书验证时,忽略证书不是为当前使用而颁发的情况。</summary>
  1628. </member>
  1629. <member name="F:System.Security.Cryptography.X509Certificates.X509VerificationFlags.NoFlag">
  1630. <summary>不包含任何与验证相关的标志。</summary>
  1631. </member>
  1632. </members>
  1633. </doc>