ObjFW  Diff

Differences From Artifact [351d035ebc]:

To Artifact [9e3217c031]:


24
25
26
27
28
29
30


31
32


33
34
35
36
37
38
39
24
25
26
27
28
29
30
31
32


33
34
35
36
37
38
39
40
41







+
+
-
-
+
+







 * @brief A delegate for classes implementing the OFTLSSocket protocol.
 */
@protocol OFTLSSocketDelegate
/*!
 * @brief This callback is called when the TLS socket wants to know if it
 *	  should accept the received keychain.
 *
 * @param socket The socket which wants to know if it should accept the received
 *		 keychain
 * @param certificate An array of objects implementing the OFX509Certificate
 *		      protocol
 * @param keychain An array of objects implementing the OFX509Certificate
 *		   protocol
 * @return Whether the TLS socket should accept the received keychain
 */
-	  (BOOL)socket: (id <OFTLSSocket>)socket
  shouldAcceptKeychain: (OFArray*)keychain;
@end

/*!