[英]Using SetEncryption method in OpenKM
I'm trying to implement encrypt our documents in OpenKM.我正在尝试在 OpenKM 中加密我们的文档。 I used setEncryption method with some cipher text and OpenKM shows me with encrypted icon.
我使用了一些密文的 setEncryption 方法,OpenKM 向我展示了加密的图标。 I'm confused whether its really encrypted or not.
我很困惑它是否真的加密。
How does it work and How can I make sure its really encrypted or not.它是如何工作的,我如何确保它真的加密了。
I found the resolution for my problem.我找到了解决我的问题的方法。 We don't have any option for encryption/decryption in OpenKM via API, though we have option via OpenKM front end tool.
我们没有通过 API 在 OpenKM 中进行加密/解密的任何选项,尽管我们可以通过 OpenKM 前端工具进行选择。
So we should write our own mechanism for encryption/decryption and flag them as encrypted in OpenKM.所以我们应该编写我们自己的加密/解密机制,并在 OpenKM 中将它们标记为加密。 I used Java Cryptographic Extension (JCE) framework and stored the encrypted file in OpenKM by flag it as encrypted and downloaded the file then did decryption
我使用 Java Cryptographic Extension (JCE) 框架并将加密文件存储在 OpenKM 中,将其标记为已加密并下载文件,然后进行解密
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.