跳转到主要内容

使用pyasn1实现的RFC3161规范Python实现。

项目描述

rfc3161

实现RFC3161协议的加密时间戳服务的简单客户端库。

>>> import rfc3161
>>> certificate = file('data/certum_certificate.crt').read()
>>> rt = rfc3161.RemoteTimestamper('http://time.certum.pl', certificate=certificate)
>>> rt.timestamp(data='John Doe')
('...', '')
>>> rt.check(_, data='John Doe')
(True, '')
>>> rfc3161.get_timestamp(tst)
datetime.datetime(2014, 4, 25, 9, 34, 16)

作者

Benjamin Dauvergne <bdauvergne@entrouvert.com> Michael Gebetsroither <michael@mgeb.org>

变更日志

1.0.7

  • 使用dateutil解析genTime

  • 修复PKIFreeText中UTF8String的实例化问题

  • 使用tox和py.test

项目详情


下载文件

下载适合您平台的文件。如果您不确定要选择哪个,请了解有关安装包的更多信息。

源分布

rfc3161-1.0.7.tar.gz (11.3 kB 查看哈希)

上传时间:

由以下支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误记录 StatusPage StatusPage 状态页面