Python implementation of the RFC3161 specification, using pyasn1
Project description
A simple client library for cryptographic timestamping service implementing the protocol from RFC3161.
This started as a fork of https://dev.entrouvert.org/projects/python-rfc3161 and has some additional patches such as Python3 support.
Example
>>> import rfc3161ng >>> certificate = open('data/certum_certificate.crt', 'rb').read() >>> rt = rfc3161ng.RemoteTimestamper('http://time.certum.pl', certificate=certificate) >>> tst = rt.timestamp(data=b'John Doe') >>> rt.check(tst, data=b'John Doe') True >>> rfc3161ng.get_timestamp(tst) datetime.datetime(2017, 8, 31, 15, 42, 58, tzinfo=tzutc())
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rfc3161ng-2.0.2.tar.gz
(14.4 kB
view details)
Built Distribution
File details
Details for the file rfc3161ng-2.0.2.tar.gz
.
File metadata
- Download URL: rfc3161ng-2.0.2.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b73627b2223f67e8d666487f8ec5b71e94e8000a327b2365b633b115396171b2 |
|
MD5 | f7fe2c386d11610b6ecdb4d098add4e8 |
|
BLAKE2b-256 | 4c1c5c02ebe3b747e88ab4ec73b3ff2e95dba557d5e19d428e3ae6710f4cc9ab |
File details
Details for the file rfc3161ng-2.0.2-py2-none-any.whl
.
File metadata
- Download URL: rfc3161ng-2.0.2-py2-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a67320aec2e2c929886ab4aaa35081a1b8bc300d7cfc3ec3a8b7ec4ca2d1cbc |
|
MD5 | 0c39b9671b49e5a0b0d9d73160782691 |
|
BLAKE2b-256 | 27d9d1f9c7abd5a185a667fe5b1cff7e250b93f144f9f538541ac238486bd89f |