ObjXMPP  Diff

Differences From Artifact [dd2be7ab8f]:

To Artifact [d4a2643832]:


61
62
63
64
65
66
67
68

69
70
71
72
73
74

75
76
77
78
79
80
81
61
62
63
64
65
66
67

68
69
70
71
72
73

74
75
76
77
78
79
80
81







-
+





-
+







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

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

/**
 * \param challenge The challenge to generate a response for
 * \return The response to the given challenge
 */
- (OFDataArray*)getResponseWithChallenge: (OFDataArray*)challenge;
- (OFDataArray*)calculateResponseWithChallenge: (OFDataArray*)challenge;

/**
 * Checks whether the servers final message was valid
 *
 * \param  message The servers final message
 */
- (void)parseServerFinalMessage: (OFDataArray*)message;