Artifact af37f6a50a077ebb034ee827e6aca454d4cea80cf1fe2575d5dc4204607abd7f:
- File
src/OFSecureTransportTLSStream.h
— part of check-in
[112eb62f7b]
at
2021-11-13 20:28:25
on branch trunk
— 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. (user: js, size: 724) [annotate] [blame] [check-ins using] - File src/tls/OFSecureTransportTLSStream.h — part of check-in [6b4dd1f24f] at 2021-11-21 00:30:55 on branch trunk — Add OFGnuTLSTLSStream (user: js, size: 724) [annotate] [blame] [check-ins using]
/* * Copyright (c) 2008-2021 Jonathan Schleifer <js@nil.im> * * All rights reserved. * * This file is part of ObjFW. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE.QPL included in * the packaging of this file. * * Alternatively, it may be distributed under the terms of the GNU General * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #import "OFTLSStream.h" OF_ASSUME_NONNULL_BEGIN @interface OFSecureTransportTLSStream: OFTLSStream <OFStreamDelegate> { struct SSLContext *_context; OFString *_host; } @end OF_ASSUME_NONNULL_END