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<AeadKey, Error>
Expand description

Mint a key from unwrapped key material read as an RFC 7517 JSON Web Key, subject to import-key-jwk’s contract plus the unwrap-path use/key_ops checks (see README.md, “JWK contract”). input is consumed; see unwrap-key-raw for the options model.