ACIL FM
Dark
Refresh
Current DIR:
/usr/lib/python3.9/site-packages/certbot
/
usr
lib
python3.9
site-packages
certbot
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
compat
-
chmod
Open
Rename
Delete
display
-
chmod
Open
Rename
Delete
plugins
-
chmod
Open
Rename
Delete
tests
-
chmod
Open
Rename
Delete
_internal
-
chmod
Open
Rename
Delete
__pycache__
-
chmod
Open
Rename
Delete
achallenges.py
1.98 MB
chmod
View
DL
Edit
Rename
Delete
configuration.py
17.96 MB
chmod
View
DL
Edit
Rename
Delete
crypto_util.py
23.49 MB
chmod
View
DL
Edit
Rename
Delete
errors.py
2.72 MB
chmod
View
DL
Edit
Rename
Delete
interfaces.py
15.22 MB
chmod
View
DL
Edit
Rename
Delete
main.py
535 B
chmod
View
DL
Edit
Rename
Delete
ocsp.py
15.1 MB
chmod
View
DL
Edit
Rename
Delete
py.typed
0 B
chmod
View
DL
Edit
Rename
Delete
reverter.py
21.5 MB
chmod
View
DL
Edit
Rename
Delete
ssl-dhparams.pem
424 B
chmod
View
DL
Edit
Rename
Delete
util.py
25.27 MB
chmod
View
DL
Edit
Rename
Delete
__init__.py
113 B
chmod
View
DL
Edit
Rename
Delete
Edit file: /usr/lib/python3.9/site-packages/certbot/achallenges.py
"""Client annotated ACME challenges. Please use names such as ``achall`` to distinguish from variables "of type" :class:`acme.challenges.Challenge` (denoted by ``chall``) and :class:`.ChallengeBody` (denoted by ``challb``):: from acme import challenges from acme import messages from certbot import achallenges chall = challenges.DNS(token='foo') challb = messages.ChallengeBody(chall=chall) achall = achallenges.DNS(chall=challb, domain='example.com') Note, that all annotated challenges act as a proxy objects:: achall.token == challb.token """ import logging from typing import Any from typing import Type import josepy as jose from acme import challenges from acme.challenges import Challenge logger = logging.getLogger(__name__) class AnnotatedChallenge(jose.ImmutableMap): """Client annotated challenge. Wraps around server provided challenge and annotates with data useful for the client. :ivar ~.challb: Wrapped `~.ChallengeBody`. """ __slots__ = ('challb',) _acme_type: Type[Challenge] = NotImplemented def __getattr__(self, name: str) -> Any: return getattr(self.challb, name) class KeyAuthorizationAnnotatedChallenge(AnnotatedChallenge): """Client annotated `KeyAuthorizationChallenge` challenge.""" __slots__ = ('challb', 'domain', 'account_key') # pylint: disable=redefined-slots-in-subclass def response_and_validation(self, *args: Any, **kwargs: Any) -> Any: """Generate response and validation.""" return self.challb.chall.response_and_validation( self.account_key, *args, **kwargs) class DNS(AnnotatedChallenge): """Client annotated "dns" ACME challenge.""" __slots__ = ('challb', 'domain') # pylint: disable=redefined-slots-in-subclass acme_type = challenges.DNS class Other(AnnotatedChallenge): """Client annotated ACME challenge of an unknown type.""" __slots__ = ('challb', 'domain') # pylint: disable=redefined-slots-in-subclass acme_type = challenges.Challenge
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply