52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
if (authzid)
[message addItem: authzid];
/* separator */
[message addItem: ""];
/* authcid */
[message addNItems: [authcid UTF8StringLength]
fromCArray: [authcid UTF8String]];
/* separator */
[message addItem: ""];
/* passwd */
[message addNItems: [password UTF8StringLength]
fromCArray: [password UTF8String]];
return message;
}
@end
|
|
|
|
|
|
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
if (authzid)
[message addItem: authzid];
/* separator */
[message addItem: ""];
/* authcid */
[message addItemsFromCArray: [authcid UTF8String]
count: [authcid UTF8StringLength]];
/* separator */
[message addItem: ""];
/* passwd */
[message addItemsFromCArray: [password UTF8String]
count: [password UTF8StringLength]];
return message;
}
@end
|