110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
|
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
|
-
+
+
|
[_discoNodes setObject: node
forKey: node.node];
}
- (OFString *)capsHash
{
OFMutableString *caps = [OFMutableString string];
OFSHA1Hash *hash = [OFSHA1Hash cryptoHash];
OFSHA1Hash *hash = [OFSHA1Hash
cryptoHashWithAllowsSwappableMemory: true];
OFData *digest;
for (XMPPDiscoIdentity *identity in _identities)
[caps appendFormat: @"%@/%@//%@<",
identity.category, identity.type, identity.name];
for (OFString *feature in _features)
|