python - Python 中的时间戳服务器 rfc3161 响应 token 生成

标签 python m2crypto trusted-timestamp timestamping rfc3161

我正在尝试使用 twisted 在 python 上实现 tsa 服务器。目前我正在使用 openssl 二进制文件生成响应,但这对我来说似乎很难看,这就是为什么我试图弄清楚如何使用 m2crypto 制作响应 token 。

在此先感谢您的帮助!

马里斯。

已编辑:

如何用m2crypto实现?:

openssl ts -reply -section tsa_config1 -queryfile query.tsq -out response.tsr

最佳答案

M2Crypto 还没有包装 openssl 的那些部分,因此您不能将 M2Crypto 用于您使用 openssl 命令行客户端的目的。

关于python - Python 中的时间戳服务器 rfc3161 响应 token 生成,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2858282/

相关文章:

python - 按索引列的条件过滤 pandas Dataframe 中的值

Python 输入干扰 SimpleXMLRPCServer

java到python的转换: x509/dsa/sha1withdsa crypto howto?

python - M2crypto 签名 "algorithm"

python - 使用 M2Crypto 验证签名消息以获得自签名证书

powershell - 如何防止每 1 年或 2 年需要重新签署我的代码?

python - 如何将图像添加到我的博客文章中?

c++ - Cython 中的抽象类(带有纯虚方法)

windows-vista - 设置(个人)可执行文件/代码时间戳服务需要什么?