Skip to main content

import_key_raw

Function import_key_raw 

Source
pub async fn import_key_raw(
    variant: AesVariant,
    raw: Vec<u8>,
    options: KwKeyOptions,
) -> Result<KwKey, Error>
Expand description

Import raw key material as the declared AES variant (see aes-gcm.import-key-raw for the variant-redundancy contract).