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.4.tar.gz
(15.0 kB
view details)
Built Distribution
File details
Details for the file rfc3161ng-2.0.4.tar.gz
.
File metadata
- Download URL: rfc3161ng-2.0.4.tar.gz
- Upload date:
- Size: 15.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0499be0a6b32a5c4949a64de2b34824897c100303d3e5dbd675f2bb694f216ad |
|
MD5 | c0c22a7763c6a21a0e3bac5803cdc909 |
|
BLAKE2b-256 | 57add24a6d180b321afb90fe04b738062a57b582e3bb5f38ea9c32d9da5e71ae |
File details
Details for the file rfc3161ng-2.0.4-py2.py3-none-any.whl
.
File metadata
- Download URL: rfc3161ng-2.0.4-py2.py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc16c928e42266b379257f205ca528584be23a3f0a3b761a4ca280c272c057c6 |
|
MD5 | 46bda9c7daf7d9e4d4d716a0b66681e9 |
|
BLAKE2b-256 | 319c91fce4fd891d94b213036b90a937ced59c56596f27857b4833baeb30f4bf |