Skip to main content

Enum ServerCertificateValidationMode

Enum representing different server certificate validation modes for TLS protocols.

Assembly: Meadow.Contracts.dll
View Source
Declaration
[Flags]
public enum ServerCertificateValidationMode

Fields

None

No certificate validation is performed (Insecure)

View Source
Declaration
None = 0

Optional

Certificate validation is optional. Handshake continues even if verification fails

View Source
Declaration
Optional = 1

Required

Peer must present a valid certificate; handshake is aborted if verification fails

View Source
Declaration
Required = 2