mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Add support for server side ssl connections.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18055 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a1cf21fecf
commit
4d1f1825c1
4 changed files with 184 additions and 37 deletions
|
@ -148,14 +148,19 @@ GS_EXPORT NSString * const NSFileHandleOperationException;
|
|||
/*
|
||||
* Where OpenSSL is available, you can use the subclass returned by +sslClass
|
||||
* to handle SSL connections.
|
||||
* The -sslAccept method is used to do SSL handlshake and start an
|
||||
* encrypted session on a channel where the connection was initiated
|
||||
* from the far end.
|
||||
* The -sslConnect method is used to do SSL handlshake and start an
|
||||
* encrypted session.
|
||||
* encrypted session on a channel where the connection was initiated
|
||||
* from the near end..
|
||||
* The -sslDisconnect method is used to end the encrypted session.
|
||||
* The -sslSetCertificate:privateKey:PEMpasswd: method is used to
|
||||
* establish a client certificate before starting an encrypted session.
|
||||
*/
|
||||
@interface NSFileHandle (GNUstepOpenSSL)
|
||||
+ (Class) sslClass;
|
||||
- (BOOL) sslAccept;
|
||||
- (BOOL) sslConnect;
|
||||
- (void) sslDisconnect;
|
||||
- (void) sslSetCertificate: (NSString*)certFile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue