var/opt/nydus/ops/oscrypto/__pycache__/errors.cpython-38.pyc000064400000005671147205523670020163 0ustar00U aðfxã @säddlmZmZmZmZddlZddlZddddddd d d g ZGd d„deƒZ Gd d„deƒZ Gdd„deƒZ Gdd„de ƒZ Gdd„deƒZ Gdd„dejƒZGdd„deƒZGdd „d eƒZGdd „d eƒZGdd „d eƒZdS)é)Úunicode_literalsÚdivisionÚabsolute_importÚprint_functionNÚAsymmetricKeyErrorÚ CACertsErrorÚLibraryNotFoundErrorÚSignatureErrorÚTLSErrorÚTLSConnectionErrorÚTLSDisconnectErrorÚTLSGracefulDisconnectErrorÚTLSVerificationErrorc@seZdZdZdS)rz; An exception when trying to find a shared library N©Ú__name__Ú __module__Ú __qualname__Ú__doc__©rrú@/opt/nydus/tmp/pip-target-53d1vnqk/lib/python/oscrypto/errors.pyrsc@seZdZdZdS)r z2 An exception when validating a signature Nrrrrrr sc@seZdZdZdS)rz; An exception when a key is invalid or unsupported Nrrrrrr'sc@seZdZdZdS)ÚIncompleteAsymmetricKeyErrorzB An exception when a key is missing necessary information Nrrrrrr0src@seZdZdZdS)rzF An exception when exporting CA certs from the OS trust store Nrrrrrr9sc@s,eZdZdZdZdd„Zdd„Zdd„ZdS) r z3 An exception related to TLS functionality NcCs|f|_||_dS©N)ÚargsÚmessage)ÚselfrrrrÚ__init__JszTLSError.__init__cCs | ¡}tjdkr| d¡}|S)N)ézutf-8)Ú __unicode__ÚsysÚ version_infoÚencode)rÚoutputrrrÚ__str__Ns  zTLSError.__str__cCs|jSr)r)rrrrrTszTLSError.__unicode__)rrrrrrr"rrrrrr Bs c@s eZdZdS)r N©rrrrrrrr Xsc@s eZdZdS)r Nr#rrrrr \sc@s eZdZdS)r Nr#rrrrr `sc@seZdZdZdZdd„ZdS)rzQ A server certificate verification error happened during a TLS handshake NcCs t ||¡||_||f|_dSr)r rÚ certificater)rrr$rrrrls zTLSVerificationError.__init__)rrrrr$rrrrrrds)Ú __future__rrrrrÚsocketÚ__all__Ú Exceptionrr rrrÚerrorr r r r rrrrrÚs,÷