Contents

sec_identity_access_certificates(_:_:)

Declaration

func sec_identity_access_certificates(_ identity: sec_identity_t, _ handler: @escaping (sec_certificate_t) -> Void) -> Bool

Parameters

  • identity:

    A sec_identity_t instance.

  • handler:

    A block to invoke one or more times with sec_certificate_t instances.

Return Value

Returns true if the peer certificates were accessible, false otherwise.

Discussion

Access the certificates associated with the sec_identity_t instance.