⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.51
Server IP:
13.127.59.50
Server:
Linux ip-172-31-46-210 5.15.0-1033-aws #37~20.04.1-Ubuntu SMP Fri Mar 17 11:39:30 UTC 2023 x86_64
Server Software:
Apache/2.4.41 (Ubuntu)
PHP Version:
7.4.3-4ubuntu2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3
/
dist-packages
/
cryptography
/
x509
/
View File Name :
certificate_transparency.py
# 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 absolute_import, division, print_function import abc from enum import Enum import six class LogEntryType(Enum): X509_CERTIFICATE = 0 PRE_CERTIFICATE = 1 class Version(Enum): v1 = 0 @six.add_metaclass(abc.ABCMeta) class SignedCertificateTimestamp(object): @abc.abstractproperty def version(self): """ Returns the SCT version. """ @abc.abstractproperty def log_id(self): """ Returns an identifier indicating which log this SCT is for. """ @abc.abstractproperty def timestamp(self): """ Returns the timestamp for this SCT. """ @abc.abstractproperty def entry_type(self): """ Returns whether this is an SCT for a certificate or pre-certificate. """