public_key_valid

Function public_key_valid 

Source
pub fn public_key_valid(PublicKey: &PublicKey) -> bool
Expand description

Check if Tox public key PUBLICKEYBYTES is valid. Should be used only for input validation.

Returns true if valid, false otherwise.