Skip to main content

unwrap_key_raw

Function unwrap_key_raw 

Source
pub async fn unwrap_key_raw(
    variant: Sha2Variant,
    input: UnwrapInput,
    options: MacKeyOptions,
) -> Result<Mac, Error>
Expand description

Mint an HMAC key over the declared SHA-2 variant from unwrapped key material read as raw bytes. Consumes the UnwrapInput.