Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​Net.​Security.​SslCertificateTrust

Assembly: System.Net.Security

Inheritance: object → SslCertificateTrust

Represents a trust policy for use with SSL/TLS connections.

Methods

public static SslCertificateTrust
CreateForX509Collection​(Security.​Cryptography.​X509Certificates.​X509Certificate2Collection trustList, bool sendTrustInHandshake = false)
Creates a new <see cref="T:System.Net.Security.SslCertificateTrust" /> .
Returns Represents a trust policy.
trustList The collection containing the trusted certificates.
sendTrustInHandshake <see langword="true" /> for the server to send a list of trusted certificate authorities during the TLS handshake; <see langword="false" /> not to send the list.
public static SslCertificateTrust
CreateForX509Store​(Security.​Cryptography.​X509Certificates.​X509Store store, bool sendTrustInHandshake = false)
Creates a new <see cref="T:System.Net.Security.SslCertificateTrust" /> .
Returns Represents a trust policy.
store The store containing the trusted certificates.
sendTrustInHandshake <see langword="true" /> for the server to send a list of trusted certificate authorities during the TLS handshake; <see langword="false" /> not to send the list.
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object