Skip to main content

unwrap_key_jwk

Function unwrap_key_jwk 

Source
pub async fn unwrap_key_jwk(
    variant: AesVariant,
    input: UnwrapInput,
    options: AeadKeyOptions,
) -> Result<Aead, Error>
Expand description

Mint an AES-GCM key from unwrapped key material read as an oct JWK, subject to import_key_jwk’s contract plus the unwrap-path use/key_ops checks. Consumes the UnwrapInput.