File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/cryptography/hazmat/primitives/__pycache__/_modes.cpython-310.pyc
Back
o ;j � @ s� d dl mZ d dlZd dlmZ d dlmZmZ d dlm Z m Z G dd� dejd�ZG d d � d eejd�Z G dd� deejd�ZG d d� deejd�ZG dd� deejd�Zd#dd�Zd$dd�Zd%dd �Zd&d!d"�ZdS )'� )�annotationsN)�utils)�UnsupportedAlgorithm�_Reasons)�BlockCipherAlgorithm�CipherAlgorithmc @ s0 e Zd Zeejddd���Zejddd ��Zd S ) �Mode�return�strc C � dS )z@ A string naming this mode (e.g. "ECB", "CBC"). N� ��selfr r �Y/opt/saltstack/salt/lib/python3.10/site-packages/cryptography/hazmat/primitives/_modes.py�name � z Mode.name� algorithmr �Nonec C r )zq Checks that all the necessary invariants of this (mode, algorithm) combination are met. Nr �r r r r r �validate_for_algorithm r zMode.validate_for_algorithmN)r r )r r r r )�__name__� __module__�__qualname__�property�abc�abstractmethodr r r r r r r s r )� metaclassc @ � e Zd Zeejddd���ZdS )�ModeWithInitializationVectorr �utils.Bufferc C r )zP The value of the initialization vector for this mode as bytes. Nr r r r r �initialization_vector"