Udostępnij za pośrednictwem


TlsValidationOptions Class

Definition

Options for controlling the validation of TLS endpoints.

public class TlsValidationOptions
type TlsValidationOptions = class
Public Class TlsValidationOptions
Inheritance
TlsValidationOptions

Constructors

TlsValidationOptions()

Initializes a new instance of the TlsValidationOptions class.

TlsValidationOptions(String, String)

Initializes a new instance of the TlsValidationOptions class.

Properties

IgnoreHostname

Gets or sets when set to 'true' causes the certificate subject name validation to be skipped. Default is 'false'.

IgnoreSignature

Gets or sets when set to 'true' causes the certificate chain trust validation to be skipped. Default is 'false'.

Applies to