this |
the SettingWireGuard instance |
public_key |
the public key for looking up the peer. |
out_idx |
optional output argument for the index of the found peer. If no index is found, this is set to the get_peers_len. |
the WireGuardPeer instance with a matching public key. If no such peer exists, null is returned. |