Difference between revisions of "SSLC:ContextGetProtocolCipher"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x001C00C4] |- | 1 | SSL context handle |- | 2 | Outstr0_maxsize |- | 3 | Outst...")
 
 
(2 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
|-
 
|-
 
| 2
 
| 2
| Outstr0_maxsize
+
| Outprotocols_maxsize
 
|-
 
|-
 
| 3
 
| 3
| Outstr1_maxsize
+
| Outcipher_maxsize
 
|-
 
|-
 
| 4
 
| 4
| (Outstr0_maxsize<<4)  <nowiki>|</nowiki> 12
+
| (Outprotocols_maxsize<<4)  <nowiki>|</nowiki> 12
 
|-
 
|-
 
| 5
 
| 5
| Pointer to output str0
+
| Pointer to outprotocols buffer
 
|-
 
|-
 
| 6
 
| 6
| (Outstr1_maxsize<<4)  <nowiki>|</nowiki> 12
+
| (Outcipher_maxsize<<4)  <nowiki>|</nowiki> 12
 
|-
 
|-
 
| 7
 
| 7
| Pointer to output str1
+
| Pointer to outcipher buffer
 
|}
 
|}
  
Line 41: Line 41:
 
| 1
 
| 1
 
| Result code
 
| Result code
|-
 
| 2
 
| Total received data
 
 
|}
 
|}
  
Line 50: Line 47:
  
 
This copies two strings to the specified output buffers, each string is only copied if it was successfully loaded. The out sizes include the nul-terminator.
 
This copies two strings to the specified output buffers, each string is only copied if it was successfully loaded. The out sizes include the nul-terminator.
 +
 +
Outprotocols contains the protocol versions supported by SSL-module. What protocol version is currently being used or what protocol versions are actually supported by the server, do not affect this string. For example: "TLSv11/TLSv1/SSLv3".
 +
 +
Outcipher contains the cipher suite currently being used. For example: "EDH-RSA-AES256-SHA".

Latest revision as of 21:56, 30 March 2016

Request[edit]

Index Word Description
0 Header code [0x001C00C4]
1 SSL context handle
2 Outprotocols_maxsize
3 Outcipher_maxsize
4 (Outprotocols_maxsize<<4) | 12
5 Pointer to outprotocols buffer
6 (Outcipher_maxsize<<4) | 12
7 Pointer to outcipher buffer

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

This is only usable if the connection was already started successfully(SSLC:StartConnection*).

This copies two strings to the specified output buffers, each string is only copied if it was successfully loaded. The out sizes include the nul-terminator.

Outprotocols contains the protocol versions supported by SSL-module. What protocol version is currently being used or what protocol versions are actually supported by the server, do not affect this string. For example: "TLSv11/TLSv1/SSLv3".

Outcipher contains the cipher suite currently being used. For example: "EDH-RSA-AES256-SHA".