Function importKeyPair

  • Imports Ed25519 CryptoKeyPair from key pair buffer. If any of the keys are already CryptoKey, then this will return them.

    Parameters

    • __namedParameters: {
          privateKey: BufferSource;
          publicKey: BufferSource;
      }
      • privateKey: BufferSource
      • publicKey: BufferSource

    Returns Promise<CryptoKeyPair>

Generated using TypeDoc