o
    bi                     @  sZ  d dl mZ dAddZdAddZdAdd	ZdAd
dZdAddZdAddZdAddZdAddZ	dAddZ
dAddZdAddZdAddZdAddZdAddZdAd d!ZdAd"d#ZdAd$d%ZdAd&d'ZdAd(d)ZdAd*d+ZdAd,d-Zi d.ed/ed0ed1ed2ed3ed4ed5e	d6e
d7ed8ed9ed:ed;ed<ed=ed>eeeeed?Zd@S )B    )annotationsreturn	list[str]c                   C     ddgS )NZSSL_CTX_set_cert_cbZSSL_set_cert_cb r   r   r   k/home/kim/smarthome/.venv/lib/python3.10/site-packages/cryptography/hazmat/bindings/openssl/_conditional.pycryptography_has_set_cert_cb      r   c                   C     g dS )N)ZSSL_ST_BEFOREZ	SSL_ST_OKZSSL_ST_INITZSSL_ST_RENEGOTIATEr   r   r   r   r   cryptography_has_ssl_st      r   c                   C  r   )NZTLS_ST_BEFOREZ	TLS_ST_OKr   r   r   r   r   cryptography_has_tls_st   r	   r   c                   C     dgS )NZSSL_CTX_set1_sigalgs_listr   r   r   r   r   cryptography_has_ssl_sigalgs      r   c                   C  r
   )N)ZSSL_CTX_use_psk_identity_hintZSSL_CTX_set_psk_server_callbackZSSL_CTX_set_psk_client_callbackr   r   r   r   r   cryptography_has_psk%   r   r   c                   C  r
   )N)Z%SSL_CTX_set_psk_find_session_callbackZ$SSL_CTX_set_psk_use_session_callbackZCryptography_SSL_SESSION_newZSSL_CIPHER_findZSSL_SESSION_set1_master_keyZSSL_SESSION_set_cipherZ SSL_SESSION_set_protocol_versionr   r   r   r   r   cryptography_has_psk_tlsv13-   r   r   c                   C  r
   )N)ZSSL_CTX_add_client_custom_extZSSL_CTX_add_server_custom_extZSSL_extension_supportedr   r   r   r   r   cryptography_has_custom_ext9   r   r   c                   C  r   )NZSSL_CTX_set_ciphersuitesr   r   r   r   r   !cryptography_has_tlsv13_functionsA   r   r   c                   C  r
   )N)ZSSL_VERIFY_POST_HANDSHAKE SSL_verify_client_post_handshakeZSSL_CTX_set_post_handshake_authZSSL_set_post_handshake_authZSSL_SESSION_get_max_early_dataZSSL_write_early_dataZSSL_read_early_dataZSSL_CTX_set_max_early_datar   r   r   r   r   $cryptography_has_tlsv13_hs_functionsG   r   r   c                   C  r   )Nr   r   r   r   r   r   1cryptography_has_ssl_verify_client_post_handshakeT   r   r   c                   C  r
   )N)ZENGINE_by_idZENGINE_initZENGINE_finishZENGINE_get_default_RANDZENGINE_set_default_RANDZENGINE_unregister_RANDZENGINE_ctrl_cmdZENGINE_freeZENGINE_get_nameZENGINE_ctrl_cmd_stringZENGINE_load_builtin_enginesZENGINE_load_private_keyZENGINE_load_public_keyZSSL_CTX_set_client_cert_enginer   r   r   r   r   cryptography_has_engineZ   r   r   c                   C  r   )NZSSL_get0_verified_chainr   r   r   r   r   cryptography_has_verified_chainm   r   r   c                   C  r
   )N)ZSSL_CTX_set_tlsext_use_srtpZSSL_set_tlsext_use_srtpZSSL_get_selected_srtp_profiler   r   r   r   r   cryptography_has_srtps   r   r   c                   C  r   )NZSSL_OP_NO_RENEGOTIATIONr   r   r   r   r   $cryptography_has_op_no_renegotiation{   r   r   c                   C  r   )NZDTLS_get_data_mtur   r   r   r   r   "cryptography_has_dtls_get_data_mtu   r   r   c                   C  r
   )N)ZSSL_OP_COOKIE_EXCHANGEZDTLSv1_listenZSSL_CTX_set_cookie_generate_cbZSSL_CTX_set_cookie_verify_cbr   r   r   r   r   cryptography_has_ssl_cookie   r   r   c                   C  r   )NZBN_prime_checks_for_sizer   r   r   r   r   cryptography_has_prime_checks   r   r   c                   C  r   )NZ"SSL_R_UNEXPECTED_EOF_WHILE_READINGr   r   r   r   r   -cryptography_has_unexpected_eof_while_reading      r   c                   C  r   )NZSSL_OP_IGNORE_UNEXPECTED_EOFr   r   r   r   r   -cryptography_has_ssl_op_ignore_unexpected_eof   r   r!   c                   C  r   )NZSSL_get_extms_supportr   r   r   r   r   "cryptography_has_get_extms_support   r    r"   c                   C  r   )NZSSL_get0_group_namer   r   r   r   r   $cryptography_has_ssl_get0_group_name   r    r#   ZCryptography_HAS_SET_CERT_CBZCryptography_HAS_SSL_STZCryptography_HAS_TLS_STZCryptography_HAS_SIGALGSZCryptography_HAS_PSKZCryptography_HAS_PSK_TLSv1_3ZCryptography_HAS_CUSTOM_EXTZ"Cryptography_HAS_TLSv1_3_FUNCTIONSZ%Cryptography_HAS_TLSv1_3_HS_FUNCTIONSZ1Cryptography_HAS_SSL_VERIFY_CLIENT_POST_HANDSHAKEZCryptography_HAS_ENGINEZCryptography_HAS_VERIFIED_CHAINZCryptography_HAS_SRTPZ$Cryptography_HAS_OP_NO_RENEGOTIATIONZ"Cryptography_HAS_DTLS_GET_DATA_MTUZCryptography_HAS_SSL_COOKIEZCryptography_HAS_PRIME_CHECKS)Z-Cryptography_HAS_UNEXPECTED_EOF_WHILE_READINGZ-Cryptography_HAS_SSL_OP_IGNORE_UNEXPECTED_EOFZ"Cryptography_HAS_GET_EXTMS_SUPPORTZ$Cryptography_HAS_SSL_GET0_GROUP_NAMEN)r   r   )
__future__r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r!   r"   r#   ZCONDITIONAL_NAMESr   r   r   r   <module>   s   


	













	



		