Source code for zlogging.enum.SSL

# -*- coding: utf-8 -*-
# pylint: disable=line-too-long,import-error
"""Namespace: ``SSL``."""

from zlogging._compat import enum


[docs]@enum.unique class SctSource(enum.IntFlag): """Enum: ``SSL::SctSource``. List of the different sources for Signed Certificate Timestamp. See Also: `policy/protocols/ssl/validate-sct.zeek <https://docs.zeek.org/en/stable/scripts/policy/protocols/ssl/validate-sct.zeek.html#type-SSL::SctSource>`__ """ _ignore_ = 'SctSource _' SctSource = vars() #: Signed Certificate Timestamp was encountered in the extension of #: an X.509 certificate. SctSource['SCT_X509_EXT'] = enum.auto() #: Signed Certificate Timestamp was encountered in an TLS session #: extension. SctSource['SCT_TLS_EXT'] = enum.auto() #: Signed Certificate Timestamp was encountered in the extension of #: an stapled OCSP reply. SctSource['SCT_OCSP_EXT'] = enum.auto()