ObjXMPP  Diff

Differences From Artifact [cf4b0ef3fa]:

To Artifact [e029c909bb]:


64
65
66
67
68
69
70
71

72
73
74

75
76
77
78

79
80
81
82
83
84

85
86
87
88
89
90
91
64
65
66
67
68
69
70

71
72
73

74




75




76

77
78
79
80
81
82
83
84







-
+


-
+
-
-
-
-
+
-
-
-
-

-
+







- initWithAuthzid: (OFString*)authzid
	  authcid: (OFString*)authcid
	 password: (OFString*)password;

/**
 * \return A OFDataAray containing the initial authentication message
 */
- (OFDataArray*)clientFirstMessage;
- (OFDataArray*)initialMessage;

/**
 * \param challenge The challenge to generate a response for
 * \param data The continuation data send by the server
 * \return The response to the given challenge
 */
- (OFDataArray*)calculateResponseWithChallenge: (OFDataArray*)challenge;

 * \return The appropriate response if the data was a challenge, nil otherwise
/**
 * Checks whether the servers final message was valid
 *
 * \param  message The servers final message
 */
- (void)parseServerFinalMessage: (OFDataArray*)message;
- (OFDataArray*)continueWithData: (OFDataArray*)data;

- (void)setAuthzid: (OFString*)authzid;
- (OFString*)authzid;
- (void)setAuthcid: (OFString*)authcid;
- (OFString*)authcid;
- (void)setPassword: (OFString*)password;
- (OFString*)password;