一个用于验证 RFC3161 时间戳签名的库
Project description
libts
一个用于验证 RFC3161 时间戳签名的库
example
from libts import libts_ctx
ctx = libts_ctx()
ctx.load_system_ca()
code = ctx.ts_verify("example.txt", "example.txt.tsr")
print(ctx.format_return_code(code))
print(ctx.get_last_gentime_utc_formatted())
print(ctx.get_last_gentime_bj_formatted())
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
libts-0.0.1.tar.gz
(3.8 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
libts-0.0.1-py3-none-any.whl
(3.8 MB
view details)
File details
Details for the file libts-0.0.1.tar.gz.
File metadata
- Download URL: libts-0.0.1.tar.gz
- Upload date:
- Size: 3.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93745352f8a075fc36a104e479161e2f592aaad9815d169c468f2a7035a8ebd0
|
|
| MD5 |
4fa1d50d9cd6213ecede58fd09bad3f0
|
|
| BLAKE2b-256 |
187cccce84559342ab45cb4338cc360bd7972a196fc2a307493d5fdd9c7b343a
|
File details
Details for the file libts-0.0.1-py3-none-any.whl.
File metadata
- Download URL: libts-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
598629fea3a1d833aa7f90f0cb1e22c32ef95c8a624d72cdbeace385af92eb2c
|
|
| MD5 |
df6b87a8e7a0a204a57345a9a492705e
|
|
| BLAKE2b-256 |
b5a807d7b352b15c09c3f58da3f5ece3d97eb33caaabd520e031524c66560ade
|