This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
2014-04-25 11:55:24 +02:00
|
|
|
rfc3161
|
|
|
|
=======
|
|
|
|
|
|
|
|
A simple client library for cryptographic timestamping service implementing the
|
|
|
|
protocol from RFC3161.
|
|
|
|
|
|
|
|
>>> import rfc3161
|
|
|
|
>>> certificate = file('data/certum_certificate.crt').read()
|
|
|
|
>>> rt = rfc3161.RemoteTimestamper('http://time.certum.pl', certificate=certificate)
|
|
|
|
>>> rt.timestamp(data='John Doe')
|
|
|
|
('...', '')
|
2014-05-16 12:13:02 +02:00
|
|
|
>>> rt.check(_, data='John Doe')
|
2014-04-25 11:55:24 +02:00
|
|
|
(True, '')
|
|
|
|
>>> rfc3161.get_timestamp(tst)
|
|
|
|
datetime.datetime(2014, 4, 25, 9, 34, 16)
|
|
|
|
|
|
|
|
Authors
|
|
|
|
=======
|
|
|
|
|
|
|
|
Benjamin Dauvergne <bdauvergne@entrouvert.com>
|
|
|
|
Michael Gebetsroither <michael@mgeb.org>
|
2016-03-23 10:47:50 +01:00
|
|
|
|
|
|
|
Changelog
|
|
|
|
=========
|
|
|
|
|
|
|
|
1.0.7
|
|
|
|
-----
|
|
|
|
|
|
|
|
- use dateutil to parse genTime
|
|
|
|
- fix bad instantiation of UTF8String in PKIFreeText
|
|
|
|
- use tox and py.test
|