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.​SslStreamCertificateContext

Assembly: System.Net.Security

Inheritance: object → SslStreamCertificateContext

Represents a set of certificates used for building a certificate chain.

Properties

Gets the intermediate certificates for the built chain.
Gets the target (leaf) certificate of the built chain.

Methods

Create​(Security.​Cryptography.​X509Certificates.​X509Certificate2 target, Security.​Cryptography.​X509Certificates.​X509Certificate2Collection? additionalCertificates, bool offline)
Attempts to build the certificate chain from the provided certificates.
Returns The certificate context with the newly created certificate chain.
target The server certificate.
additionalCertificates Supplementary certificates used to build the certificate chain.
offline <see langword="false" /> to indicate that the missing certificates can be downloaded from the network; <see langword="true" /> to indicate that only available X509Certificate stores should be searched for missing certificates.
Create​(Security.​Cryptography.​X509Certificates.​X509Certificate2 target, Security.​Cryptography.​X509Certificates.​X509Certificate2Collection? additionalCertificates, bool offline = false, SslCertificateTrust? trust = null)
Attempts to build the certificate chain from the provided certificates.
Returns The certificate context with the newly created certificate chain.
target The server certificate.
additionalCertificates Supplementary certificates used to build the certificate chain.
offline <see langword="false" /> to indicate that the missing certificates can be downloaded from the network; <see langword="true" /> to indicate that only available X509Certificate stores should be searched for missing certificates.
trust An optional trust policy, to replace the default system trust.
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