pub(crate) fn validate_with_pubkey( license_key: &str, pubkey_pem: &str, environment_id: &str, ) -> Result<ValidatedLicenseKey>