pub(crate) fn parse_public_key(public_key: &str) -> Result<PublicKey>
Parse public key from file path.