ok
Direktori : /usr/lib64/python3.6/site-packages/cryptography/x509/__pycache__/ |
Current File : //usr/lib64/python3.6/site-packages/cryptography/x509/__pycache__/ocsp.cpython-36.pyc |
3 l�_�3 � @ sp d dl mZmZmZ d dlZd dlZd dlmZ d dlZd dl m Z d dlmZ d dl mZmZmZ ej� ej� ej� ej� ej� d�ZG dd � d e�ZG d d� de�Zdd � eD �ZejejejejejfZdd� ZG dd� de�Zdd � eD �Zdd� Zdd� ZG dd� de �Z!G dd� de �Z"G dd� de �Z#ej$ej%�G dd� de ��Z&ej$ej%�G dd � d e ��Z'dS )!� )�absolute_import�division�print_functionN)�Enum)�x509)�hashes)�_EARLIEST_UTC_TIME�_convert_to_naive_utc_time�_reject_duplicate_extension)z 1.3.14.3.2.26z2.16.840.1.101.3.4.2.4z2.16.840.1.101.3.4.2.1z2.16.840.1.101.3.4.2.2z2.16.840.1.101.3.4.2.3c @ s e Zd ZdZdZdS )�OCSPResponderEncodingzBy HashzBy NameN)�__name__� __module__�__qualname__ZHASH�NAME� r r �/usr/lib64/python3.6/ocsp.pyr s r c @ s$ e Zd ZdZdZdZdZdZdZdS )�OCSPResponseStatusr � � � � � N) r r r � SUCCESSFULZMALFORMED_REQUESTZINTERNAL_ERRORZ TRY_LATERZSIG_REQUIREDZUNAUTHORIZEDr r r r r $ s r c C s i | ]}||j �qS r )�value)�.0�xr r r � <dictcomp>- s r c C s t | t�std��d S )Nz9Algorithm must be SHA1, SHA224, SHA256, SHA384, or SHA512)� isinstance�_ALLOWED_HASHES� ValueError)� algorithmr r r �_verify_algorithm7 s r! c @ s e Zd ZdZdZdZdS )�OCSPCertStatusr r r N)r r r ZGOOD�REVOKEDZUNKNOWNr r r r r"