SslStreamCertificateContext 類別
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表用於建置憑證鏈結的一組憑證。
public ref class SslStreamCertificateContext
public ref class SslStreamCertificateContext sealed
C#
public class SslStreamCertificateContext
C#
public sealed class SslStreamCertificateContext
type SslStreamCertificateContext = class
Public Class SslStreamCertificateContext
Public NotInheritable Class SslStreamCertificateContext
- 繼承
-
SslStreamCertificateContext
憑證會正規化。 如果在建構的 X509Chain 中遺漏憑證,SslStream 會嘗試在證書存儲中搜尋憑證,或透過網路擷取憑證來解析憑證。
可以跨多個數據流使用 , SslStreamCertificateContext 以節省鏈結建構並改善效能。
Intermediate |
取得建置鏈結的中繼憑證。 |
Target |
取得建置鏈結的目標 (分葉) 憑證。 |
Create(X509Certificate2, X509Certificate2Collection, Boolean, Ssl |
嘗試從提供的憑證建置憑證鏈結。 |
Create(X509Certificate2, X509Certificate2Collection, Boolean) |
嘗試從提供的憑證建置憑證鏈結。 |
Equals(Object) |
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
Get |
做為預設雜湊函式。 (繼承來源 Object) |
Get |
取得目前執行個體的 Type。 (繼承來源 Object) |
Memberwise |
建立目前 Object 的淺層複製。 (繼承來源 Object) |
To |
傳回代表目前物件的字串。 (繼承來源 Object) |
產品 | 版本 |
---|---|
.NET | 5, 6, 7, 8, 9, 10 |