Changes

248 bytes added ,  17:00, 9 March 2023
no edit summary
Line 959: Line 959:     
= OptionType =
 
= OptionType =
This is "nn::ssl::sf::OptionType" or "nn::ssl::Connection::OptionType". Or in the case of [[#SetPrivateOption]]: "nn::ssl::ConnectionPrivate::PrivateOptionType".
+
This is "nn::ssl::sf::OptionType" or "nn::ssl::Connection::OptionType".
    
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
Line 975: Line 975:  
|}
 
|}
   −
This corresponds to bool flags. At the time of [[#ISslConnection]] object creation, all of these bool flags are cleared.
+
Or in the case of [[#SetPrivateOption]] which is also "nn::ssl::ConnectionPrivate::PrivateOptionType":
 +
 
 +
{| class="wikitable" border="1"
 +
|-
 +
! Value
 +
! Description
 +
|-
 +
| 1 || [[#SetSessionCacheMode]] will throw an error if the input [[#SessionCacheMode]] is non-zero and this option flag is set.
 +
|}
 +
 
 +
This corresponds to bool flags. At the time of [[#ISslConnection]] object creation, all of these bool flags are cleared (excluding PrivateOptionType val1 above?).
    
"SkipDefaultVerify" is checked by [[#VerifyOption|SetVerifyOption]] and "EnableAlpn" is only available with [[#SetOption_2|SetOption]].
 
"SkipDefaultVerify" is checked by [[#VerifyOption|SetVerifyOption]] and "EnableAlpn" is only available with [[#SetOption_2|SetOption]].