Skip to main content

unwrap_secret_key_pkcs8

Function unwrap_secret_key_pkcs8 

Source
pub async fn unwrap_secret_key_pkcs8(
    input: UnwrapInput,
    options: AgreementKeyOptions,
) -> Result<SecretKey, Error>
Expand description

Mint a static secret key from unwrapped key material read as a PKCS#8 PrivateKeyInfo, subject to import-secret-key-pkcs8’s contract. input is consumed; see unwrap-secret-key-jwk for the options model.