pub(crate) fn generate_key(
aes_algorithm: AesAlgorithm,
global: &GlobalScope,
normalized_algorithm: &SubtleAesKeyGenParams,
extractable: bool,
usages: Vec<KeyUsage>,
can_gc: CanGc,
) -> Result<DomRoot<CryptoKey>, Error>Expand description
https://w3c.github.io/webcrypto/#aes-ctr-operations-generate-key https://w3c.github.io/webcrypto/#aes-cbc-operations-generate-key https://w3c.github.io/webcrypto/#aes-gcm-operations-generate-key https://w3c.github.io/webcrypto/#aes-kw-operations-generate-key https://wicg.github.io/webcrypto-modern-algos/#aes-ocb-operations-generate-key