LiveOrDevTrying / WebsocketsSimple

WebsocketsSimple provides an easy-to-use and customizable Websocket Server and Websocket Client. The server is created using a TcpListener and upgrades a successful connection to a WebSocket. The server and client can be used for non-SSL or SSL connections and authentication (including client and server SSL certification validation) is provided for identifying the clients connected to your server. Both client and server are created in .NET Standard and use async await functionality.
Apache License 2.0
21 stars 2 forks source link

Question: frameworks and cryptography algorithms supported? #5

Closed fverdou closed 1 year ago

fverdou commented 2 years ago

So we have a .net standard 2.0 based Xamarin app, unknown server type for the time being, and want to be able to use ed25515 to sign certificates. Is this library a good candidate?

LiveOrDevTrying commented 1 year ago

Hello, apologies for the late reply. ED25515 is for private public key signing. WebsocketsSimple passes tokens (string) and they are managed in an IUserManager interface - the actual implementation is up to the programmer. You could base64 encode your certs, pass them as a token, and use ED25515 to verify signed tokens in your UserManager implementation. So I think yes this would be a good library for this.