Tls12Client.this

this(RecordLayer recordLayer, string serverName, TlsVerifyMode verifyMode, TlsVerifyCallback verifyCallback, string[] alpnProtocols, NativeTlsTrustStore trustStore = null)

Constructs a TLS 1.2 client handshake engine.

Parameters

recordLayerThe record layer for reading/writing TLS records.
serverNameThe SNI hostname.
verifyModeCertificate verification mode.
verifyCallbackOptional custom verification callback.
alpnProtocolsALPN protocol names in preference order.
trustStoreTrust store for certificate validation.