Module ImportFrom alias alias alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad Str Str Str Str Str FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad Num body Break Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call Call AttributeLoad NameLoad attr keyword NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad orelse Assign NameStore Call Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Slice Num NameLoad NameLoad Return Num decorator_list Call NameLoad Str keyword Str keyword Num FunctionDef arguments args defaults body Return Num decorator_list Call NameLoad Str keyword Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If UnaryOpNot Call NameLoad NameLoad NameLoad body AugAssignBitOr NameStore Call NameLoad NameLoad For NameStore Call NameLoad NameLoad body If CompareNotIn NameLoad NameLoad body Expr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad NameLoad attr CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad AttributeLoad NameLoad attr CompareNotEq NameLoad AttributeLoad AttributeLoad NameLoad attr attr TryFinally body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr CompareEq NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr CompareEq NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr CompareEq NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareNotEq NameLoad Num body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr CompareEq AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad AttributeLoad NameLoad attr attr finalbody Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr CompareEq NameLoad Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body With AttributeLoad NameLoad attr body If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body With AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Str keyword Str Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call NameLoad Str If CompareNotEq Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Return Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If BinOpBitAnd NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr orelse If BinOpBitAnd NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr orelse Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareLt NameLoad Num body If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad NameLoad attr Str NameLoad orelse Raise Call NameLoad Str orelse If CompareLt NameLoad Num body Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr
N/A __future__ absolute_import division print_function N/A collections N/A os N/A threading N/A types N/A warnings cryptography.exceptions InternalError cryptography.hazmat.bindings._openssl ffi lib cryptography.hazmat.bindings.openssl._conditional CONDITIONAL_NAMES N/A _OpenSSLError N/A N/A collections namedtuple _OpenSSLError N/A code lib func reason N/A _OpenSSLErrorWithText N/A N/A collections namedtuple _OpenSSLErrorWithText N/A code lib func reason reason_text _consume_errors N/A N/A lib N/A N/A N/A errors N/A N/A True N/A N/A code N/A N/A lib ERR_get_error N/A N/A code 0 N/A N/A N/A err_lib N/A N/A lib ERR_GET_LIB code N/A err_func N/A N/A lib ERR_GET_FUNC code N/A err_reason N/A N/A lib ERR_GET_REASON code N/A N/A N/A errors append N/A _OpenSSLError code err_lib err_func err_reason N/A errors N/A _openssl_assert N/A N/A lib ok N/A N/A N/A N/A ok N/A N/A errors N/A _consume_errors lib N/A errors_with_text N/A N/A err errors N/A N/A err_text_reason N/A N/A ffi string N/A N/A lib ERR_error_string N/A err code N/A ffi NULL N/A N/A N/A errors_with_text append N/A _OpenSSLErrorWithText N/A err code N/A err lib N/A err func N/A err reason err_text_reason N/A N/A InternalError N/A N/A Unknown OpenSSL error. This error is commonly encountered when another library is not cleaning up the OpenSSL error stack. If you are using cryptography with another library that uses OpenSSL try disabling it before reporting a bug. Otherwise please file an issue at https://github.com/pyca/cryptography/issues with information on how to reproduce this. ({0!r}) format errors_with_text errors_with_text N/A ffi_callback N/A N/A signature name N/A kwargs N/A N/A Callback dispatcher

    The ffi_callback() dispatcher keeps callbacks compatible between dynamic
    and static callbacks.
     wrapper N/A N/A func N/A N/A N/A N/A lib Cryptography_STATIC_CALLBACKS N/A N/A N/A N/A N/A ffi def_extern name name kwargs func N/A callback N/A getattr lib name N/A N/A callback N/A N/A N/A ffi callback signature kwargs func N/A callback N/A N/A wrapper N/A _osrandom_rand_bytes N/A N/A buf size N/A N/A N/A signed N/A N/A ffi cast char * buf N/A result N/A N/A os urandom size N/A N/A signed N/A 0 size result N/A 1 N/A N/A ffi_callback int (*)(unsigned char *, int) name Cryptography_rand_bytes error -1 _osrandom_rand_status N/A N/A N/A N/A N/A 1 N/A N/A ffi_callback int (*)(void) name Cryptography_rand_status build_conditional_library N/A N/A lib conditional_names N/A N/A N/A conditional_lib N/A N/A types ModuleType lib N/A excluded_names N/A set N/A N/A condition names N/A N/A conditional_names items N/A N/A N/A N/A getattr lib condition N/A N/A excluded_names N/A set names N/A attr N/A dir lib N/A N/A N/A attr excluded_names N/A N/A N/A setattr conditional_lib attr N/A getattr lib attr N/A conditional_lib N/A Binding N/A object N/A N/A 
    OpenSSL API wrapper.
     N/A lib None N/A ffi ffi N/A _lib_loaded False N/A _locks None N/A _lock_cb_handle None N/A _init_lock N/A N/A threading Lock N/A _lock_init_lock N/A N/A threading Lock N/A _osrandom_engine_id N/A N/A ffi new const char[] osrandom N/A _osrandom_engine_name N/A N/A ffi new const char[] osrandom_engine N/A _osrandom_method N/A N/A ffi new RAND_METHOD * N/A dict bytes _osrandom_rand_bytes pseudorand _osrandom_rand_bytes status _osrandom_rand_status __init__ N/A N/A self N/A N/A N/A N/A N/A self _ensure_ffi_initialized N/A _register_osrandom_engine N/A N/A cls N/A N/A N/A N/A _openssl_assert N/A cls lib N/A N/A N/A N/A cls lib ERR_peek_error 0 N/A engine N/A N/A N/A cls lib ENGINE_new N/A N/A _openssl_assert N/A cls lib N/A engine N/A N/A cls ffi NULL N/A N/A N/A result N/A N/A N/A cls lib ENGINE_set_id engine N/A cls _osrandom_engine_id N/A N/A _openssl_assert N/A cls lib N/A result 1 N/A result N/A N/A N/A cls lib ENGINE_set_name engine N/A cls _osrandom_engine_name N/A N/A _openssl_assert N/A cls lib N/A result 1 N/A result N/A N/A N/A cls lib ENGINE_set_RAND engine N/A cls _osrandom_method N/A N/A _openssl_assert N/A cls lib N/A result 1 N/A result N/A N/A N/A cls lib ENGINE_add engine N/A N/A result 1 N/A N/A errors N/A _consume_errors N/A cls lib N/A N/A _openssl_assert N/A cls lib N/A N/A N/A errors N/A 0 reason N/A N/A cls lib ENGINE_R_CONFLICTING_ENGINE_ID N/A N/A result N/A N/A N/A cls lib ENGINE_free engine N/A N/A _openssl_assert N/A cls lib N/A result 1 N/A classmethod _ensure_ffi_initialized N/A N/A cls N/A N/A N/A N/A cls _init_lock N/A N/A N/A N/A cls _lib_loaded N/A N/A N/A cls lib N/A build_conditional_library lib CONDITIONAL_NAMES N/A N/A cls _lib_loaded True N/A N/A N/A N/A cls lib SSL_library_init N/A N/A N/A N/A cls lib OpenSSL_add_all_algorithms N/A N/A N/A N/A cls lib SSL_load_error_strings N/A N/A N/A cls _register_osrandom_engine N/A classmethod init_static_locks N/A N/A cls N/A N/A N/A N/A cls _lock_init_lock N/A N/A N/A N/A cls _ensure_ffi_initialized N/A N/A N/A cls _lock_cb_handle N/A N/A wrapper N/A ffi_callback void(int, int, const char *, int) name Cryptography_locking_cb N/A N/A cls _lock_cb_handle N/A wrapper N/A cls _lock_cb N/A N/A __import__ _ssl N/A N/A N/A N/A N/A cls lib CRYPTO_get_locking_callback N/A N/A cls ffi NULL N/A N/A N/A num_locks N/A N/A N/A cls lib CRYPTO_num_locks N/A N/A cls _locks N/A N/A N/A threading Lock N/A n N/A range num_locks N/A N/A N/A N/A cls lib CRYPTO_set_locking_callback N/A cls _lock_cb_handle N/A classmethod _lock_cb N/A N/A cls mode n file line N/A N/A N/A lock N/A N/A cls _locks N/A n N/A N/A mode N/A N/A cls lib CRYPTO_LOCK N/A N/A N/A N/A lock acquire N/A N/A N/A mode N/A N/A cls lib CRYPTO_UNLOCK N/A N/A N/A N/A lock release N/A N/A N/A RuntimeError N/A N/A Unknown lock mode {0}: lock={1}, file={2}, line={3}. format mode n file line N/A classmethod N/A _verify_openssl_version N/A N/A version N/A N/A N/A N/A version 268435456 N/A N/A N/A N/A N/A os environ get CRYPTOGRAPHY_ALLOW_OPENSSL_098 N/A N/A N/A N/A warnings warn OpenSSL version 0.9.8 is no longer supported by the OpenSSL project, please upgrade. The next version of cryptography will completely remove support for it. DeprecationWarning N/A N/A N/A RuntimeError You are linking against OpenSSL 0.9.8, which is no longer support by the OpenSSL project. You need to upgrade to a newer version of OpenSSL. N/A N/A N/A version 268439552 N/A N/A N/A N/A warnings warn OpenSSL versions less than 1.0.1 are no longer supported by the OpenSSL project, please upgrade. A future version of cryptography will drop support for these versions of OpenSSL. DeprecationWarning N/A N/A N/A N/A Binding init_static_locks N/A N/A _verify_openssl_version N/A N/A N/A Binding lib SSLeay