tlsVersionToProtocol

private fnuint tlsVersionToProtocol(TlsVersion ver, bool isClient) pure @safe nothrow @nogc

Convert TlsVersion to SChannel protocol flags.

Parameters

verThe TLS version to convert.
isClientWhether this is for client or server.

Returns

The corresponding SChannel protocol flag.