Add support for SCRAM-SHA-1-PLUS

This commit is contained in:
Florian Zeitz 2011-09-10 16:08:25 +02:00
parent b24c7500fd
commit 62d2bd2ba5
4 changed files with 88 additions and 18 deletions

View file

@ -73,6 +73,7 @@
id <XMPPConnectionDelegate, OFObject> delegate;
XMPPAuthenticator *authModule;
BOOL needsSession;
BOOL encrypted;
unsigned int lastID;
OFString *bindID, *sessionID;
XMPPRoster *roster;
@ -85,6 +86,7 @@
@property (retain) id <XMPPConnectionDelegate> delegate;
@property (readonly, retain) XMPPRoster *roster;
@property (readonly, retain, getter=socket) OFTCPSocket *sock;
@property (readonly) BOOL encrypted;
#endif
/**
@ -119,6 +121,11 @@
*/
- (OFTCPSocket*)socket;
/**
* \return Whether the connection is encrypted
*/
- (BOOL)encrypted;
/**
* Sends an OFXMLElement, usually an XMPPStanza.
*