Revize 4ec8e4ae
Přidáno uživatelem Michal Seják před téměř 4 roky(ů)
src/model/certificate.py | ||
---|---|---|
6 | 6 |
|
7 | 7 |
def __init__(self, |
8 | 8 |
certificate_id: int, |
9 |
valid_from: str,
|
|
10 |
valid_to: str,
|
|
9 |
valid_from: int,
|
|
10 |
valid_to: int,
|
|
11 | 11 |
pem_data: str, |
12 | 12 |
type_id: int, |
13 | 13 |
parent_id: int, |
... | ... | |
20 | 20 |
organization: str = None, |
21 | 21 |
organizational_unit: str = None, |
22 | 22 |
email_address: str = None, |
23 |
revocation_date: str = None,
|
|
23 |
revocation_date: int = None,
|
|
24 | 24 |
revocation_reason: str = None): |
25 | 25 |
self.certificate_id: int = certificate_id |
26 |
self.valid_from: str = valid_from
|
|
27 |
self.valid_to: str = valid_to
|
|
26 |
self.valid_from: int = valid_from
|
|
27 |
self.valid_to: int = valid_to
|
|
28 | 28 |
self.pem_data: str = pem_data |
29 | 29 |
self.type_id: int = type_id |
30 | 30 |
self.parent_id: int = parent_id |
... | ... | |
36 | 36 |
self.organization: str = organization |
37 | 37 |
self.organizational_unit: str = organizational_unit |
38 | 38 |
self.email_address: str = email_address |
39 |
self.revocation_date: str = revocation_date
|
|
39 |
self.revocation_date: int = revocation_date
|
|
40 | 40 |
self.revocation_reason: str = revocation_reason |
41 | 41 |
self.usages: Dict[int, bool] = DICT_USAGES.copy() |
42 | 42 |
|
Také k dispozici: Unified diff
Re #8652 - Certificate date types updated (str -> int)