pub(crate) fn get_public_key<D: Equivalence>(
cx: &mut JSContext,
global: &D::GlobalScope,
ec_algorithm: EcAlgorithm,
key: &CryptoKey<D>,
algorithm: &KeyAlgorithmAndDerivatives,
usages: Vec<KeyUsage>,
) -> Result<DomRoot<CryptoKey<D>>, Error>Expand description
https://wicg.github.io/webcrypto-modern-algos/#SubtleCrypto-method-getPublicKey Step 9 - 15, for elliptic curve cryptography