pub(crate) fn import_key_from_key_data(
aes_algorithm: AesAlgorithm,
format: KeyFormat,
key_data: &[u8],
extractable: bool,
usages: &[KeyUsage],
) -> Result<Vec<u8>, Error>Expand description
Step 3 of https://w3c.github.io/webcrypto/#aes-ctr-operations-import-key Step 3 of https://w3c.github.io/webcrypto/#aes-cbc-operations-import-key Step 3 of https://w3c.github.io/webcrypto/#aes-gcm-operations-import-key Step 3 of https://w3c.github.io/webcrypto/#aes-kw-operations-import-key Step 3 of https://wicg.github.io/webcrypto-modern-algos/#aes-ocb-operations-import-key