Επεξεργασία

Κοινή χρήση μέσω


SslStreamCertificateContext Class

Definition

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

public ref class SslStreamCertificateContext sealed
public ref class SslStreamCertificateContext
public sealed class SslStreamCertificateContext
public class SslStreamCertificateContext
type SslStreamCertificateContext = class
Public NotInheritable Class SslStreamCertificateContext
Public Class SslStreamCertificateContext
Inheritance
SslStreamCertificateContext

Remarks

The certificates are normalized. If a certificate is missing in the constructed X509Chain, SslStream will try to resolve them either by searching for the certificate in the certificate stores or by fetching them over the network, if allowed.

The SslStreamCertificateContext can be used across multiple streams to save chain construction and improve performance.

Properties

IntermediateCertificates

Gets the intermediate certificates for the built chain.

TargetCertificate

Gets the target (leaf) certificate of the built chain.

Methods

Create(X509Certificate2, X509Certificate2Collection, Boolean, SslCertificateTrust)

Attempts to build the certificate chain from the provided certificates.

Create(X509Certificate2, X509Certificate2Collection, Boolean)

Attempts to build the certificate chain from the provided certificates.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to