Skip to main content

unwrap_org_key

Function unwrap_org_key 

Source
pub fn unwrap_org_key(
    enc: &str,
    private: &RsaPrivateKey,
) -> Result<SymmetricCryptoKey>
Expand description

Unwrap an organization key: EncString type 4, RSA-2048-OAEP-SHA1 with the user’s private key. Type 6 is named rather than guessed at.