pub async fn import_key_jwk(
variant: AesVariant,
jwk: String,
options: CipherKeyOptions,
) -> Result<CipherKey, Error>Expand description
Import an RFC 7517 JSON Web Key as an AES-CBC key of the declared
variant. The key must be an oct key whose alg, if present,
names the declared variant ("A128CBC"/"A192CBC"/"A256CBC");
otherwise as aes-gcm.import-key-jwk.