• Creates a KeyPair from a specified public key

    Parameters

    • src: string

      of the public key in string format.

    Returns KeyPair

    Returns the created KeyPair.

    KeyPair#getPublicKey