Differences From Artifact [1a6c8de484]:
- File
src/OFTLSStream.h
— part of check-in
[43864736e7]
at
2024-11-16 22:36:57
on branch tls-server
— OFTLSStream: Add API for server mode
Not implemented using any TLS library yet. (user: js, size: 8017) [annotate] [blame] [check-ins using]
To Artifact [73461e1dca]:
- File src/OFTLSStream.h — part of check-in [2cb48ceaf1] at 2024-11-18 00:38:04 on branch tls-server — OFGnuTLSTLSStream: Add server support (user: js, size: 8284) [annotate] [blame] [check-ins using]
︙ | |||
15 16 17 18 19 20 21 22 23 24 25 26 27 28 | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | + + - | * You should have received a copy of the GNU Lesser General Public License * version 3.0 along with this program. If not, see * <https://www.gnu.org/licenses/>. */ #import "OFStream.h" #import "OFRunLoop.h" #import "OFX509Certificate.h" #import "OFX509CertificatePrivateKey.h" OF_ASSUME_NONNULL_BEGIN /** @file */ @class OFArray OF_GENERIC(ObjectType); @class OFTLSStream; |
︙ | |||
98 99 100 101 102 103 104 | 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | + - - + + + | */ @interface OFTLSStream: OFStream <OFReadyForReadingObserving, OFReadyForWritingObserving> { OFStream <OFReadyForReadingObserving, OFReadyForWritingObserving> *_underlyingStream; bool _verifiesCertificates; OFArray OF_GENERIC(OF_KINDOF(OFX509Certificate *)) *_Nullable |
︙ | |||
128 129 130 131 132 133 134 135 136 137 138 139 140 141 | 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 | + + + + + + | /** * @brief The certificate chain to use. */ @property OF_NULLABLE_PROPERTY (copy, nonatomic) OFArray OF_GENERIC(OFX509Certificate *) *certificateChain; /** * @brief The private key to use. */ @property OF_NULLABLE_PROPERTY (retain, nonatomic) OFX509CertificatePrivateKey *privateKey; - (instancetype)init OF_UNAVAILABLE; /** * @brief Creates a new TLS stream with the specified stream as its underlying * stream. * * @param stream The stream to use as underlying stream. Must not be closed |
︙ | |||
223 224 225 226 227 228 229 | 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 | - - + + | #ifdef __cplusplus extern "C" { #endif /** * @brief The implementation for OFTLSStream to use. * * This can be set to a class that is always used for OFTLSStream. This is |
︙ |