Function exportPrivateKey

  • Exports Ed25519 private CryptoKey to PrivateKey If privateKey is already Buffer, then this just returns it. The returned buffers is guaranteed to unpooled. This means the underlying ArrayBuffer is safely transferrable.

    Parameters

    • privateCryptoKey: CryptoKey

    Returns Promise<PrivateKey>

Generated using TypeDoc