o
    îRµié  ã                   @   sX   d dl Z d dlZd dlmZ G dd„ dejƒZG dd„ dejƒZG dd„ de jd	�ZdS )
é    N)Úutilsc                   @   s   e Zd ZdZdZdS )ÚLogEntryTyper   é   N)Ú__name__Ú
__module__Ú__qualname__ÚX509_CERTIFICATEÚPRE_CERTIFICATE© r
   r
   úL/usr/lib/python3/dist-packages/cryptography/x509/certificate_transparency.pyr      s    r   c                   @   s   e Zd ZdZdS )ÚVersionr   N)r   r   r   Úv1r
   r
   r
   r   r      s    r   c                   @   s^   e Zd Zejdefdd„ƒZejdefdd„ƒZejde	j	fdd„ƒZ
ejdefdd	„ƒZd
S )ÚSignedCertificateTimestampÚreturnc                 C   ó   dS )z*
        Returns the SCT version.
        Nr
   ©Úselfr
   r
   r   Úversion   ó    z"SignedCertificateTimestamp.versionc                 C   r   )zM
        Returns an identifier indicating which log this SCT is for.
        Nr
   r   r
   r
   r   Úlog_id   r   z!SignedCertificateTimestamp.log_idc                 C   r   )z5
        Returns the timestamp for this SCT.
        Nr
   r   r
   r
   r   Ú	timestamp"   r   z$SignedCertificateTimestamp.timestampc                 C   r   )zV
        Returns whether this is an SCT for a certificate or pre-certificate.
        Nr
   r   r
   r
   r   Ú
entry_type(   r   z%SignedCertificateTimestamp.entry_typeN)r   r   r   ÚabcÚabstractpropertyr   r   Úbytesr   Údatetimer   r   r   r
   r
   r
   r   r      s    r   )Ú	metaclass)	r   r   Úcryptographyr   ÚEnumr   r   ÚABCMetar   r
   r
   r
   r   Ú<module>   s   