File: constants.py

package info (click to toggle)
python-pyhanko-certvalidator 0.26.3-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,956 kB
  • sloc: python: 9,254; sh: 47; makefile: 4
file content (25 lines) | stat: -rw-r--r-- 567 bytes parent folder | download | duplicates (2)
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
KNOWN_CRL_EXTENSIONS = {
    'issuer_alt_name',
    'crl_number',
    'delta_crl_indicator',
    'issuing_distribution_point',
    'authority_key_identifier',
    'freshest_crl',
    'authority_information_access',
}
VALID_REVOCATION_REASONS = {
    'key_compromise',
    'ca_compromise',
    'affiliation_changed',
    'superseded',
    'cessation_of_operation',
    'certificate_hold',
    'privilege_withdrawn',
    'aa_compromise',
}
KNOWN_CRL_ENTRY_EXTENSIONS = {
    'crl_reason',
    'hold_instruction_code',
    'invalidity_date',
    'certificate_issuer',
}