SslServerAuthenticationOptions Class

Definition

This struct represents a server authentication property bag for the SslStream.

public ref class SslServerAuthenticationOptions
public class SslServerAuthenticationOptions
type SslServerAuthenticationOptions = class
Public Class SslServerAuthenticationOptions
Inheritance
SslServerAuthenticationOptions

Remarks

This property bag is used as argument for AuthenticateAsServer, or AuthenticateAsServerAsync.

Constructors

SslServerAuthenticationOptions()

Initializes a new instance of the SslServerAuthenticationOptions class.

Properties

AllowRenegotiation

Gets or sets a value that indicates whether the SslStream should allow SSL renegotiation.

AllowTlsResume

Gets or sets a value that indicates whether the SslStream should allow TLS resumption.

ApplicationProtocols

Gets or sets a list of ALPN protocols.

CertificateChainPolicy

Gets or sets an optional customized policy for remote certificate validation. If not null, CertificateRevocationCheckMode and SslCertificateTrust are ignored.

CertificateRevocationCheckMode

Gets or sets the certificate revocation mode for certificate validation.

CipherSuitesPolicy

Specifies the cipher suites allowed for TLS. When set to null, the operating system default is used. Use extreme caution when changing this setting.

ClientCertificateRequired

Gets or sets a value that specifies whether the client is asked for a certificate for authentication. Note that this is only a request -- if no certificate is provided, the server still accepts the connection request.

EnabledSslProtocols

Gets or sets a value that represents protocol versions used by the server to match the client protocol version during authentication.

EncryptionPolicy

Gets or sets the EncryptionPolicy.

RemoteCertificateValidationCallback

Gets or sets a RemoteCertificateValidationCallback delegate responsible for custom validating the certificate supplied by the remote party.

ServerCertificate

Gets or sets the server certificate.

ServerCertificateContext

Gets or sets the server certificate context.

ServerCertificateSelectionCallback

Gets or sets the ServerCertificateSelectionCallback delegate responsible for the server certificate selection.

Methods

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