Changes

Jump to navigation Jump to search
4 bytes added ,  05:47, 10 August 2021
Added new error code indicating EWOULDBLOCK when calling sslcStartConnection()
Line 46: Line 46:  
| [[1.0.0-0]]
 
| [[1.0.0-0]]
 
|  
 
|  
| This writes an output u32 to cmdreply[2](created context handle).
+
| CreateCrlStore. This writes an output u32 to cmdreply[2](created context handle).
 
|-
 
|-
 
| 0x00090040
 
| 0x00090040
 
| [[1.0.0-0]]
 
| [[1.0.0-0]]
 
|  
 
|  
| (u32 handle for a context) This is used for destroying a context created by command 0x00080000.
+
| DestroyCrlStore(u32 contexthandle)
 
|-
 
|-
 
| 0x000A0082
 
| 0x000A0082
 
| [[1.0.0-0]]
 
| [[1.0.0-0]]
 
| Main-only
 
| Main-only
| (u32 contexthandle, u32 size, ((Size<<4)  <nowiki>|</nowiki> 10), inbufptr) Writes the output cert-context-handle to cmdreply[2]. This uses a context created by command 0x00080000. This adds the specified cert to this context.
+
| AddCrlToCrlStore(u32 contexthandle, u32 size, ((Size<<4)  <nowiki>|</nowiki> 10), inbufptr)
 
|-
 
|-
 
| 0x000B0080
 
| 0x000B0080
 
| [[1.0.0-0]]
 
| [[1.0.0-0]]
 
| Main-only
 
| Main-only
| (u32 contexthandle, u8 inval2) Writes an output cert-context-handle to cmdreply[2]. This uses a context created by command 0x00080000. This just returns error 0xD8A0B83D eventually.
+
| AddInternalCrlToCrlStore(u32 contexthandle, u8 inval2)
 
|-
 
|-
 
| 0x000C0080
 
| 0x000C0080
 
| [[1.0.0-0]]
 
| [[1.0.0-0]]
 
| Main-only
 
| Main-only
| (u32 contexthandle, u32 certcontexthandle) This uses a context created by command 0x00080000. This removes the specified cert from the context.
+
| RemoveCrlFromCrlStore(u32 contexthandle, u32 certcontexthandle) This removes the specified cert from the context.
 
|-
 
|-
 
| 0x000D0084
 
| 0x000D0084
Line 136: Line 136:  
| [[1.0.0-0]]
 
| [[1.0.0-0]]
 
| Context-only
 
| Context-only
| (u32 [[SSLC:CreateContext|contexthandle]], u32 handle) This writes a context handle created by command 0x00080000 into the session context.
+
| SetCrlStore(u32 [[SSLC:CreateContext|contexthandle]], u32 handle) This writes a context handle created by command 0x00080000 into the session context.
 
|-
 
|-
 
| 0x001B0080
 
| 0x001B0080
Line 151: Line 151:  
| [[1.0.0-0]]
 
| [[1.0.0-0]]
 
| Context-only
 
| Context-only
| (u32 [[SSLC:CreateContext|contexthandle]]) Writes an output u32 from the context state to cmdreply[2].
+
| GetCertVerificationErrors(u32 [[SSLC:CreateContext|contexthandle]]) Writes an output u32 from the context state to cmdreply[2].
 
|-
 
|-
 
| 0x001E0040
 
| 0x001E0040
Line 166: Line 166:  
| [[1.0.0-0]]
 
| [[1.0.0-0]]
 
| Context-only
 
| Context-only
| ([[SSLC:CreateContext|contexthandle]], u32 size, ((Size<<4)  <nowiki>|</nowiki> 10), inbufptr) This loads the input cert, it's unknown what format the cert is. The input buffer is handled as a string. It's unknown what the cert is used for once this command is finished.
+
| AddEVPolicyID([[SSLC:CreateContext|contexthandle]], u32 size, ((Size<<4)  <nowiki>|</nowiki> 10), inbufptr) The input buffer is handled as a string.  
 
|}
 
|}
   Line 232: Line 232:  
!  Error code
 
!  Error code
 
!  Description
 
!  Description
 +
|-
 +
| 0xD8A0B801
 +
| Generic error, it means "this is not an SSL connection"
 +
|-
 +
| 0xD840B802
 +
| EWOULDBLOCK while trying to read
 +
|-
 +
| 0xD840B803
 +
| EWOULDBLOCK while trying to write
 +
|-
 +
| 0xD840B807
 +
| EWOULDBLOCK while calling sslcStartConnection()
 +
|-
 +
| 0xD8A0B805
 +
| Syscall error, usually means there's no more data to be read because connection is closed
 +
|-
 +
| 0xD8A0B806
 +
| End-of-stream reached, there is no more data to be read
 
|-
 
|-
 
| 0xD8A0B814
 
| 0xD8A0B814

Navigation menu