summaryrefslogtreecommitdiffstats
path: root/scripts/external_libs/scapy-python3-0.18/scapy/crypto/__init__.py
blob: b441863e820e6711a0aeaa73e46cc9222a261937 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
## This file is part of Scapy
## See http://www.secdev.org/projects/scapy for more informations
## Copyright (C) Arnaud Ebalard <arno@natisbad.org>
## This program is published under a GPLv2 license

"""
Tools for handling with digital certificates.
"""

try:
    import Crypto
except ImportError:
    import logging
    log_loading = logging.getLogger("scapy.loading")
    log_loading.info("Can't import python Crypto lib. Disabled certificate manipulation tools")
else:
    from scapy.crypto.cert import *