Skip to main content

Python implementation of the RFC3161 specification, using pyasn1

Project description


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('', 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 <> Michael Gebetsroither <>



  • use dateutil to parse genTime
  • fix bad instantiation of UTF8String in PKIFreeText
  • use tox and py.test

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

rfc3161-1.0.7.tar.gz (11.3 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page