简体   繁体   English

解密Lotus Notes邮件-Java API

[英]Decrypt Lotus Notes Mail - Java API

I'm attempting to create a Lotus Notes mail extractor, using the Java API, but I haven't found any way to decrypt mail files. 我正在尝试使用Java API创建Lotus Notes邮件提取程序,但是我还没有找到解密邮件文件的任何方法。 I'm creating a session using a super-admin user's credentials, and retrieved (encrypted) files show encrypted even when the account used is that of the sender of the mail. 我正在使用超级管理员用户的凭据创建会话,即使使用的帐户是邮件发件人的帐户,检索到的(加密)文件也显示为加密。

Now, I am told by a potential client which requires this feature that he can provide the private keys (not sure yet by which means, if a string or modifying the .ID files (?). 现在,需要该功能的潜在客户告诉我,他可以提供私钥(尚不确定通过哪种方式,如果是字符串或修改.ID文件(?)。

So my question is, what are my options for what I'm trying to accomplish? 所以我的问题是,我要完成的工作有哪些选择? I would most strongly prefer to use the Java API, though I know there's an impersonation method in C, but which required the user's ID file or credentials. 尽管我知道C中有一个模拟方法,但是我需要使用用户的ID文件或凭据,但我还是非常希望使用Java API。

And if it can't be automated, is there some sort of server certificate that would enable me to extract decrypted mail? 而且,如果它不能自动化,是否有某种服务器证书可以使我提取解密的邮件?

Thanks in advance! 提前致谢!

The (private) keys that you need to decrypt encrypted mail documents are stored in the ID-files. 解密加密的邮件文档所需的(专用)密钥存储在ID文件中。 You can open an ID-file only by using the correct password. 您只能使用正确的密码来打开ID文件。 Only then it is possible to impersonate someone in Notes. 只有这样,才能在Notes中模拟某人。 There is no such thing as a global key or a server certificate that can be used to open any document. 没有诸如全局密钥或服务器证书之类的东西可用于打开任何文档。

When A sends an encrypted mail to B, the mail is encrypted using B's public key. 当A将加密的邮件发送给B时,该邮件将使用B的公钥进行加密。 The resulting document can only be decrypted using B's private key. 生成的文档只能使用B的私钥解密。 That also means that not even A can read that mail! 这也意味着即使A都无法阅读该邮件!

Notes sure is safe! 注意确保安全! :-) :-)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM