Azure信息保护|如何解密来自EWS API的.EML? [英] Azure Information Protection | How to decrypt .EMLs coming from EWS API?

查看:95
本文介绍了Azure信息保护|如何解密来自EWS API的.EML?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

给出:

  1. 我们使用EWS API从Office 365(Exchange Online)下载电子邮件
  2. 使用AIP对电子邮件进行加密时,邮件主体会进行加密
  3. 管理员用户是超级用户-该用户的信誉用于根据EWS发出请求

问:

  1. 为了解密,似乎我们需要使用 https://docs.microsoft.com/en-us/information-protection/develop/concept-handler-protection-cpp .这是使用正确的API吗?
  2. 如果是这样,则上述API使用C ++.C#中有可用的东西吗?
  3. 有关如何解密消息的简单示例将受到赞赏?

  1. In order to decrypt, it seems that we need to use https://docs.microsoft.com/en-us/information-protection/develop/concept-handler-protection-cpp. Is this the correct API to use?
  2. If so, above API is in C++. Is there anything available in C#?
  3. Simple samples of how to decrypt a message would be appreciated?

最后一个问题,是否有办法通过为我们用于EWS的用户设置一些更高级别的权限来避免一起解密?

Final question, is there a way to avoid decryption all together by setting some higher-level permission on the user that we use for EWS?

推荐答案

我们在本周提供了对MSG文件解密的支持.我们尚不支持受保护的EML文件.您也许可以将EML转换为MSG,然后使用我们

We shipped support this week for decryption of MSG files. We don't yet support protected EML files. You may be able to convert the EML to MSG, then use the functionality we announced here to decrypt.

文件API包可通过NuGet获得.该软件包包括.NET和本机库.

The File API package is available via NuGet. This package includes both .NET and native libraries.

我们所有的示例均在此处提供.我还没有发布解密示例,但是您需要先调用FileHandler.RemoveProtection(),再调用FileHandler.CommitAsync(),然后才能得到解密的输出.

All of our samples are available here. I haven't published a decryption example, yet, but you need to call FileHandler.RemoveProtection() followed by FileHandler.CommitAsync() and that'll give you the decrypted output.

这篇关于Azure信息保护|如何解密来自EWS API的.EML?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆