static fun fromString(str: String): LocalIdentity
Create a local identity from a String of the form net:IP address:port~shs:base64 of public key
str - the String to interpret
str
Return the identity or null if the string doesn't match the format.