tuweni / org.apache.tuweni.scuttlebutt.discovery / LocalIdentity / fromString

fromString

static fun fromString(str: String!): LocalIdentity! (source)

Create a local identity from a String of the form net:IP address:port~shs:base64 of public key

Parameters

str - String!: the String to interpret

Return
LocalIdentity!: the identity or null if the string doesn't match the format.