Lines Matching refs:NativeCrypto
18 * Native glue for Java class org.conscrypt.NativeCrypto
30 #define LOG_TAG "NativeCrypto"
6480 * (6) a NativeCrypto.SSLHandshakeCallbacks instance for callbacks from native to Java
9565 #define SSL_CALLBACKS "L" TO_STRING(JNI_JARJAR_PREFIX) "org/conscrypt/NativeCrypto$SSLHandshakeCallbacks;"
9567 NATIVE_METHOD(NativeCrypto, clinit, "()V"),
9568 NATIVE_METHOD(NativeCrypto, ENGINE_load_dynamic, "()V"),
9569 NATIVE_METHOD(NativeCrypto, ENGINE_by_id, "(Ljava/lang/String;)J"),
9570 NATIVE_METHOD(NativeCrypto, ENGINE_add, "(J)I"),
9571 NATIVE_METHOD(NativeCrypto, ENGINE_init, "(J)I"),
9572 NATIVE_METHOD(NativeCrypto, ENGINE_finish, "(J)I"),
9573 NATIVE_METHOD(NativeCrypto, ENGINE_free, "(J)I"),
9574 NATIVE_METHOD(NativeCrypto, ENGINE_load_private_key, "(JLjava/lang/String;)J"),
9575 NATIVE_METHOD(NativeCrypto, ENGINE_get_id, "(J)Ljava/lang/String;"),
9576 NATIVE_METHOD(NativeCrypto, ENGINE_ctrl_cmd_string, "(JLjava/lang/String;Ljava/lang/String;I)I"),
9577 NATIVE_METHOD(NativeCrypto, EVP_PKEY_new_DH, "([B[B[B[B)J"),
9578 NATIVE_METHOD(NativeCrypto, EVP_PKEY_new_DSA, "([B[B[B[B[B)J"),
9579 NATIVE_METHOD(NativeCrypto, EVP_PKEY_new_RSA, "([B[B[B[B[B[B[B[B)J"),
9580 NATIVE_METHOD(NativeCrypto, EVP_PKEY_new_EC_KEY, "(JJ[B)J"),
9581 NATIVE_METHOD(NativeCrypto, EVP_PKEY_new_mac_key, "(I[B)J"),
9582 NATIVE_METHOD(NativeCrypto, EVP_PKEY_type, "(J)I"),
9583 NATIVE_METHOD(NativeCrypto, EVP_PKEY_size, "(J)I"),
9584 NATIVE_METHOD(NativeCrypto, EVP_PKEY_print_public, "(J)Ljava/lang/String;"),
9585 NATIVE_METHOD(NativeCrypto, EVP_PKEY_print_private, "(J)Ljava/lang/String;"),
9586 NATIVE_METHOD(NativeCrypto, EVP_PKEY_free, "(J)V"),
9587 NATIVE_METHOD(NativeCrypto, EVP_PKEY_cmp, "(JJ)I"),
9588 NATIVE_METHOD(NativeCrypto, i2d_PKCS8_PRIV_KEY_INFO, "(J)[B"),
9589 NATIVE_METHOD(NativeCrypto, d2i_PKCS8_PRIV_KEY_INFO, "([B)J"),
9590 NATIVE_METHOD(NativeCrypto, i2d_PUBKEY, "(J)[B"),
9591 NATIVE_METHOD(NativeCrypto, d2i_PUBKEY, "([B)J"),
9592 NATIVE_METHOD(NativeCrypto, getRSAPrivateKeyWrapper, "(Ljava/security/interfaces/RSAPrivateKey;[B)J"),
9593 NATIVE_METHOD(NativeCrypto, getDSAPrivateKeyWrapper, "(Ljava/security/interfaces/DSAPrivateKey;)J"),
9594 NATIVE_METHOD(NativeCrypto, getECPrivateKeyWrapper, "(Ljava/security/interfaces/ECPrivateKey;J)J"),
9595 NATIVE_METHOD(NativeCrypto, RSA_generate_key_ex, "(I[B)J"),
9596 NATIVE_METHOD(NativeCrypto, RSA_size, "(J)I"),
9597 NATIVE_METHOD(NativeCrypto, RSA_private_encrypt, "(I[B[BJI)I"),
9598 NATIVE_METHOD(NativeCrypto, RSA_public_decrypt, "(I[B[BJI)I"),
9599 NATIVE_METHOD(NativeCrypto, RSA_public_encrypt, "(I[B[BJI)I"),
9600 NATIVE_METHOD(NativeCrypto, RSA_private_decrypt, "(I[B[BJI)I"),
9601 NATIVE_METHOD(NativeCrypto, get_RSA_private_params, "(J)[[B"),
9602 NATIVE_METHOD(NativeCrypto, get_RSA_public_params, "(J)[[B"),
9603 NATIVE_METHOD(NativeCrypto, DSA_generate_key, "(I[B[B[B[B)J"),
9604 NATIVE_METHOD(NativeCrypto, get_DSA_params, "(J)[[B"),
9605 NATIVE_METHOD(NativeCrypto, set_DSA_flag_nonce_from_hash, "(J)V"),
9606 NATIVE_METHOD(NativeCrypto, DH_generate_parameters_ex, "(IJ)J"),
9607 NATIVE_METHOD(NativeCrypto, DH_generate_key, "(J)V"),
9608 NATIVE_METHOD(NativeCrypto, get_DH_params, "(J)[[B"),
9609 NATIVE_METHOD(NativeCrypto, EC_GROUP_new_by_curve_name, "(Ljava/lang/String;)J"),
9610 NATIVE_METHOD(NativeCrypto, EC_GROUP_new_curve, "(I[B[B[B)J"),
9611 NATIVE_METHOD(NativeCrypto, EC_GROUP_dup, "(J)J"),
9612 NATIVE_METHOD(NativeCrypto, EC_GROUP_set_asn1_flag, "(JI)V"),
9613 NATIVE_METHOD(NativeCrypto, EC_GROUP_set_point_conversion_form, "(JI)V"),
9614 NATIVE_METHOD(NativeCrypto, EC_GROUP_get_curve_name, "(J)Ljava/lang/String;"),
9615 NATIVE_METHOD(NativeCrypto, EC_GROUP_get_curve, "(J)[[B"),
9616 NATIVE_METHOD(NativeCrypto, EC_GROUP_get_order, "(J)[B"),
9617 NATIVE_METHOD(NativeCrypto, EC_GROUP_get_degree, "(J)I"),
9618 NATIVE_METHOD(NativeCrypto, EC_GROUP_get_cofactor, "(J)[B"),
9619 NATIVE_METHOD(NativeCrypto, EC_GROUP_clear_free, "(J)V"),
9620 NATIVE_METHOD(NativeCrypto, EC_GROUP_cmp, "(JJ)Z"),
9621 NATIVE_METHOD(NativeCrypto, EC_GROUP_get_generator, "(J)J"),
9622 NATIVE_METHOD(NativeCrypto, EC_GROUP_set_generator, "(JJ[B[B)V"),
9623 NATIVE_METHOD(NativeCrypto, get_EC_GROUP_type, "(J)I"),
9624 NATIVE_METHOD(NativeCrypto, EC_POINT_new, "(J)J"),
9625 NATIVE_METHOD(NativeCrypto, EC_POINT_clear_free, "(J)V"),
9626 NATIVE_METHOD(NativeCrypto, EC_POINT_cmp, "(JJJ)Z"),
9627 NATIVE_METHOD(NativeCrypto, EC_POINT_set_affine_coordinates, "(JJ[B[B)V"),
9628 NATIVE_METHOD(NativeCrypto, EC_POINT_get_affine_coordinates, "(JJ)[[B"),
9629 NATIVE_METHOD(NativeCrypto, EC_KEY_generate_key, "(J)J"),
9630 NATIVE_METHOD(NativeCrypto, EC_KEY_get0_group, "(J)J"),
9631 NATIVE_METHOD(NativeCrypto, EC_KEY_get_private_key, "(J)[B"),
9632 NATIVE_METHOD(NativeCrypto, EC_KEY_get_public_key, "(J)J"),
9633 NATIVE_METHOD(NativeCrypto, EC_KEY_set_nonce_from_hash, "(JZ)V"),
9634 NATIVE_METHOD(NativeCrypto, ECDH_compute_key, "([BIJJ)I"),
9635 NATIVE_METHOD(NativeCrypto, EVP_MD_CTX_create, "()J"),
9636 NATIVE_METHOD(NativeCrypto, EVP_MD_CTX_init, "(L" TO_STRING(JNI_JARJAR_PREFIX) "org/conscrypt/OpenSSLDigestContext;)V"),
9637 NATIVE_METHOD(NativeCrypto, EVP_MD_CTX_destroy, "(J)V"),
9638 NATIVE_METHOD(NativeCrypto, EVP_MD_CTX_copy, "(L" TO_STRING(JNI_JARJAR_PREFIX) "org/conscrypt/OpenSSLDigestContext;L" TO_STRING(JNI_JARJAR_PREFIX) "org/conscrypt/OpenSSLDigestContext;)I"),
9639 NATIVE_METHOD(NativeCrypto, EVP_DigestInit, "(L" TO_STRING(JNI_JARJAR_PREFIX) "org/conscrypt/OpenSSLDigestContext;J)I"),
9640 NATIVE_METHOD(NativeCrypto, EVP_DigestUpdate, "(L" TO_STRING(JNI_JARJAR_PREFIX) "org/conscrypt/OpenSSLDigestContext;[BII)V"),
9641 NATIVE_METHOD(NativeCrypto, EVP_DigestFinal, "(L" TO_STRING(JNI_JARJAR_PREFIX) "org/conscrypt/OpenSSLDigestContext;[BI)I"),
9642 NATIVE_METHOD(NativeCrypto, EVP_get_digestbyname, "(Ljava/lang/String;)J"),
9643 NATIVE_METHOD(NativeCrypto, EVP_MD_block_size, "(J)I"),
9644 NATIVE_METHOD(NativeCrypto, EVP_MD_size, "(J)I"),
9645 NATIVE_METHOD(NativeCrypto, EVP_SignInit, "(L" TO_STRING(JNI_JARJAR_PREFIX) "org/conscrypt/OpenSSLDigestContext;J)I"),
9646 NATIVE_METHOD(NativeCrypto, EVP_SignUpdate, "(L" TO_STRING(JNI_JARJAR_PREFIX) "org/conscrypt/OpenSSLDigestContext;[BII)V"),
9647 NATIVE_METHOD(NativeCrypto, EVP_SignFinal, "(L" TO_STRING(JNI_JARJAR_PREFIX) "org/conscrypt/OpenSSLDigestContext;[BIJ)I"),
9648 NATIVE_METHOD(NativeCrypto, EVP_VerifyInit, "(L" TO_STRING(JNI_JARJAR_PREFIX) "org/conscrypt/OpenSSLDigestContext;J)I"),
9649 NATIVE_METHOD(NativeCrypto, EVP_VerifyUpdate, "(L" TO_STRING(JNI_JARJAR_PREFIX) "org/conscrypt/OpenSSLDigestContext;[BII)V"),
9650 NATIVE_METHOD(NativeCrypto, EVP_VerifyFinal, "(L" TO_STRING(JNI_JARJAR_PREFIX) "org/conscrypt/OpenSSLDigestContext;[BIIJ)I"),
9651 NATIVE_METHOD(NativeCrypto, EVP_DigestSignInit, "(L" TO_STRING(JNI_JARJAR_PREFIX) "org/conscrypt/OpenSSLDigestContext;JJ)V"),
9652 NATIVE_METHOD(NativeCrypto, EVP_DigestSignUpdate, "(L" TO_STRING(JNI_JARJAR_PREFIX) "org/conscrypt/OpenSSLDigestContext;[B)V"),
9653 NATIVE_METHOD(NativeCrypto, EVP_DigestSignFinal, "(L" TO_STRING(JNI_JARJAR_PREFIX) "org/conscrypt/OpenSSLDigestContext;)[B"),
9654 NATIVE_METHOD(NativeCrypto, EVP_get_cipherbyname, "(Ljava/lang/String;)J"),
9655 NATIVE_METHOD(NativeCrypto, EVP_CipherInit_ex, "(JJ[B[BZ)V"),
9656 NATIVE_METHOD(NativeCrypto, EVP_CipherUpdate, "(J[BI[BII)I"),
9657 NATIVE_METHOD(NativeCrypto, EVP_CipherFinal_ex, "(J[BI)I"),
9658 NATIVE_METHOD(NativeCrypto, EVP_CIPHER_iv_length, "(J)I"),
9659 NATIVE_METHOD(NativeCrypto, EVP_CIPHER_CTX_new, "()J"),
9660 NATIVE_METHOD(NativeCrypto, EVP_CIPHER_CTX_block_size, "(J)I"),
9661 NATIVE_METHOD(NativeCrypto, get_EVP_CIPHER_CTX_buf_len, "(J)I"),
9662 NATIVE_METHOD(NativeCrypto, EVP_CIPHER_CTX_set_padding, "(JZ)V"),
9663 NATIVE_METHOD(NativeCrypto, EVP_CIPHER_CTX_set_key_length, "(JI)V"),
9664 NATIVE_METHOD(NativeCrypto, EVP_CIPHER_CTX_free, "(J)V"),
9665 NATIVE_METHOD(NativeCrypto, RAND_seed, "([B)V"),
9666 NATIVE_METHOD(NativeCrypto, RAND_load_file, "(Ljava/lang/String;J)I"),
9667 NATIVE_METHOD(NativeCrypto, RAND_bytes, "([B)V"),
9668 NATIVE_METHOD(NativeCrypto, OBJ_txt2nid, "(Ljava/lang/String;)I"),
9669 NATIVE_METHOD(NativeCrypto, OBJ_txt2nid_longName, "(Ljava/lang/String;)Ljava/lang/String;"),
9670 NATIVE_METHOD(NativeCrypto, OBJ_txt2nid_oid, "(Ljava/lang/String;)Ljava/lang/String;"),
9671 NATIVE_METHOD(NativeCrypto, create_BIO_InputStream, ("(L" TO_STRING(JNI_JARJAR_PREFIX) "org/conscrypt/OpenSSLBIOInputStream;)J")),
9672 NATIVE_METHOD(NativeCrypto, create_BIO_OutputStream, "(Ljava/io/OutputStream;)J"),
9673 NATIVE_METHOD(NativeCrypto, BIO_read, "(J[B)I"),
9674 NATIVE_METHOD(NativeCrypto, BIO_write, "(J[BII)V"),
9675 NATIVE_METHOD(NativeCrypto, BIO_free_all, "(J)V"),
9676 NATIVE_METHOD(NativeCrypto, X509_NAME_print_ex, "(JJ)Ljava/lang/String;"),
9677 NATIVE_METHOD(NativeCrypto, d2i_X509_bio, "(J)J"),
9678 NATIVE_METHOD(NativeCrypto, d2i_X509, "([B)J"),
9679 NATIVE_METHOD(NativeCrypto, i2d_X509, "(J)[B"),
9680 NATIVE_METHOD(NativeCrypto, i2d_X509_PUBKEY, "(J)[B"),
9681 NATIVE_METHOD(NativeCrypto, PEM_read_bio_X509, "(J)J"),
9682 NATIVE_METHOD(NativeCrypto, PEM_read_bio_PKCS7, "(JI)[J"),
9683 NATIVE_METHOD(NativeCrypto, d2i_PKCS7_bio, "(JI)[J"),
9684 NATIVE_METHOD(NativeCrypto, i2d_PKCS7, "([J)[B"),
9685 NATIVE_METHOD(NativeCrypto, ASN1_seq_unpack_X509_bio, "(J)[J"),
9686 NATIVE_METHOD(NativeCrypto, ASN1_seq_pack_X509, "([J)[B"),
9687 NATIVE_METHOD(NativeCrypto, X509_free, "(J)V"),
9688 NATIVE_METHOD(NativeCrypto, X509_cmp, "(JJ)I"),
9689 NATIVE_METHOD(NativeCrypto, get_X509_hashCode, "(J)I"),
9690 NATIVE_METHOD(NativeCrypto, X509_print_ex, "(JJJJ)V"),
9691 NATIVE_METHOD(NativeCrypto, X509_get_pubkey, "(J)J"),
9692 NATIVE_METHOD(NativeCrypto, X509_get_issuer_name, "(J)[B"),
9693 NATIVE_METHOD(NativeCrypto, X509_get_subject_name, "(J)[B"),
9694 NATIVE_METHOD(NativeCrypto, get_X509_pubkey_oid, "(J)Ljava/lang/String;"),
9695 NATIVE_METHOD(NativeCrypto, get_X509_sig_alg_oid, "(J)Ljava/lang/String;"),
9696 NATIVE_METHOD(NativeCrypto, get_X509_sig_alg_parameter, "(J)[B"),
9697 NATIVE_METHOD(NativeCrypto, get_X509_issuerUID, "(J)[Z"),
9698 NATIVE_METHOD(NativeCrypto, get_X509_subjectUID, "(J)[Z"),
9699 NATIVE_METHOD(NativeCrypto, get_X509_ex_kusage, "(J)[Z"),
9700 NATIVE_METHOD(NativeCrypto, get_X509_ex_xkusage, "(J)[Ljava/lang/String;"),
9701 NATIVE_METHOD(NativeCrypto, get_X509_ex_pathlen, "(J)I"),
9702 NATIVE_METHOD(NativeCrypto, X509_get_ext_oid, "(JLjava/lang/String;)[B"),
9703 NATIVE_METHOD(NativeCrypto, X509_CRL_get_ext_oid, "(JLjava/lang/String;)[B"),
9704 NATIVE_METHOD(NativeCrypto, get_X509_CRL_crl_enc, "(J)[B"),
9705 NATIVE_METHOD(NativeCrypto, X509_CRL_verify, "(JJ)V"),
9706 NATIVE_METHOD(NativeCrypto, X509_CRL_get_lastUpdate, "(J)J"),
9707 NATIVE_METHOD(NativeCrypto, X509_CRL_get_nextUpdate, "(J)J"),
9708 NATIVE_METHOD(NativeCrypto, X509_REVOKED_get_ext_oid, "(JLjava/lang/String;)[B"),
9709 NATIVE_METHOD(NativeCrypto, X509_REVOKED_get_serialNumber, "(J)[B"),
9710 NATIVE_METHOD(NativeCrypto, X509_REVOKED_print, "(JJ)V"),
9711 NATIVE_METHOD(NativeCrypto, get_X509_REVOKED_revocationDate, "(J)J"),
9712 NATIVE_METHOD(NativeCrypto, get_X509_ext_oids, "(JI)[Ljava/lang/String;"),
9713 NATIVE_METHOD(NativeCrypto, get_X509_CRL_ext_oids, "(JI)[Ljava/lang/String;"),
9714 NATIVE_METHOD(NativeCrypto, get_X509_REVOKED_ext_oids, "(JI)[Ljava/lang/String;"),
9715 NATIVE_METHOD(NativeCrypto, get_X509_GENERAL_NAME_stack, "(JI)[[Ljava/lang/Object;"),
9716 NATIVE_METHOD(NativeCrypto, X509_get_notBefore, "(J)J"),
9717 NATIVE_METHOD(NativeCrypto, X509_get_notAfter, "(J)J"),
9718 NATIVE_METHOD(NativeCrypto, X509_get_version, "(J)J"),
9719 NATIVE_METHOD(NativeCrypto
9720 NATIVE_METHOD(NativeCrypto, X509_verify, "(JJ)V"),
9721 NATIVE_METHOD(NativeCrypto, get_X509_cert_info_enc, "(J)[B"),
9722 NATIVE_METHOD(NativeCrypto, get_X509_signature, "(J)[B"),
9723 NATIVE_METHOD(NativeCrypto, get_X509_CRL_signature, "(J)[B"),
9724 NATIVE_METHOD(NativeCrypto, get_X509_ex_flags, "(J)I"),
9725 NATIVE_METHOD(NativeCrypto, X509_check_issued, "(JJ)I"),
9726 NATIVE_METHOD(NativeCrypto, d2i_X509_CRL_bio, "(J)J"),
9727 NATIVE_METHOD(NativeCrypto, PEM_read_bio_X509_CRL, "(J)J"),
9728 NATIVE_METHOD(NativeCrypto, X509_CRL_get0_by_cert, "(JJ)J"),
9729 NATIVE_METHOD(NativeCrypto, X509_CRL_get0_by_serial, "(J[B)J"),
9730 NATIVE_METHOD(NativeCrypto, X509_CRL_get_REVOKED, "(J)[J"),
9731 NATIVE_METHOD(NativeCrypto, i2d_X509_CRL, "(J)[B"),
9732 NATIVE_METHOD(NativeCrypto, X509_CRL_free, "(J)V"),
9733 NATIVE_METHOD(NativeCrypto, X509_CRL_print, "(JJ)V"),
9734 NATIVE_METHOD(NativeCrypto, get_X509_CRL_sig_alg_oid, "(J)Ljava/lang/String;"),
9735 NATIVE_METHOD(NativeCrypto, get_X509_CRL_sig_alg_parameter, "(J)[B"),
9736 NATIVE_METHOD(NativeCrypto, X509_CRL_get_issuer_name, "(J)[B"),
9737 NATIVE_METHOD(NativeCrypto, X509_CRL_get_version, "(J)J"),
9738 NATIVE_METHOD(NativeCrypto, X509_CRL_get_ext, "(JLjava/lang/String;)J"),
9739 NATIVE_METHOD(NativeCrypto, X509_REVOKED_get_ext, "(JLjava/lang/String;)J"),
9740 NATIVE_METHOD(NativeCrypto, X509_REVOKED_dup, "(J)J"),
9741 NATIVE_METHOD(NativeCrypto, i2d_X509_REVOKED, "(J)[B"),
9742 NATIVE_METHOD(NativeCrypto, X509_supported_extension, "(J)I"),
9743 NATIVE_METHOD(NativeCrypto, ASN1_TIME_to_Calendar, "(JLjava/util/Calendar;)V"),
9744 NATIVE_METHOD(NativeCrypto, SSL_CTX_new, "()J"),
9745 NATIVE_METHOD(NativeCrypto, SSL_CTX_free, "(J)V"),
9746 NATIVE_METHOD(NativeCrypto, SSL_CTX_set_session_id_context, "(J[B)V"),
9747 NATIVE_METHOD(NativeCrypto, SSL_new, "(J)J"),
9748 NATIVE_METHOD(NativeCrypto, SSL_enable_tls_channel_id, "(J)V"),
9749 NATIVE_METHOD(NativeCrypto, SSL_get_tls_channel_id, "(J)[B"),
9750 NATIVE_METHOD(NativeCrypto, SSL_set1_tls_channel_id, "(JJ)V"),
9751 NATIVE_METHOD(NativeCrypto, SSL_use_PrivateKey, "(JJ)V"),
9752 NATIVE_METHOD(NativeCrypto, SSL_use_certificate, "(J[J)V"),
9753 NATIVE_METHOD(NativeCrypto, SSL_check_private_key, "(J)V"),
9754 NATIVE_METHOD(NativeCrypto, SSL_set_client_CA_list, "(J[[B)V"),
9755 NATIVE_METHOD(NativeCrypto, SSL_get_mode, "(J)J"),
9756 NATIVE_METHOD(NativeCrypto, SSL_set_mode, "(JJ)J"),
9757 NATIVE_METHOD(NativeCrypto, SSL_clear_mode, "(JJ)J"),
9758 NATIVE_METHOD(NativeCrypto, SSL_get_options, "(J)J"),
9759 NATIVE_METHOD(NativeCrypto, SSL_set_options, "(JJ)J"),
9760 NATIVE_METHOD(NativeCrypto, SSL_clear_options, "(JJ)J"),
9761 NATIVE_METHOD(NativeCrypto, SSL_use_psk_identity_hint, "(JLjava/lang/String;)V"),
9762 NATIVE_METHOD(NativeCrypto, set_SSL_psk_client_callback_enabled, "(JZ)V"),
9763 NATIVE_METHOD(NativeCrypto, set_SSL_psk_server_callback_enabled, "(JZ)V"),
9764 NATIVE_METHOD(NativeCrypto, SSL_set_cipher_lists, "(J[Ljava/lang/String;)V"),
9765 NATIVE_METHOD(NativeCrypto, SSL_get_ciphers, "(J)[J"),
9766 NATIVE_METHOD(NativeCrypto, get_SSL_CIPHER_algorithm_auth, "(J)I"),
9767 NATIVE_METHOD(NativeCrypto, get_SSL_CIPHER_algorithm_mkey, "(J)I"),
9768 NATIVE_METHOD(NativeCrypto, SSL_set_accept_state, "(J)V"),
9769 NATIVE_METHOD(NativeCrypto, SSL_set_connect_state, "(J)V"),
9770 NATIVE_METHOD(NativeCrypto, SSL_set_verify, "(JI)V"),
9771 NATIVE_METHOD(NativeCrypto, SSL_set_session, "(JJ)V"),
9772 NATIVE_METHOD(NativeCrypto, SSL_set_session_creation_enabled, "(JZ)V"),
9773 NATIVE_METHOD(NativeCrypto, SSL_set_tlsext_host_name, "(JLjava/lang/String;)V"),
9774 NATIVE_METHOD(NativeCrypto, SSL_get_servername, "(J)Ljava/lang/String;"),
9775 NATIVE_METHOD(NativeCrypto, SSL_do_handshake, "(J" FILE_DESCRIPTOR SSL_CALLBACKS "IZ[B[B)J"),
9776 NATIVE_METHOD(NativeCrypto, SSL_do_handshake_bio, "(JJJ" SSL_CALLBACKS "Z[B[B)J"),
9777 NATIVE_METHOD(NativeCrypto, SSL_renegotiate, "(J)V"),
9778 NATIVE_METHOD(NativeCrypto, SSL_get_certificate, "(J)[J"),
9779 NATIVE_METHOD(NativeCrypto, SSL_get_peer_cert_chain, "(J)[J"),
9780 NATIVE_METHOD(NativeCrypto, SSL_read, "(J" FILE_DESCRIPTOR SSL_CALLBACKS "[BIII)I"),
9781 NATIVE_METHOD(NativeCrypto, SSL_read_BIO, "(J[BIIJJ" SSL_CALLBACKS ")I"),
9782 NATIVE_METHOD(NativeCrypto, SSL_write, "(J" FILE_DESCRIPTOR SSL_CALLBACKS "[BIII)V"),
9783 NATIVE_METHOD(NativeCrypto, SSL_write_BIO, "(J[BIJ" SSL_CALLBACKS ")I"),
9784 NATIVE_METHOD(NativeCrypto, SSL_interrupt, "(J)V"),
9785 NATIVE_METHOD(NativeCrypto, SSL_shutdown, "(J" FILE_DESCRIPTOR SSL_CALLBACKS ")V"),
9786 NATIVE_METHOD(NativeCrypto, SSL_shutdown_BIO, "(JJJ" SSL_CALLBACKS ")V"),
9787 NATIVE_METHOD(NativeCrypto, SSL_get_shutdown, "(J)I"),
9788 NATIVE_METHOD(NativeCrypto, SSL_free, "(J)V"),
9789 NATIVE_METHOD(NativeCrypto, SSL_SESSION_session_id, "(J)[B"),
9790 NATIVE_METHOD(NativeCrypto, SSL_SESSION_get_time, "(J)J"),
9791 NATIVE_METHOD(NativeCrypto, SSL_SESSION_get_version, "(J)Ljava/lang/String;"),
9792 NATIVE_METHOD(NativeCrypto, SSL_SESSION_cipher, "(J)Ljava/lang/String;"),
9793 NATIVE_METHOD(NativeCrypto, SSL_SESSION_free, "(J)V"),
9794 NATIVE_METHOD(NativeCrypto, i2d_SSL_SESSION, "(J)[B"),
9795 NATIVE_METHOD(NativeCrypto, d2i_SSL_SESSION, "([B)J"),
9796 NATIVE_METHOD(NativeCrypto, SSL_CTX_enable_npn, "(J)V"),
9797 NATIVE_METHOD(NativeCrypto, SSL_CTX_disable_npn, "(J)V"),
9798 NATIVE_METHOD(NativeCrypto, SSL_get_npn_negotiated_protocol, "(J)[B"),
9799 NATIVE_METHOD(NativeCrypto, SSL_set_alpn_protos, "(J[B)I"),
9800 NATIVE_METHOD(NativeCrypto, SSL_get0_alpn_selected, "(J)[B"),
9801 NATIVE_METHOD(NativeCrypto, ERR_peek_last_error, "()J"),
9842 jniRegisterNativeMethods(env, TO_STRING(JNI_JARJAR_PREFIX) "org/conscrypt/NativeCrypto",
9884 JNI_TRACE("JNI_OnLoad NativeCrypto");