@nats-io/nats-core
    Preparing search index...

    Function fromPublic

    • 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