Convert a Crypto Key pair to Multikeys. This function exports the Cryptokeys into a JWK Key pair, and uses the JWKToMultikey function.
JWKToMultikey
Works for ecdsa (both P-384 and P-256), and eddsa.
ecdsa
P-384
P-256
eddsa
Note that, because WebCrypto methods are asynchronous, so is this function.
Overloaded version of the conversion function for a single (public) key in JWK, returning the generated Multikey.
Convert a Crypto Key pair to Multikeys. This function exports the Cryptokeys into a JWK Key pair, and uses the
JWKToMultikey
function.Works for
ecdsa
(bothP-384
andP-256
), andeddsa
.Note that, because WebCrypto methods are asynchronous, so is this function.