Changes

Jump to navigation Jump to search
2,177 bytes added ,  00:30, 13 April 2020
no edit summary
Line 158: Line 158:  
! Cmd || Name
 
! Cmd || Name
 
|-
 
|-
| 0 || SetSocketDescriptor
+
| 0 || [[#SetSocketDescriptor]]
 
|-
 
|-
| 1 || SetHostName
+
| 1 || [[#SetHostName]]
 
|-
 
|-
 
| 2 || [[#SetVerifyOption]]
 
| 2 || [[#SetVerifyOption]]
 
|-
 
|-
| 3 || SetIoMode
+
| 3 || [[#SetIoMode]]
 
|-
 
|-
| 4 || GetSocketDescriptor
+
| 4 || [[#GetSocketDescriptor]]
 
|-
 
|-
| 5 || GetHostName
+
| 5 || [[#GetHostName]]
 
|-
 
|-
 
| 6 || [[#GetVerifyOption]]
 
| 6 || [[#GetVerifyOption]]
 
|-
 
|-
| 7 || GetIoMode
+
| 7 || [[#GetIoMode]]
 
|-
 
|-
| 8 || DoHandshake
+
| 8 || [[#DoHandshake]]
 
|-
 
|-
| 9 || DoHandshakeGetServerCert
+
| 9 || [[#DoHandshakeGetServerCert]]
 
|-
 
|-
| 10 || Read
+
| 10 || [[#Read]]
 
|-
 
|-
| 11 || Write
+
| 11 || [[#Write]]
 
|-
 
|-
| 12 || Pending
+
| 12 || [[#Pending]]
 
|-
 
|-
| 13 || Peek
+
| 13 || [[#Peek]]
 
|-
 
|-
| 14 || Poll
+
| 14 || [[#Poll]]
 
|-
 
|-
| 15 || GetVerifyCertError
+
| 15 || [[#GetVerifyCertError]]
 
|-
 
|-
| 16 || GetNeededServerCertBufferSize
+
| 16 || [[#GetNeededServerCertBufferSize]]
 
|-
 
|-
| 17 || SetSessionCacheMode
+
| 17 || [[#SetSessionCacheMode]]
 
|-
 
|-
| 18 || GetSessionCacheMode
+
| 18 || [[#GetSessionCacheMode]]
 
|-
 
|-
| 19 || FlushSessionCache
+
| 19 || [[#FlushSessionCache]]
 
|-
 
|-
| 20 || SetRenegotiationMode
+
| 20 || [[#SetRenegotiationMode]]
 
|-
 
|-
| 21 || GetRenegotiationMode
+
| 21 || [[#GetRenegotiationMode]]
 
|-
 
|-
| 22 || SetOption
+
| 22 || [[#SetOption]]
 
|-
 
|-
| 23 || GetOption
+
| 23 || [[#GetOption]]
 
|-
 
|-
| 24 || GetVerifyCertErrors
+
| 24 || [[#GetVerifyCertErrors]]
 
|-
 
|-
| 25 || [4.0.0+] GetCipherInfo
+
| 25 || [4.0.0+] [[#GetCipherInfo]]
 
|-
 
|-
| 26 || [9.0.0+] SetNextAlpnProto
+
| 26 || [9.0.0+] [[#SetNextAlpnProto]]
 
|-
 
|-
| 27 || [9.0.0+] GetNextAlpnProto
+
| 27 || [9.0.0+] [[#GetNextAlpnProto]]
 
|}
 
|}
 +
 +
==== SetSocketDescriptor ====
 +
Takes an input s32, returns an output s32.
 +
 +
==== SetHostName ====
 +
Takes a type-0x5 input buffer, no output.
    
==== SetVerifyOption ====
 
==== SetVerifyOption ====
Line 219: Line 225:     
Originally ssl-sysmodule just wrote the input field to state. With newer sysvers there's now validation for the input.
 
Originally ssl-sysmodule just wrote the input field to state. With newer sysvers there's now validation for the input.
 +
 +
==== SetIoMode ====
 +
Takes an input u32 "nn::ssl::sf::IoMode", no output.
 +
 +
==== GetSocketDescriptor ====
 +
No input, returns an output s32.
 +
 +
==== GetHostName ====
 +
Takes a type-0x6 output buffer, returns an output u32.
    
==== GetVerifyOption ====
 
==== GetVerifyOption ====
 
No input, returns an output u32 [[#VerifyOption]].
 
No input, returns an output u32 [[#VerifyOption]].
 +
 +
==== GetIoMode ====
 +
No input, returns an output u32 "nn::ssl::sf::IoMode".
 +
 +
==== DoHandshake ====
 +
No input/output.
 +
 +
==== DoHandshakeGetServerCert ====
 +
Takes a type-0x6 output buffer, returns two output u32s.
 +
 +
==== Read ====
 +
Takes a type-0x6 output buffer, returns an output u32.
 +
 +
==== Write ====
 +
Takes a type-0x5 input buffer, returns an output u32.
 +
 +
==== Pending ====
 +
No input, returns an output s32.
 +
 +
==== Peek ====
 +
Takes a type-0x6 output buffer, returns an output u32.
 +
 +
==== Poll ====
 +
Takes an input u32 "nn::ssl::sf::PollEvent", an u32, returns an output u32 "nn::ssl::sf::PollEvent".
 +
 +
==== GetVerifyCertError ====
 +
No input/output.
 +
 +
==== GetNeededServerCertBufferSize ====
 +
No input, returns an output u32.
 +
 +
==== SetSessionCacheMode ====
 +
Takes an input u32 "nn::ssl::sf::SessionCacheMode", no output.
 +
 +
==== GetSessionCacheMode ====
 +
No input, returns an output u32 "nn::ssl::sf::SessionCacheMode".
 +
 +
==== FlushSessionCache ====
 +
No input/output.
 +
 +
==== SetRenegotiationMode ====
 +
Takes an input u32 "nn::ssl::sf::RenegotiationMode", no output.
 +
 +
==== GetRenegotiationMode ====
 +
No input, returns an output u32 "nn::ssl::sf::RenegotiationMode".
 +
 +
==== SetOption ====
 +
Takes an input u8 bool and an u32 "nn::ssl::sf::OptionType", no output.
 +
 +
==== GetOption ====
 +
Takes an input u32 "nn::ssl::sf::OptionType", returns an output u8 bool.
 +
 +
==== GetVerifyCertErrors ====
 +
Takes a type-0x6 output buffer, returns two output u32s.
 +
 +
==== GetCipherInfo ====
 +
Takes an input u32 and a type-0x6 output buffer.
 +
 +
==== SetNextAlpnProto ====
 +
Takes a type-0x5 input buffer, no output.
 +
 +
==== GetNextAlpnProto ====
 +
Takes a type-0x6 output buffer, returns an output u32 "nn::ssl::sf::AlpnProtoState" and an output u32.
    
= SslVersion =
 
= SslVersion =

Navigation menu