/ d dl mZ d dlZd dlZd dlmZ d dlmZ d dl m
Z
G d dej Z G d d ej Z
G d
dej Z G d d
ej Ze ej dS ) )annotationsN)utils)x509)
HashAlgorithmc e Zd ZdZdZdS )LogEntryTyper N)__name__
__module____qualname__X509_CERTIFICATEPRE_CERTIFICATE ~/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib64/python3.11/site-packages/cryptography/x509/certificate_transparency.pyr r s OOOr r c e Zd ZdZdS )Versionr N)r
r r v1r r r r r s
BBBr r c " e Zd ZdZdZdZdZdZdS )SignatureAlgorithmz
Signature algorithms that are valid for SCTs.
These are exactly the same as SignatureAlgorithm in RFC 5246 (TLS 1.2).
See:
r r N)r
r r __doc__ ANONYMOUSRSADSAECDSAr r r r r s. I
C
C
EEEr r c e Zd Zeej dd Zeej dd Zeej dd Zeej dd Z eej dd Z
eej dd
Zeej dd Zeej dd Z
dS )SignedCertificateTimestampreturnr c dS )z*
Returns the SCT version.
Nr selfs r versionz"SignedCertificateTimestamp.version( r bytesc dS )zM
Returns an identifier indicating which log this SCT is for.
Nr r" s r log_idz!SignedCertificateTimestamp.log_id/ r% r datetime.datetimec dS )z5
Returns the timestamp for this SCT.
Nr r" s r timestampz$SignedCertificateTimestamp.timestamp6 r% r r c dS )zV
Returns whether this is an SCT for a certificate or pre-certificate.
Nr r" s r
entry_typez%SignedCertificateTimestamp.entry_type= r% r r c dS )zJ
Returns the hash algorithm used for the SCT's signature.
Nr r" s r signature_hash_algorithmz3SignedCertificateTimestamp.signature_hash_algorithmD r% r r c dS )zM
Returns the signing algorithm used for the SCT's signature.
Nr r" s r signature_algorithmz.SignedCertificateTimestamp.signature_algorithmK r% r c dS )z5
Returns the signature for this SCT.
Nr r" s r signaturez$SignedCertificateTimestamp.signatureR r% r c dS )zG
Returns the raw bytes of any extensions for this SCT.
Nr r" s r extension_bytesz*SignedCertificateTimestamp.extension_bytesY r% r N)r r )r r&