ObjFW  All files named "src/OFTLSStream.h"

History for src/OFTLSStream.h

2024-11-18
00:47
Make GCC happy again file: [05262420c8] check-in: [f6cc2092af] user: js, branch: tls-server, size: 8256 [annotate] [blame] [check-ins using] [diff]
00:38
OFGnuTLSTLSStream: Add server support file: [73461e1dca] check-in: [2cb48ceaf1] user: js, branch: tls-server, size: 8284 [annotate] [blame] [check-ins using] [diff]
2024-11-16
22:36
OFTLSStream: Add API for server mode

Not implemented using any TLS library yet. file: [1a6c8de484] check-in: [43864736e7] user: js, branch: tls-server, size: 8017 [annotate] [blame] [check-ins using] [diff]

2024-11-13
23:46
OFOpenSSLTLSStream: Use more error codes file: [c23d19a2a9] check-in: [fa9652e096] user: js, branch: trunk, size: 6431 [annotate] [blame] [check-ins using] [diff]
2024-11-12
00:28
OFTLSStream: Add more error codes file: [80f6ab9958] check-in: [448629661d] user: js, branch: trunk, size: 6441 [annotate] [blame] [check-ins using] [diff]
2024-06-17
21:08
Always use <ObjFW/ObjFW.h> in documentation file: [19a4dce33f] check-in: [164f2fb4bf] user: js, branch: trunk, size: 5920 [annotate] [blame] [check-ins using] [diff]
2024-04-03
02:16
Change license to LGPLv3 only file: [8c96ff50b1] check-in: [7413a728a7] user: js, branch: trunk, size: 5932 [annotate] [blame] [check-ins using] [diff]
2024-02-03
11:41
Update copyright file: [c6d3017a4d] check-in: [7324ec8590] user: js, branch: 1.0, size: 5779 [annotate] [blame] [check-ins using] [diff]
2024-01-06
00:52
Initial support for Mbed TLS

Mbed TLS is never automatically picked as a TLS implementation and
always needs to be manually enabled using --with-tls=mbedtls. file: [57d0bfe49e] check-in: [11b2a17595] user: js, branch: trunk, size: 5724 [annotate] [blame] [check-ins using] [diff]

2024-01-02
17:17
Update copyright file: [0af95e980d] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 5574 [annotate] [blame] [check-ins using] [diff]
2023-10-15
12:32
Add -[OFStream lowlevelIsAtEndOfStream]

This allows for a much cleaner solution to avoid the internal read
buffer of e.g. a TLS connection never being processed while waiting for
a delimiter. file: [db5ba510f8] check-in: [a61e0594b4] user: js, branch: trunk, size: 5574 [annotate] [blame] [check-ins using] [diff]

2023-08-30
15:02
Add OFTLSStreamImplementation to Amiga .library file: [1b138c67b4] check-in: [8a48cff63c] user: js, branch: amiga-library, size: 5949 [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
Update copyright file: [f204428d75] check-in: [8939cbdb52] user: js, branch: trunk, size: 5779 [annotate] [blame] [check-ins using] [diff]
2022-12-27
13:58
Rename OFAlready{Connected -> Open}Exception file: [e2ca141274] check-in: [29a41e5a78] user: js, branch: trunk, size: 5779 [annotate] [blame] [check-ins using] [diff]
2022-10-21
13:07
Document more exceptions file: [8cbbbbbe33] check-in: [a62b254fda] user: js, branch: trunk, size: 5794 [annotate] [blame] [check-ins using] [diff]
2022-09-26
20:32
Document more exceptions file: [66003bcff2] check-in: [4b8c89a6fe] user: js, branch: trunk, size: 5442 [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
Update copyright file: [0ae2a154e2] check-in: [1a86b8175b] user: js, branch: trunk, size: 5377 [annotate] [blame] [check-ins using] [diff]
2021-11-21
10:40
OFTLSStream: wrappedStream -> underlyingStream file: [d05dc14c91] check-in: [3ed8cf7a52] user: js, branch: trunk, size: 5377 [annotate] [blame] [check-ins using] [diff]
2021-11-13
20:28
Add OFSecureTransportTLSStream

This implements OFTLSStream using Apple's Secure Transport. While Secure
Transport is declared deprecated by Apple, Apple so far has failed to
provide a suitable replacement. They recommend Network.framework as a
replacement, however it can neither work on arbitrary sockets, nor can
it do STARTTLS. file: [b3a209020a] check-in: [112eb62f7b] user: js, branch: trunk, size: 5359 [annotate] [blame] [check-ins using] [diff]

13:04
Renamed src/OFTLSSocket.h → src/OFTLSStream.h. Completely rework the TLS/SSL API

The previous API could never work cleanly and would always require
hacks, as it needed intercepting all interactions of OFTCPSocket with
the raw socket and did not work at all if the OFTCPSocket had anything
in its read buffer before starting the TLS handshake. This also could
not be fixed easily, as it would have required the object to contain two
read buffers, one for the unencrypted connection and one for the
encrypted connection. There was also no clean way to perform the
handshake in a non-blocking way.

The new API is a lot cleaner and requires none of the hacks, but using
it requires slightly more work. But this is more than made up for by
making a fully asynchronous handshake possible. It uses the concept of a
stream wrapping another stream, meaning the entire connecting part is
being handled by OFTCPSocket and then the connected socket is passed off
to OFTLSStream to wrap it. This also makes for a lot cleaner separation
of concerns. file: [c91283e053] check-in: [d30efa8bbf] user: js, branch: trunk, size: 4764 [annotate] [blame] [check-ins using] [diff]