简体   繁体   English

如何在Windows CE上实现SSL服务器

[英]How to implement a SSL server on Windows CE

I need to implement a server running on Windows CE 5.0 that shall communicate on a secure connection. 我需要实现在Windows CE 5.0上运行的服务器,该服务器应在安全连接上进行通信。 To implement a secure connection SSL looks like a good choice. 要实现安全连接,SSL似乎是一个不错的选择。

The Windows CE 5.0 Winsock implementation allows to implement all the SLL stuff using the Winsock Secure Sockets . Windows CE 5.0 Winsock实现允许使用Winsock安全套接字实现所有SLL内容。 But the problem is that the referred site states: 但是问题在于所引用的站点指出:

SSL does not support the following Winsock functionality ... "Calls to the accept function". SSL不支持以下Winsock功能...“调用accept功能”。

How can I implement a SSL secured server when accept will not work? 无法accept时如何实现SSL安全服务器? What other options do I have to implement a secure connection to a Windows CE 5.0 device? 要实现与Windows CE 5.0设备的安全连接,还必须执行哪些其他选择?

Edit: My current application implementation is in C++. 编辑:我当前的应用程序实现是在C ++中。 So I would prefer an approach that use the Windows API or a C++ library. 因此,我更喜欢使用Windows API或C ++库的方法。

We ported the Mentalis Secure Socket Library to the Compact Framework for when we needed SSL. 我们在需要SSL时将Mentalis安全套接字库移植到Compact Framework。 It was fairly painless, though not without its bugs. 尽管不是没有bug,但它相当轻松。

MatrixSSL supports Windows CE: MatrixSSL支持Windows CE:

MatrixSSL™ is an embedded SSL and TLS implementation designed for small footprint applications and devices. MatrixSSL™是嵌入式SSL和TLS实施,专门用于小型应用程序和设备。 Available is a fully supported, commercial version as well as an open source version that is available for download. 可用是完全受支持的商业版本,以及可以下载的开源版本。 MatrixSSL allows secure management of remote devices. MatrixSSL允许对远程设备进行安全管理。 Several secure embedded Web servers also use MatrixSSL for their encryption layer. 一些安全的嵌入式Web服务器也将MatrixSSL用于其加密层。

MatrixSSL has been ported to operating systems including FreeRTOS, Bare Metal, eCos, VxWorks, uClinux, eCos, FreeRTOS, ThreadX, WindowsCE , PocketPC, Palm, pSOS, SMX, BREW, MacOS X, Linux and Windows. MatrixSSL已移植到包括FreeRTOS,Bare Metal,eCos,VxWorks,uClinux,eCos,FreeRTOS,ThreadX, WindowsCE ,PocketPC,Palm,pSOS,SMX,BREW,MacOS X,Linux和Windows的操作系统。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM