function · Browser and Node
webCryptoSigner
A WebCrypto key pair (Ed25519 or ECDSA P-256). The private key may be non-extractable.
@toip-tools/eventlogView sourceimport { webCryptoSigner } from "@toip-tools/eventlog";
Declaration
webCryptoSigner(pair: CryptoKeyPair): Promise<Signer>;
Parameters
pairrequiredCryptoKeyPair
Returns
Promise<Signer>