| Server IP : 162.241.203.86 / Your IP : 216.73.216.183 Web Server : Apache System : Linux br1002.hostgator.com.br 5.14.0-687.36.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 7 05:40:49 EDT 2026 x86_64 User : luxlic01 ( 6532) PHP Version : 8.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/oci/encryption/__pycache__/ |
Upload File : |
a
���f� � @ s0 d dl mZmZ d dlmZ G dd� de�ZdS )� )�
algorithms�modes)�Enumc @ s2 e Zd ZdZdejejdddddfZd dd�Z dS )
� AlgorithmzS
Represents an Algorithm that can be used to encrypt and decrypt payloads.
r � � � Nc C s4 || _ || _|| _|| _|| _|| _|| _|| _dS )a6
:param bytes id: (required)
Identifier for this algorithm used in serialization
:param cryptography.hazmat.primitives.ciphers.CipherAlgorithm algorithm: (required)
Encryption algorithm to use.
:param cryptography.hazmat.primitives.ciphers.modes.Mode mode: (required)
Mode to use.
:param int key_len: (required)
Length of the key (in bytes).
:param int iv_len: (required)
Length of the initialization vector (in bytes).
:param int tag_len: (optional)
Length of the authentication tag (in bytes), if applicable.
:param cryptography.hazmat.primitives.padding padding: (optional)
Padding to use.
:param int block_size: (optional)
Size of each block.
N)�id� algorithm�mode�key_len�iv_len�tag_len�padding�
block_size) �selfr r
r r r
r r r � r �=/usr/lib/python3.9/site-packages/oci/encryption/algorithms.py�__init__ s $zAlgorithm.__init__)NNN)
�__name__�
__module__�__qualname__�__doc__r ZAESr ZGCMZAES_256_GCM_IV12_TAG16r r r r r r
s � �r N)Z&cryptography.hazmat.primitives.ciphersr r �enumr r r r r r �<module> s