this |
the WireGuardPeer instance |
check_non_secrets |
if true, secret properties are validated. Otherwise, they are ignored for this purpose. |
check_secrets |
if true, non-secret properties are validated. Otherwise, they are ignored for this purpose. |
true if the peer is valid or fails with an error reason. |