OXIESEC PANEL
- Current Dir:
/
/
snap
/
core24
/
988
/
usr
/
lib
/
python3
/
dist-packages
/
cryptography
/
hazmat
/
backends
/
openssl
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/04/2025 04:37:50 PM
rwxr-xr-x
📄
__init__.py
305 bytes
05/27/2024 07:18:06 AM
rw-r--r--
📁
__pycache__
-
05/04/2025 04:37:50 PM
rwxr-xr-x
📄
aead.py
15.59 KB
05/27/2024 07:18:06 AM
rw-r--r--
📄
backend.py
71.96 KB
05/27/2024 07:18:06 AM
rw-r--r--
📄
ciphers.py
10.12 KB
05/27/2024 07:18:06 AM
rw-r--r--
📄
cmac.py
2.96 KB
05/27/2024 07:18:06 AM
rw-r--r--
📄
decode_asn1.py
1.12 KB
05/27/2024 07:18:06 AM
rw-r--r--
📄
ec.py
11.21 KB
05/27/2024 07:18:06 AM
rw-r--r--
📄
rsa.py
21.31 KB
05/27/2024 07:18:06 AM
rw-r--r--
📄
utils.py
2.14 KB
05/27/2024 07:18:06 AM
rw-r--r--
Editing: decode_asn1.py
Close
# This file is dual licensed under the terms of the Apache License, Version # 2.0, and the BSD License. See the LICENSE file in the root of this repository # for complete details. from __future__ import annotations from cryptography import x509 # CRLReason ::= ENUMERATED { # unspecified (0), # keyCompromise (1), # cACompromise (2), # affiliationChanged (3), # superseded (4), # cessationOfOperation (5), # certificateHold (6), # -- value 7 is not used # removeFromCRL (8), # privilegeWithdrawn (9), # aACompromise (10) } _CRL_ENTRY_REASON_ENUM_TO_CODE = { x509.ReasonFlags.unspecified: 0, x509.ReasonFlags.key_compromise: 1, x509.ReasonFlags.ca_compromise: 2, x509.ReasonFlags.affiliation_changed: 3, x509.ReasonFlags.superseded: 4, x509.ReasonFlags.cessation_of_operation: 5, x509.ReasonFlags.certificate_hold: 6, x509.ReasonFlags.remove_from_crl: 8, x509.ReasonFlags.privilege_withdrawn: 9, x509.ReasonFlags.aa_compromise: 10, }