kr.motd.maven.sphinx.dist.urllib3.util.ssl_$py.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sphinx-maven-plugin Show documentation
Show all versions of sphinx-maven-plugin Show documentation
Maven plugin that creates the site with Sphinx
???? 1` f$0 R(Lorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject; org/python/core/PyFrame setline (I)V
__future__ java/lang/String absolute_import
org/python/core/imp
importFrom \(Ljava/lang/String;[Ljava/lang/String;Lorg/python/core/PyFrame;I)[Lorg/python/core/PyObject;
setlocal /(Ljava/lang/String;Lorg/python/core/PyObject;)V
errno importOne H(Ljava/lang/String;Lorg/python/core/PyFrame;I)Lorg/python/core/PyObject;
warnings hmac ! binascii # hexlify % unhexlify ' hashlib ) md5 + sha1 - sha256 /
exceptions 1 SSLError 3 InsecurePlatformWarning 5 SNIMissingWarning 7 None 9 getname .(Ljava/lang/String;)Lorg/python/core/PyObject; ; <
=
SSLContext ? False A HAS_SNI C IS_PYOPENSSL E IS_SECURETRANSPORT G org/python/core/PyDictionary I org/python/core/PyObject K org/python/core/Py M
newInteger (I)Lorg/python/core/PyInteger; O P
N Q ([Lorg/python/core/PyObject;)V S T
J U HASHFUNC_MAP W EmptyObjects [Lorg/python/core/PyObject; Y Z N [ org/python/core/PyFunction ] f_globals Lorg/python/core/PyObject; _ ` a _const_compare_digest_backport$1 ?
Compare two digests of equal length in constant time.
The digests must be of type str/bytes.
Returns True if the digests match, and False otherwise.
d org/python/core/PyString f fromInterned .(Ljava/lang/String;)Lorg/python/core/PyString; h i
g j abs l getglobal n <
o len q getlocal (I)Lorg/python/core/PyObject; s t
u __call__ S(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; w x
L y _sub 6(Lorg/python/core/PyObject;)Lorg/python/core/PyObject; { |
L } (ILorg/python/core/PyObject;)V
? zip ? bytearray ? m(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; w ?
L ? __iter__ ()Lorg/python/core/PyObject; ? ?
L ? unpackSequence 8(Lorg/python/core/PyObject;I)[Lorg/python/core/PyObject; ? ?
N ? _xor ? |
L ? _ior ? |
L ? __iternext__ ? ?
L ? _eq ? |
L ? f_lasti I ? ? ? urllib3/util/ssl_$py ? Lorg/python/core/PyCode; c ? ? ? j(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;Lorg/python/core/PyObject;)V S ?
^ ? _const_compare_digest_backport ? getattr ? compare_digest ? ?(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; w ?
L ? _const_compare_digest ? ssl ? wrap_socket ? CERT_NONE ? PROTOCOL_SSLv23 ? setException M(Ljava/lang/Throwable;Lorg/python/core/PyFrame;)Lorg/python/core/PyException; ? ?
N ? ImportError ? org/python/core/PyException ? match (Lorg/python/core/PyObject;)Z ? ?
? ? java/lang/Throwable ? OP_NO_SSLv2 ? OP_NO_SSLv3 ? OP_NO_COMPRESSION ? org/python/core/PyTuple ?
? U : ? join ? __getattr__ ? <
L ? org/python/core/PyList ? TLS13-AES-256-GCM-SHA384 ? TLS13-CHACHA20-POLY1305-SHA256 ? TLS13-AES-128-GCM-SHA256 ? ECDH+AESGCM ?
ECDH+CHACHA20 ? DH+AESGCM ? DH+CHACHA20 ? ECDH+AES256 ? DH+AES256 ? ECDH+AES128 ? DH+AES ?
RSA+AESGCM ? RSA+AES ? !aNULL ? !eNULL ? !MD5 ?
? U DEFAULT_CIPHERS sys object SSLContext$2
__module__ __name__ version_info _le
|
L __nonzero__ ()Z
L _lt |
L supports_set_ciphers
__init__$3 protocol __setattr__
L check_hostname verify_mode! ca_certs# options% certfile' keyfile) ciphers+ 9 ` N- ? ?/ __init__1 load_cert_chain$43 ? ?4 load_cert_chain6 load_verify_locations$5 _isnot9 |
L: -CA directories not supported in older Pythons<
makeException 9(Lorg/python/core/PyObject;)Lorg/python/core/PyException;>?
N@8 ? ?B load_verify_locationsD
set_ciphers$6 __not__G ?
LH TypeErrorJ ?Your version of Python does not support setting a custom cipher suite. Please upgrade to Python 2.7, 3.2, or later if you need this functionality.LF ? ?N set_ciphersP
wrap_socket$7 warnS2A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warningsU cert_reqsW ssl_versionY server_side[
_callextra ~([Lorg/python/core/PyObject;[Ljava/lang/String;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;]^
L_R ? ?a getf_localsc ?
d ? ?f makeClass a(Ljava/lang/String;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;)Lorg/python/core/PyObject;hi
Nj java/util/Arraysl fill (([Ljava/lang/Object;Ljava/lang/Object;)Vno
mp assert_fingerprint$8 ?
Checks if given fingerprint matches the supplied certificate.
:param cert:
Certificate as bytes object.
:param fingerprint:
Fingerprint as string of hexdigits, can be interspersed by colons.
s replaceu w lowery 9(Lorg/python/core/ThreadState;)Lorg/python/core/PyObject; w{
L| get~ "Fingerprint of invalid length: {0}? format? encode? digest? 6Fingerprints did not match. Expected "{0}", got "{1}".?r ? ?? assert_fingerprint? resolve_cert_reqs$9?
Resolves the argument to a numeric constant, which can be passed to
the wrap_socket function/method from the ssl module.
Defaults to :data:`ssl.CERT_NONE`.
If given a string it is assumed to be the name of the constant in the
:mod:`ssl` module or its abbrevation.
(So you can specify `REQUIRED` instead of `CERT_REQUIRED`.
If it's neither `None` nor a string we assume it is already the numeric
constant which can directly be passed to wrap_socket.
? _is? |
L?
isinstance? str? CERT_? _add? |
L?? ? ?? resolve_cert_reqs? resolve_ssl_version$10
like resolve_cert_reqs
? PROTOCOL_?? ? ?? resolve_ssl_version? create_urllib3_context$11?All arguments have the same meaning as ``ssl_wrap_socket``.
By default, this function does a lot of the same work that
``ssl.create_default_context`` does on Python 3.4+. It:
- Disables SSLv2, SSLv3, and compression
- Sets a restricted set of server ciphers
If you wish to enable SSLv3, you can do::
from urllib3.util import ssl_
context = ssl_.create_urllib3_context()
context.options &= ~ssl_.OP_NO_SSLv3
You can do the same to enable compression (substituting ``COMPRESSION``
for ``SSLv3`` in the last line above).
:param ssl_version:
The desired protocol version to use. This will default to
PROTOCOL_SSLv23 which will negotiate the highest protocol that both
the server and your installation of OpenSSL support.
:param cert_reqs:
Whether to require the certificate verification. This defaults to
``ssl.CERT_REQUIRED``.
:param options:
Specific OpenSSL options. These default to ``ssl.OP_NO_SSLv2``,
``ssl.OP_NO_SSLv3``, ``ssl.OP_NO_COMPRESSION``.
:param ciphers:
Which cipher suites to allow the server to select.
:returns:
Constructed SSLContext object with specified options
:rtype: SSLContext
?
CERT_REQUIRED? True?? ? ?? create_urllib3_context? ssl_wrap_socket$12
All arguments except for server_hostname, ssl_context, and ca_cert_dir have
the same meaning as they do when using :func:`ssl.wrap_socket`.
:param server_hostname:
When SNI is supported, the expected hostname of the certificate
:param ssl_context:
A pre-made :class:`SSLContext` object. If none is provided, one will
be created using :func:`create_urllib3_context`.
:param ciphers:
A string of ciphers we wish the client to support. This is not
supported on Python 2.6 as the ssl module does not support it.
:param ca_cert_dir:
A directory containing CA certificates in multiple separate files, as
supported by OpenSSL's -CApath flag or the capath argument to
SSLContext.load_verify_locations().
? g(Lorg/python/core/ThreadState;[Lorg/python/core/PyObject;[Ljava/lang/String;)Lorg/python/core/PyObject; w?
L? IOError? value? ` ?? OSError? ENOENT? ()Lorg/python/core/PyException;>?
N? load_default_certs? server_hostname??An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings?? ? ?? ssl_wrap_socket? (Ljava/lang/String;)V org/python/core/PyFunctionTable? ()V S?
?? self Lurllib3/util/ssl_$py;?? ?? ? newCode ?(I[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZZLorg/python/core/PyFunctionTable;I[Ljava/lang/String;[Ljava/lang/String;II)Lorg/python/core/PyCode;??
N? ? ?? a? b? result? l? r?? protocol_version? cafile? capath? cipher_suite? socket? kwargs? cert? fingerprint?
digest_length? hashfunc fingerprint_bytes cert_digest candidate res context
sock ssl_context ca_cert_dir e getMain ()Lorg/python/core/PyCode; main ([Ljava/lang/String;)V ? S?
?
? org/python/core/CodeLoader createSimpleBootstrap 9(Lorg/python/core/PyCode;)Lorg/python/core/CodeBootstrap;
! runMain 5(Lorg/python/core/CodeBootstrap;[Ljava/lang/String;)V#$
N% getCodeBootstrap !()Lorg/python/core/CodeBootstrap; #org/python/core/PyRunnableBootstrap) )getFilenameConstructorReflectionBootstrap 2(Ljava/lang/Class;)Lorg/python/core/CodeBootstrap;+,
*-
call_function S(ILorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject;
?1 c
?3
?5
?73
?98
?;F
?=R
??r
?A?
?C?
?E?
?G?
?I org/python/core/PyRunnableK Lorg/python/compiler/APIVersion; % Lorg/python/compiler/MTime; `9?? Lorg/python/compiler/Filename; [/home/trustin/Workspaces/sphinx-maven-plugin/target/update-sphinx/dist/urllib3/util/ssl_.py org/python/core/ThreadStateT Z java/lang/ObjectW [Ljava/lang/Object;Y Code LineNumberTable StackMap
SourceFile RuntimeVisibleAnnotations ! ?? L ?? ? c ? ? ? 3 ? 8 ? F ? R ? r ? ? ? ? ? ? ? ? ? [ ? ?+?
? N-S-+? N-2:+? :+? +? N+-? N+? +? N+ -? N+? "+? N+"-? N+? $? N-&S-(S-+? N-2:+&? :-2:+(? :+? *? N-,S-.S-0S-+? N-2:+,? :-2:+.? :-2:+0? :+ ? 2? N-4S-6S-8S-+? N-2:+4? :-2:+6? :-2:+8? :+? +:? >N+@-? N+
? +B? >N+D-? N+? +B? >N+F-? N+? +B? >N+H-? N+? ? JY? LY ? RSY+,? >SY(? RSY+.? >SY@? RSY+0? >S? VN+X-? N+? ? \N? ^Y+? b-? ?e? k? ?N+?-? N+&? +?? >,+"? >?? k+?? >? ?N+?-? N++? ?+? N+?-? N+,? ?? N-?S-?S-?S-+? N-2:+?? :-2:+?? :-2:+?? :+-? ?? N-DS-+? N-2:+D? :? +? ?N-+?? >? Ǚ +/? ? -?+3? ?? N-?S-?S-?S-+? N-2:+?? :-2:+?? :-2:+?? :? ?+? ?N-+?? >? Ǚ n+5? ? ?Y? LYҸ RSYӸ RS? ?:? ?:2:+?? :2:+?? ::+6? ո R:+?? :? -?+G? kٶ ?,? ?Y? LY? kSY? kSY? kSY? kSY? kSY? kSY? kSY? kSY? kSY ? kSY
?? kSY?? kSY?? kSY
?? kSY?? kSY?? kS? ?? zN+-? N+[? ?? N-@S-+? N-2:+@? :? l+? ?N-+?? >? Ǚ X+]? +? :+? :+_? ? L:+? >__S@?g?k:+@? :?q? -?+ ?? ? \N? ^Y+? b-??t? k? ?N+?-? N+ ?? ? \N? ^Y+? b-???? k? ?N+?-? N+ ˶ ? \N? ^Y+? b-???? k? ?N+?-? N+ ۶ ? LN+:? >-__S+:? >-__S+:? >-__S+:? >-__S? ^Y+? b-???? k? ?N+?-? N+? ? LN+:? >-__S+:? >-__S+:? >-__S+:? >-__S+:? >-__S+:? >-__S+:? >-__S+:? >-__S+:? >-__S? ^Y+? b-???? k? ?N+?-? N+? ??.? H?? ??NQ ???? ? \ z
&