Function exportPublicKey

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

    Parameters

    • publicCryptoKey: CryptoKey

    Returns Promise<PublicKey>

Generated using TypeDoc