/dev/nsec/nssl

From WiiUBrew
Jump to navigation Jump to search

List of functions (Ioctl/Ioctlv)

Command Function Description Notes
0x01 NSSL_CreateContext(u32 version?)
0x02 NSSL_DestroyContext(NSSLContextHandle context)
0x03 NSSL_SetClientPKI(u32, u32)
0x04 NSSL_SetClientPKIExternal(6 params) Ioctlv
0x05 NSSL_AddServerPKI(NSSLContextHandle context,NSSLServerCertId pki)
0x06 NSSL_AddServerPKIGroups()
0x07 NSSL_AddServerPKIExternal(NSSLContextHandle context,void *cert,int32_t length) Ioctlv
0x08 NSSL_CreateConnection(NSSLContextHandle context,char *host,int32_t hostLength,int32_t options,int32_t socket, int32_t block) Ioctlv
0x09 NSSL_DestroyConnection(NSSLConnectionHandle connection)
0x0a NSSL_DoHandshake(NSSLConnectionHandle handle)
0x0b NSSL_Read(NSSLConnectionHandle connection,void *buffer,int32_t length) Ioctlv
0x0c NSSL_Write(NSSLConnectionHandle connection,void *buffer,int32_t length) Ioctlv
0x0d NSSL_GetSession(NSSLConnectionHandle connection?)
0x0e NSSL_SetSession(NSSLConnectionHandle connection?, void* session)
0x0f NSSL_FreeSession(NSSLConnectionHandle connection?)
0x10 NSSL_GetPending(NSSLConnectionHandle connection)
0x11 NSSL_GetPeerCertSize(NSSLConnectionHandle connection)
0x12 NSSL_GetPeerCert() Ioctlv
0x13 NSSL_GetCipherInfo() Ioctlv
0x14 NSSL_RemoveSession(NSSLConnectionHandle connection?)
0x15 NSSL_NSECEncrypt()
0x16 NSSL_ExportInternalServerCertificate() Ioctlv
0x17 NSSL_ExportInternalClientCertificate() Ioctlv
0x18 NSSL_AddCRLExternal() Ioctlv nn_nets2
0x19 NSSL_ContextSetFlags() nn_nets2
0x20 NSSL_ContextGetFlags() nn_nets2
0x21 NSSL_ContextClearFlags() nn_nets2
0x22 NSSL_ContextSetMode() nn_nets2