Expand description
§yolotls sans-io (Server) related functionality
The server implements all the TLS Processor traits and provides a stateful context from the server end PoV.
§Try it out
Note: The below assumes hostname is test.rustcryp.to on IPv4 address 192.168.64.3.
Generate the example secp256v1 certificates
$ cd ../test_certs
$ make prime256v1Start the server listener
$ cargo run --example listenerAnd then PING with the openssl client:
$ openssl s_client -CAfile test_certs/ca.prime256v1.crt -debug -msg -tls1_3 -security_debug_verbose -state 192.168.64.3:9999Once the openssl client is connected, you can type PING
Structs§
- Handshake
Complete - Marker for Handshake being complete
- Server
Application Ctx - yTLS Server Application Ctx
- Server
Handshake Ctx - State machine context for yTLS Server
- TlsServer
Ctx - yTLS Server Context
Enums§
- CtxError
- yTLS Context Errors
- Rfc8446
Error
Traits§
- CtxApplication
Processor - Implement to process application data part
- CtxHandshake
Processor - Implement to process handshaking part
- TlsLeft
In - TLS State Machine Left (Ciphertext) or “Network” I/O ingress side
- TlsLeft
Out - TLS State Machine Left (Ciphertext) or “Network” I/O egress side
- TlsRight
- TLS State Machine Right (Cleartext) or “Application” I/O side
- TlsServer
CtxConfig - Implement to provide configuration for the Tls Server Context