B
    `                 @   sT   d dl Z d dlZd dlmZ G dd deZG dd deZG dd de jd	ZdS )
    N)Enumc               @   s   e Zd ZdZdZdS )LogEntryTyper      N)__name__
__module____qualname__ZX509_CERTIFICATEZPRE_CERTIFICATE r   r   Y/home/dcms/DCMS/lib/python3.7/site-packages/cryptography/x509/certificate_transparency.pyr      s   r   c               @   s   e Zd ZdZdS )Versionr   N)r   r   r   Zv1r   r   r   r	   r
      s   r
   c               @   s^   e Zd ZejedddZejedddZeje	j	dddZ
ejeddd	Zd
S )SignedCertificateTimestamp)returnc             C   s   dS )z*
        Returns the SCT version.
        Nr   )selfr   r   r	   version   s    z"SignedCertificateTimestamp.versionc             C   s   dS )zM
        Returns an identifier indicating which log this SCT is for.
        Nr   )r   r   r   r	   log_id   s    z!SignedCertificateTimestamp.log_idc             C   s   dS )z5
        Returns the timestamp for this SCT.
        Nr   )r   r   r   r	   	timestamp!   s    z$SignedCertificateTimestamp.timestampc             C   s   dS )zV
        Returns whether this is an SCT for a certificate or pre-certificate.
        Nr   )r   r   r   r	   
entry_type'   s    z%SignedCertificateTimestamp.entry_typeN)r   r   r   abcabstractpropertyr
   r   bytesr   datetimer   r   r   r   r   r   r	   r      s   r   )	metaclass)r   r   enumr   r   r
   ABCMetar   r   r   r   r	   <module>   s
   