sec_protocol_metadata_access_peer_certificate_chain(_:_:)
Declaration
func sec_protocol_metadata_access_peer_certificate_chain(_ metadata: sec_protocol_metadata_t, _ handler: @escaping (sec_certificate_t) -> Void) -> BoolParameters
- metadata:
A
sec_protocol_metadata_tinstance. - handler:
A block to invoke one or more times with sec_certificate_t objects
Return Value
Returns true if the peer certificates were accessible, false otherwise.
Discussion
Get the certificate chain of the protocol instance peer.