1## This file is part of Scapy
2## See http://www.secdev.org/projects/scapy for more informations
3## Copyright (C) Arnaud Ebalard <arno@natisbad.org>
4## This program is published under a GPLv2 license
5
6"""
7Tools for handling with digital certificates.
8"""
9
10try:
11    import Crypto
12except ImportError:
13    import logging
14    log_loading = logging.getLogger("scapy.loading")
15    log_loading.info("Can't import python Crypto lib. Disabled certificate manipulation tools")
16else:
17    from scapy.crypto.cert import *
18