Timestamp server rfc3161 response token generation

2019-04-12 11:49发布

I'm trying to implement tsa server on python using twisted. Currently I'm using openssl binary to generate response, but this seems ugly to me, that's why I'm trying to figure out how to make response token with m2crypto.

Thanks in advance for help!

Maris.

EDITED:

how to achieve with m2crypto?:

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

2条回答
SAY GOODBYE
2楼-- · 2019-04-12 12:21

M2Crypto does not yet wrap those pieces of openssl, so you can't use M2Crypto for what you are using the openssl command line client for.

查看更多
别忘想泡老子
3楼-- · 2019-04-12 12:37

You may be also interested in PyASN1 project, however, I should admit there's no adequate library to implement RFC3161 functionality in Python today. I would look towards Perl instead.

查看更多
登录 后发表回答