Creates a KeyPair from a specified public key
of the public key in string format.
Returns the created KeyPair.
KeyPair#getPublicKey
Creates a KeyPair from a specified public key