File: gpgme_types.py

package info (click to toggle)
gajim-openpgp 1.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 160 kB
  • sloc: python: 1,487; sh: 29; xml: 11; makefile: 2
file content (70 lines) | stat: -rw-r--r-- 1,229 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
from __future__ import annotations

from typing import Any


class UID:
    address: Any | None
    comment: str
    email: str
    invalid: int
    last_update: int
    name: str
    origin: int
    revoked: int
    signatures: list[Any]
    thisown: bool
    tofu: list[Any]
    uid: str
    uidhash: str
    validity: int


class SubKey:
    can_authenticate: int
    can_certify: int
    can_encrypt: int
    can_sign: int
    card_number: Any | None
    curve: Any | None
    disabled: int
    expired: int
    expires: int
    fpr: str
    invalid: int
    is_cardkey: int
    is_de_vs: int
    is_qualified: int
    keygrip: Any | None
    keyid: str
    length: int
    pubkey_algo: int
    revoked: int
    secret: int
    thisown: bool
    timestamp: int


class Key:
    can_authenticate: int
    can_certify: int
    can_encrypt: int
    can_sign: int
    chain_id: Any | None
    disabled: int
    expired: int
    fpr: str
    invalid: int
    is_qualified: int
    issuer_name: str | None
    issuer_serial: str | None
    keylist_mode: int
    last_update: int
    origin: int
    owner_trust: int
    protocol: int
    revoked: int
    secret: int
    subkeys: list[SubKey]
    thisown: bool
    uids: list[UID]