Skip to main content

unwrap_org_key

Function unwrap_org_key 

Source
pub(crate) fn unwrap_org_key(
    store: &KeyStore<KeySlotIds>,
    organization_id: OrganizationId,
    token: &AccessToken,
    encrypted_payload: &str,
) -> Result<(), CryptoModuleError>
Expand description

Decrypt the identity server’s encrypted_payload with token’s derived key and install the org key into store.