File: __init__.py

package info (click to toggle)
python-rfc3161ng 2.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 200 kB
  • sloc: python: 597; makefile: 3
file content (33 lines) | stat: -rw-r--r-- 1,183 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
from .types import (
    TimeStampReq, MessageImprint, PKIFreeText, PKIStatus, PKIFailureInfo,
    PKIStatusInfo, TimeStampResp, Accuracy, AnotherName, GeneralName,
    TimeStampToken, TSTInfo,
)
from .constants import (
    id_kp_timeStamping, id_sha1, id_sha256, id_sha384,
    id_sha512, id_ct_TSTInfo, oid_to_hash,
)
from .api import (
    RemoteTimestamper, check_timestamp, get_hash_oid,
    TimestampingError, get_timestamp, make_timestamp_request,
    encode_timestamp_request, encode_timestamp_response,
    decode_timestamp_request, decode_timestamp_response,
)

__all__ = (
    'VERSION',

    'TimeStampReq', 'MessageImprint', 'PKIFreeText', 'PKIStatus', 'PKIFailureInfo',
    'PKIStatusInfo', 'TimeStampResp', 'Accuracy', 'AnotherName', 'GeneralName',
    'TimeStampToken', 'TSTInfo',

    'id_kp_timeStamping', 'id_sha1', 'id_sha256', 'id_sha384',
    'id_sha512', 'id_ct_TSTInfo', 'oid_to_hash',

    'RemoteTimestamper', 'check_timestamp', 'get_hash_oid',
    'TimestampingError', 'get_timestamp', 'make_timestamp_request',
    'encode_timestamp_request', 'encode_timestamp_response',
    'decode_timestamp_request', 'decode_timestamp_response',
)

VERSION = '2.1.3'