ObjFW
 All Classes Functions Variables
Instance Methods | List of all members
<OFTLSSocketDelegate> Protocol Referenceabstract

A delegate for classes implementing the OFTLSSocket protocol. More...

#import <OFTLSSocket.h>

Instance Methods

(BOOL) - socket:shouldAcceptKeychain:
 This callback is called when the TLS socket wants to know if it should accept the received keychain.
 

Detailed Description

A delegate for classes implementing the OFTLSSocket protocol.

Method Documentation

- (BOOL) socket: (id< OFTLSSocket >)  socket
shouldAcceptKeychain: (OFArray *)  keychain 

This callback is called when the TLS socket wants to know if it should accept the received keychain.

Parameters
certificateAn array of objects implementing the OFX509Certificate protocol
Returns
Whether the TLS socket should accept the received keychain

The documentation for this protocol was generated from the following file: