@substrate-system/keys
    Preparing search index...

    Function exportPublicKey

    • Get the public key from a given keypair.

      Parameters

      • keypair: CryptoKeyPair

        The keypair to get the public side from.

      • format: "jwk"

      Returns Promise<JsonWebKey>

      ArrayBuffer of public key material

    • Get the public key from a given keypair.

      Parameters

      • keypair: CryptoKeyPair

        The keypair to get the public side from.

      • Optionalformat: "raw" | "pkcs8" | "spki"

      Returns Promise<ArrayBuffer>

      ArrayBuffer of public key material