Allow initializing with private key and certificate

This commit is contained in:
Florian Zeitz 2012-01-25 16:42:23 +01:00
parent 8c3b57e107
commit 38cd6bd401
2 changed files with 15 additions and 0 deletions

View file

@ -39,6 +39,9 @@
#endif
- initWithSocket: (OFTCPSocket*)socket;
- initWithSocket: (OFTCPSocket*)socket
privateKeyFile: (OFString*)privateKeyFile
certificateFile: (OFString*)certificateFile;
/* Change the return type */
- (SSLSocket*)accept;
- (void)setPrivateKeyFile: (OFString*)file;