Python implementation of the RFC3161 specification, using pyasn1
Project description
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')
('...', '')
>>> rt.check(_, data='John Doe')
(True, '')
>>> rfc3161.get_timestamp(tst)
datetime.datetime(2014, 4, 25, 9, 34, 16)
Changelog
1.0.7
use dateutil to parse genTime
fix bad instantiation of UTF8String in PKIFreeText
use tox and py.test
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rfc3161-1.0.7.tar.gz
(11.3 kB
view details)
File details
Details for the file rfc3161-1.0.7.tar.gz.
File metadata
- Download URL: rfc3161-1.0.7.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ba2e2065671ce2be72d2a55cf08f1a043c90f4b22215343c4c730f27fa7dac9
|
|
| MD5 |
ce4678564f40d259927b1572ec6f315b
|
|
| BLAKE2b-256 |
5e28938f5bb48c2fe07759a06f70688d67b41521a7f068c83783386d0d735870
|