H A D | org_conscrypt_NativeCrypto.cpp | 84 RegisterNativeMethods(env, jni_class_name, gMethods, arraysize(gMethods)) 409 static void jniThrowOutOfMemory(JNIEnv* env, const char* message) { argument 410 jniThrowException(env, "java/lang/OutOfMemoryError", message); 416 static void throwBadPaddingException(JNIEnv* env, const char* message) { argument 418 jniThrowException(env, "javax/crypto/BadPaddingException", message); 424 static void throwSignatureException(JNIEnv* env, const char* message) { argument 426 jniThrowException(env, "java/security/SignatureException", message); 432 static void throwInvalidKeyException(JNIEnv* env, const char* message) { argument 434 jniThrowException(env, "java/security/InvalidKeyException", message); 440 static void throwIllegalBlockSizeException(JNIEnv* env, cons argument 448 throwNoSuchAlgorithmException(JNIEnv* env, const char* message) argument 453 throwForAsn1Error(JNIEnv* env, int reason, const char *message) argument 471 throwForEvpError(JNIEnv* env, int reason, const char *message) argument 501 throwForRsaError(JNIEnv* env, int reason, const char *message) argument 529 throwForX509Error(JNIEnv* env, int reason, const char *message) argument 546 throwExceptionIfNecessary(JNIEnv* env, const char* location __attribute__ ((unused))) argument 592 throwSocketTimeoutException(JNIEnv* env, const char* message) argument 600 throwSSLHandshakeExceptionStr(JNIEnv* env, const char* message) argument 608 throwSSLExceptionStr(JNIEnv* env, const char* message) argument 616 throwSSLProtocolExceptionStr(JNIEnv* env, const char* message) argument 631 throwSSLExceptionWithSslErrors(JNIEnv* env, SSL* ssl, int sslErrorCode, const char* message, void (*actualThrow)(JNIEnv*, const char*) = throwSSLExceptionStr) argument 757 to_SSL_CTX(JNIEnv* env, jlong ssl_ctx_address, bool throwIfNull) argument 766 to_SSL(JNIEnv* env, jlong ssl_address, bool throwIfNull) argument 775 to_SSL_SESSION(JNIEnv* env, jlong ssl_session_address, bool throwIfNull) argument 785 to_SSL_CIPHER(JNIEnv* env, jlong ssl_cipher_address, bool throwIfNull) argument 796 fromContextObject(JNIEnv* env, jobject contextObject) argument 810 arrayToBignum(JNIEnv* env, jbyteArray source, BIGNUM** dest) argument 869 bignumToArray(JNIEnv* env, const BIGNUM* source, const char* sourceName) argument 915 ASN1ToByteArray(JNIEnv* env, T* obj) argument 954 ByteArrayToASN1(JNIEnv* env, jbyteArray byteArray) argument 968 ASN1BitStringToBooleanArray(JNIEnv* env, ASN1_BIT_STRING* bitStr) argument 1032 JNIEnv* env; local 1047 JNIEnv* env = getJNIEnv(); local 1052 JNIEnv* env = getJNIEnv(); local 1063 JNIEnv* env = getJNIEnv(); local 1118 JNIEnv* env = getJNIEnv(); local 1164 JNIEnv* env = getJNIEnv(); local 1274 rawSignDigestWithPrivateKey(JNIEnv* env, jobject privateKey, const char* message, size_t message_len) argument 1303 rawCipherWithPrivateKey(JNIEnv* env, jobject privateKey, jboolean encrypt, const char* ciphertext, size_t ciphertext_len) argument 1387 JNIEnv* env = getJNIEnv(); local 1439 JNIEnv* env = getJNIEnv(); local 1479 JNIEnv* env = getJNIEnv(); local 1578 JNIEnv* env = getJNIEnv(); local 1613 JNIEnv* env = getJNIEnv(); local 1666 JNIEnv* env = getJNIEnv(); local 1866 NativeCrypto_ENGINE_by_id(JNIEnv* env, jclass, jstring idJava) argument 1885 NativeCrypto_ENGINE_add(JNIEnv* env, jclass, jlong engineRef) argument 1906 NativeCrypto_ENGINE_init(JNIEnv* env, jclass, jlong engineRef) argument 1920 NativeCrypto_ENGINE_finish(JNIEnv* env, jclass, jlong engineRef) argument 1934 NativeCrypto_ENGINE_free(JNIEnv* env, jclass, jlong engineRef) argument 1948 NativeCrypto_ENGINE_load_private_key(JNIEnv* env, jclass, jlong engineRef, jstring idJava) argument 1969 NativeCrypto_ENGINE_get_id(JNIEnv* env, jclass, jlong engineRef) argument 1987 NativeCrypto_ENGINE_ctrl_cmd_string(JNIEnv* env, jclass, jlong engineRef, jstring cmdJava, jstring argJava, jint cmd_optional) argument 2030 NativeCrypto_EVP_PKEY_new_DH(JNIEnv* env, jclass, jbyteArray p, jbyteArray g, jbyteArray pub_key, jbyteArray priv_key) argument 2092 NativeCrypto_EVP_PKEY_new_DSA(JNIEnv* env, jclass, jbyteArray p, jbyteArray q, jbyteArray g, jbyteArray pub_key, jbyteArray priv_key) argument 2148 NativeCrypto_EVP_PKEY_new_RSA(JNIEnv* env, jclass, jbyteArray n, jbyteArray e, jbyteArray d, jbyteArray p, jbyteArray q, jbyteArray dmp1, jbyteArray dmq1, jbyteArray iqmp) argument 2242 NativeCrypto_EVP_PKEY_new_EC_KEY(JNIEnv* env, jclass, jlong groupRef, jlong pubkeyRef, jbyteArray keyJavaBytes) argument 2321 NativeCrypto_EVP_PKEY_new_mac_key(JNIEnv* env, jclass, jint pkeyType, jbyteArray keyJavaBytes) argument 2343 NativeCrypto_EVP_PKEY_type(JNIEnv* env, jclass, jlong pkeyRef) argument 2360 NativeCrypto_EVP_PKEY_size(JNIEnv* env, jclass, jlong pkeyRef) argument 2374 NativeCrypto_EVP_PKEY_print_public(JNIEnv* env, jclass, jlong pkeyRef) argument 2404 NativeCrypto_EVP_PKEY_print_private(JNIEnv* env, jclass, jlong pkeyRef) argument 2443 NativeCrypto_EVP_PKEY_cmp(JNIEnv* env, jclass, jlong pkey1Ref, jlong pkey2Ref) argument 2466 NativeCrypto_i2d_PKCS8_PRIV_KEY_INFO(JNIEnv* env, jclass, jlong pkeyRef) argument 2488 NativeCrypto_d2i_PKCS8_PRIV_KEY_INFO(JNIEnv* env, jclass, jbyteArray keyJavaBytes) argument 2519 NativeCrypto_i2d_PUBKEY(JNIEnv* env, jclass, jlong pkeyRef) argument 2528 NativeCrypto_d2i_PUBKEY(JNIEnv* env, jclass, jbyteArray javaBytes) argument 2548 NativeCrypto_getRSAPrivateKeyWrapper(JNIEnv* env, jclass, jobject javaKey, jbyteArray modulusBytes) argument 2582 NativeCrypto_getDSAPrivateKeyWrapper(JNIEnv* env, jclass, jobject javaKey, jbyteArray qBytes) argument 2615 NativeCrypto_getECPrivateKeyWrapper(JNIEnv* env, jclass, jobject javaKey, jlong groupRef) argument 2657 NativeCrypto_RSA_generate_key_ex(JNIEnv* env, jclass, jint modulusBits, jbyteArray publicExponent) argument 2694 NativeCrypto_RSA_size(JNIEnv* env, jclass, jlong pkeyRef) argument 2715 RSA_crypt_operation(RSACryptOperation operation, const char* caller __attribute__ ((unused)), JNIEnv* env, jint flen, jbyteArray fromJavaBytes, jbyteArray toJavaBytes, jlong pkeyRef, jint padding) argument 2755 NativeCrypto_RSA_private_encrypt(JNIEnv* env, jclass, jint flen, jbyteArray fromJavaBytes, jbyteArray toJavaBytes, jlong pkeyRef, jint padding) argument 2760 NativeCrypto_RSA_public_decrypt(JNIEnv* env, jclass, jint flen, jbyteArray fromJavaBytes, jbyteArray toJavaBytes, jlong pkeyRef, jint padding) argument 2765 NativeCrypto_RSA_public_encrypt(JNIEnv* env, jclass, jint flen, jbyteArray fromJavaBytes, jbyteArray toJavaBytes, jlong pkeyRef, jint padding) argument 2770 NativeCrypto_RSA_private_decrypt(JNIEnv* env, jclass, jint flen, jbyteArray fromJavaBytes, jbyteArray toJavaBytes, jlong pkeyRef, jint padding) argument 2779 NativeCrypto_get_RSA_public_params(JNIEnv* env, jclass, jlong pkeyRef) argument 2817 NativeCrypto_get_RSA_private_params(JNIEnv* env, jclass, jlong pkeyRef) argument 2905 NativeCrypto_DSA_generate_key(JNIEnv* env, jclass, jint primeBits, jbyteArray seedJavaBytes, jbyteArray gBytes, jbyteArray pBytes, jbyteArray qBytes) argument 2984 NativeCrypto_get_DSA_params(JNIEnv* env, jclass, jlong pkeyRef) argument 3047 NativeCrypto_set_DSA_flag_nonce_from_hash(JNIEnv* env, jclass, jlong pkeyRef) argument 3066 NativeCrypto_DH_generate_parameters_ex(JNIEnv* env, jclass, jint primeBits, jlong generator) argument 3105 NativeCrypto_DH_generate_key(JNIEnv* env, jclass, jlong pkeyRef) argument 3126 NativeCrypto_get_DH_params(JNIEnv* env, jclass, jlong pkeyRef) argument 3202 NativeCrypto_EC_GROUP_new_by_curve_name(JNIEnv* env, jclass, jstring curveNameJava) argument 3229 NativeCrypto_EC_GROUP_set_asn1_flag(JNIEnv* env, jclass, jlong groupRef, jint flag) argument 3245 NativeCrypto_EC_GROUP_set_point_conversion_form(JNIEnv* env, jclass, jlong groupRef, jint form) argument 3261 NativeCrypto_EC_GROUP_new_curve(JNIEnv* env, jclass, jint type, jbyteArray pJava, jbyteArray aJava, jbyteArray bJava) argument 3305 NativeCrypto_EC_GROUP_dup(JNIEnv* env, jclass, jlong groupRef) argument 3320 NativeCrypto_EC_GROUP_get_curve_name(JNIEnv* env, jclass, jlong groupRef) argument 3341 NativeCrypto_EC_GROUP_get_curve(JNIEnv* env, jclass, jlong groupRef) argument 3394 NativeCrypto_EC_GROUP_get_order(JNIEnv* env, jclass, jlong groupRef) argument 3421 NativeCrypto_EC_GROUP_get_degree(JNIEnv* env, jclass, jlong groupRef) argument 3437 NativeCrypto_EC_GROUP_get_cofactor(JNIEnv* env, jclass, jlong groupRef) argument 3464 NativeCrypto_get_EC_GROUP_type(JNIEnv* env, jclass, jlong groupRef) argument 3479 NativeCrypto_EC_GROUP_clear_free(JNIEnv* env, jclass, jlong groupRef) argument 3494 NativeCrypto_EC_GROUP_cmp(JNIEnv* env, jclass, jlong group1Ref, jlong group2Ref) argument 3512 NativeCrypto_EC_GROUP_set_generator(JNIEnv* env, jclass, jlong groupRef, jlong pointRef, jbyteArray njavaBytes, jbyteArray hjavaBytes) argument 3545 NativeCrypto_EC_GROUP_get_generator(JNIEnv* env, jclass, jlong groupRef) argument 3569 NativeCrypto_EC_POINT_new(JNIEnv* env, jclass, jlong groupRef) argument 3589 NativeCrypto_EC_POINT_clear_free(JNIEnv* env, jclass, jlong groupRef) argument 3603 NativeCrypto_EC_POINT_cmp(JNIEnv* env, jclass, jlong groupRef, jlong point1Ref, jlong point2Ref) argument 3623 NativeCrypto_EC_POINT_set_affine_coordinates(JNIEnv* env, jclass, jlong groupRef, jlong pointRef, jbyteArray xjavaBytes, jbyteArray yjavaBytes) argument 3671 NativeCrypto_EC_POINT_get_affine_coordinates(JNIEnv* env, jclass, jlong groupRef, jlong pointRef) argument 3720 NativeCrypto_EC_KEY_generate_key(JNIEnv* env, jclass, jlong groupRef) argument 3760 NativeCrypto_EC_KEY_get0_group(JNIEnv* env, jclass, jlong pkeyRef) argument 3783 NativeCrypto_EC_KEY_get_private_key(JNIEnv* env, jclass, jlong pkeyRef) argument 3811 NativeCrypto_EC_KEY_get_public_key(JNIEnv* env, jclass, jlong pkeyRef) argument 3839 NativeCrypto_EC_KEY_set_nonce_from_hash(JNIEnv* env, jclass, jlong pkeyRef, jboolean enabled) argument 3859 NativeCrypto_ECDH_compute_key(JNIEnv* env, jclass, jbyteArray outArray, jint outOffset, jlong pubkeyRef, jlong privkeyRef) argument 3923 NativeCrypto_EVP_MD_CTX_create(JNIEnv* env, jclass) argument 3936 NativeCrypto_EVP_MD_CTX_init(JNIEnv* env, jclass, jobject ctxRef) argument 3954 NativeCrypto_EVP_MD_CTX_copy(JNIEnv* env, jclass, jobject dstCtxRef, jobject srcCtxRef) argument 3978 NativeCrypto_EVP_DigestFinal(JNIEnv* env, jclass, jobject ctxRef, jbyteArray hash, jint offset) argument 4006 evpInit(JNIEnv* env, jobject evpMdCtxRef, jlong evpMdRef, const char* jniName, int (*init_func)(EVP_MD_CTX*, const EVP_MD*, ENGINE*)) argument 4031 NativeCrypto_EVP_DigestInit(JNIEnv* env, jclass, jobject evpMdCtxRef, jlong evpMdRef) argument 4035 NativeCrypto_EVP_SignInit(JNIEnv* env, jclass, jobject evpMdCtxRef, jlong evpMdRef) argument 4039 NativeCrypto_EVP_VerifyInit(JNIEnv* env, jclass, jobject evpMdCtxRef, jlong evpMdRef) argument 4046 NativeCrypto_EVP_get_digestbyname(JNIEnv* env, jclass, jstring algorithm) argument 4073 NativeCrypto_EVP_MD_size(JNIEnv* env, jclass, jlong evpMdRef) argument 4090 NativeCrypto_EVP_MD_block_size(JNIEnv* env, jclass, jlong evpMdRef) argument 4104 NativeCrypto_EVP_DigestSignInit(JNIEnv* env, jclass, jobject evpMdCtxRef, const jlong evpMdRef, jlong pkeyRef) argument 4134 evpUpdate(JNIEnv* env, jobject evpMdCtxRef, jbyteArray inJavaBytes, jint inOffset, jint inLength, const char *jniName, int (*update_func)(EVP_MD_CTX*, const void *, size_t)) argument 4170 NativeCrypto_EVP_DigestUpdate(JNIEnv* env, jclass, jobject evpMdCtxRef, jbyteArray inJavaBytes, jint inOffset, jint inLength) argument 4176 NativeCrypto_EVP_DigestSignUpdate(JNIEnv* env, jclass, jobject evpMdCtxRef, jbyteArray inJavaBytes, jint inOffset, jint inLength) argument 4182 NativeCrypto_EVP_SignUpdate(JNIEnv* env, jclass, jobject evpMdCtxRef, jbyteArray inJavaBytes, jint inOffset, jint inLength) argument 4188 NativeCrypto_EVP_DigestSignFinal(JNIEnv* env, jclass, jobject evpMdCtxRef) argument 4225 NativeCrypto_EVP_SignFinal(JNIEnv* env, jclass, jobject ctxRef, jbyteArray signature, jint offset, jlong pkeyRef) argument 4259 NativeCrypto_EVP_VerifyUpdate(JNIEnv* env, jclass, jobject ctxRef, jbyteArray buffer, jint offset, jint length) argument 4296 NativeCrypto_EVP_VerifyFinal(JNIEnv* env, jclass, jobject ctxRef, jbyteArray buffer, jint offset, jint length, jlong pkeyRef) argument 4334 NativeCrypto_EVP_get_cipherbyname(JNIEnv* env, jclass, jstring algorithm) argument 4357 NativeCrypto_EVP_CipherInit_ex(JNIEnv* env, jclass, jlong ctxRef, jlong evpCipherRef, jbyteArray keyArray, jbyteArray ivArray, jboolean encrypting) argument 4408 NativeCrypto_EVP_CipherUpdate(JNIEnv* env, jclass, jlong ctxRef, jbyteArray outArray, jint outOffset, jbyteArray inArray, jint inOffset, jint inLength) argument 4459 NativeCrypto_EVP_CipherFinal_ex(JNIEnv* env, jclass, jlong ctxRef, jbyteArray outArray, jint outOffset) argument 4492 NativeCrypto_EVP_CIPHER_iv_length(JNIEnv* env, jclass, jlong evpCipherRef) argument 4507 NativeCrypto_EVP_CIPHER_CTX_new(JNIEnv* env, jclass) argument 4521 NativeCrypto_EVP_CIPHER_CTX_block_size(JNIEnv* env, jclass, jlong ctxRef) argument 4536 NativeCrypto_get_EVP_CIPHER_CTX_buf_len(JNIEnv* env, jclass, jlong ctxRef) argument 4551 NativeCrypto_EVP_CIPHER_CTX_set_padding(JNIEnv* env, jclass, jlong ctxRef, jboolean enablePaddingBool) argument 4566 NativeCrypto_EVP_CIPHER_CTX_set_key_length(JNIEnv* env, jclass, jlong ctxRef, jint keySizeBits) argument 4595 NativeCrypto_RAND_seed(JNIEnv* env, jclass, jbyteArray seed) argument 4604 NativeCrypto_RAND_load_file(JNIEnv* env, jclass, jstring filename, jlong max_bytes) argument 4615 NativeCrypto_RAND_bytes(JNIEnv* env, jclass, jbyteArray output) argument 4633 NativeCrypto_OBJ_txt2nid(JNIEnv* env, jclass, jstring oidStr) argument 4646 NativeCrypto_OBJ_txt2nid_longName(JNIEnv* env, jclass, jstring oidStr) argument 4668 ASN1_OBJECT_to_OID_string(JNIEnv* env, ASN1_OBJECT* obj) argument 4688 NativeCrypto_create_BIO_InputStream(JNIEnv* env, jclass, jobject streamObj) argument 4707 NativeCrypto_create_BIO_OutputStream(JNIEnv* env, jclass, jobject streamObj) argument 4726 NativeCrypto_BIO_read(JNIEnv* env, jclass, jlong bioRef, jbyteArray outputJavaBytes) argument 4756 NativeCrypto_BIO_write(JNIEnv* env, jclass, jlong bioRef, jbyteArray inputJavaBytes, jint offset, jint length) argument 4797 NativeCrypto_BIO_free_all(JNIEnv* env, jclass, jlong bioRef) argument 4809 X509_NAME_to_jstring(JNIEnv* env, X509_NAME* name, unsigned long flags) argument 4838 GENERAL_NAME_to_jobject(JNIEnv* env, GENERAL_NAME* gen) argument 4899 NativeCrypto_get_X509_GENERAL_NAME_stack(JNIEnv* env, jclass, jlong x509Ref, jint type) argument 4991 NativeCrypto_X509_get_notBefore(JNIEnv* env, jclass, jlong x509Ref) argument 5006 NativeCrypto_X509_get_notAfter(JNIEnv* env, jclass, jlong x509Ref) argument 5031 get_X509Type_serialNumber(JNIEnv* env, T* x509Type, ASN1_INTEGER* (*get_serial_func)(T*)) argument 5064 NativeCrypto_X509_get_serialNumber(JNIEnv* env, jclass, jlong x509Ref) argument 5070 NativeCrypto_X509_REVOKED_get_serialNumber(JNIEnv* env, jclass, jlong x509RevokedRef) argument 5076 NativeCrypto_X509_verify(JNIEnv* env, jclass, jlong x509Ref, jlong pkeyRef) argument 5101 NativeCrypto_get_X509_cert_info_enc(JNIEnv* env, jclass, jlong x509Ref) argument 5107 NativeCrypto_get_X509_ex_flags(JNIEnv* env, jclass, jlong x509Ref) argument 5141 get_X509Type_signature(JNIEnv* env, T* x509Type, void (*get_signature_func)(T*, ASN1_BIT_STRING**)) argument 5172 NativeCrypto_get_X509_signature(JNIEnv* env, jclass, jlong x509Ref) argument 5178 NativeCrypto_get_X509_CRL_signature(JNIEnv* env, jclass, jlong x509CrlRef) argument 5184 NativeCrypto_X509_CRL_get0_by_cert(JNIEnv* env, jclass, jlong x509crlRef, jlong x509Ref) argument 5210 NativeCrypto_X509_CRL_get0_by_serial(JNIEnv* env, jclass, jlong x509crlRef, jbyteArray serialArray) argument 5260 NativeCrypto_X509_CRL_get_REVOKED(JNIEnv* env, jclass, jlong x509CrlRef) argument 5288 NativeCrypto_i2d_X509_CRL(JNIEnv* env, jclass, jlong x509CrlRef) argument 5294 NativeCrypto_X509_CRL_free(JNIEnv* env, jclass, jlong x509CrlRef) argument 5307 NativeCrypto_X509_CRL_print(JNIEnv* env, jclass, jlong bioRef, jlong x509CrlRef) argument 5332 NativeCrypto_get_X509_CRL_sig_alg_oid(JNIEnv* env, jclass, jlong x509CrlRef) argument 5345 NativeCrypto_get_X509_CRL_sig_alg_parameter(JNIEnv* env, jclass, jlong x509CrlRef) argument 5363 NativeCrypto_X509_CRL_get_issuer_name(JNIEnv* env, jclass, jlong x509CrlRef) argument 5380 X509Type_get_ext(JNIEnv* env, T* x509Type, jstring oidString) argument 5413 X509Type_get_ext_oid(JNIEnv* env, T* x509Type, jstring oidString) argument 5425 NativeCrypto_X509_CRL_get_ext(JNIEnv* env, jclass, jlong x509CrlRef, jstring oid) argument 5434 NativeCrypto_X509_REVOKED_get_ext(JNIEnv* env, jclass, jlong x509RevokedRef, jstring oid) argument 5444 NativeCrypto_X509_REVOKED_dup(JNIEnv* env, jclass, jlong x509RevokedRef) argument 5459 NativeCrypto_get_X509_REVOKED_revocationDate(JNIEnv* env, jclass, jlong x509RevokedRef) argument 5475 NativeCrypto_X509_REVOKED_print(JNIEnv* env, jclass, jlong bioRef, jlong x509RevokedRef) argument 5501 NativeCrypto_get_X509_CRL_crl_enc(JNIEnv* env, jclass, jlong x509CrlRef) argument 5507 NativeCrypto_X509_CRL_verify(JNIEnv* env, jclass, jlong x509CrlRef, jlong pkeyRef) argument 5532 NativeCrypto_X509_CRL_get_lastUpdate(JNIEnv* env, jclass, jlong x509CrlRef) argument 5547 NativeCrypto_X509_CRL_get_nextUpdate(JNIEnv* env, jclass, jlong x509CrlRef) argument 5562 NativeCrypto_i2d_X509_REVOKED(JNIEnv* env, jclass, jlong x509RevokedRef) argument 5569 NativeCrypto_X509_supported_extension(JNIEnv* env, jclass, jlong x509ExtensionRef) argument 5588 NativeCrypto_ASN1_TIME_to_Calendar(JNIEnv* env, jclass, jlong asn1TimeRef, jobject calendar) argument 5622 NativeCrypto_OBJ_txt2nid_oid(JNIEnv* env, jclass, jstring oidStr) argument 5650 NativeCrypto_X509_NAME_print_ex(JNIEnv* env, jclass, jlong x509NameRef, jlong jflags) argument 5665 d2i_ASN1Object_to_jlong(JNIEnv* env, jlong bioRef) argument 5683 NativeCrypto_d2i_X509_CRL_bio(JNIEnv* env, jclass, jlong bioRef) argument 5687 NativeCrypto_d2i_X509_bio(JNIEnv* env, jclass, jlong bioRef) argument 5691 NativeCrypto_d2i_X509(JNIEnv* env, jclass, jbyteArray certBytes) argument 5696 NativeCrypto_i2d_X509(JNIEnv* env, jclass, jlong x509Ref) argument 5702 NativeCrypto_i2d_X509_PUBKEY(JNIEnv* env, jclass, jlong x509Ref) argument 5710 PEM_ASN1Object_to_jlong(JNIEnv* env, jlong bioRef) argument 5735 NativeCrypto_PEM_read_bio_X509(JNIEnv* env, jclass, jlong bioRef) argument 5740 NativeCrypto_PEM_read_bio_X509_CRL(JNIEnv* env, jclass, jlong bioRef) argument 5768 PKCS7_to_ItemArray(JNIEnv* env, T_stack* stack, T* (*dup_func)(T*)) argument 5790 NativeCrypto_PEM_read_bio_PKCS7(JNIEnv* env, jclass, jlong bioRef, jint which) argument 5819 NativeCrypto_d2i_PKCS7_bio(JNIEnv* env, jclass, jlong bioRef, jint which) argument 5848 NativeCrypto_i2d_PKCS7(JNIEnv* env, jclass, jlongArray certsArray) argument 6665 sslSelect(JNIEnv* env, int type, jobject fdObject, AppData* appData, int timeout_millis) argument 6791 JNIEnv* env = appData->env; local 6834 JNIEnv* env = appData->env; local 6874 JNIEnv* env = appData->env; local 6957 JNIEnv* env = appData->env; local 7025 JNIEnv* env = appData->env; local 7188 NativeCrypto_SSL_CTX_new(JNIEnv* env, jclass) argument 7241 NativeCrypto_SSL_CTX_free(JNIEnv* env, jclass, jlong ssl_ctx_address) argument 7252 NativeCrypto_SSL_CTX_set_session_id_context(JNIEnv* env, jclass, jlong ssl_ctx_address, jbyteArray sid_ctx) argument 7286 NativeCrypto_SSL_new(JNIEnv* env, jclass, jlong ssl_ctx_address) argument 7327 NativeCrypto_SSL_enable_tls_channel_id(JNIEnv* env, jclass, jlong ssl_address) argument 7345 NativeCrypto_SSL_get_tls_channel_id(JNIEnv* env, jclass, jlong ssl_address) argument 7383 NativeCrypto_SSL_set1_tls_channel_id(JNIEnv* env, jclass, jlong ssl_address, jlong pkeyRef) argument 7421 NativeCrypto_SSL_use_PrivateKey(JNIEnv* env, jclass, jlong ssl_address, jlong pkeyRef) argument 7451 NativeCrypto_SSL_use_certificate(JNIEnv* env, jclass, jlong ssl_address, jlongArray certificatesJava) argument 7530 NativeCrypto_SSL_check_private_key(JNIEnv* env, jclass, jlong ssl_address) argument 7547 NativeCrypto_SSL_set_client_CA_list(JNIEnv* env, jclass, jlong ssl_address, jobjectArray principals) argument 7615 NativeCrypto_SSL_get_mode(JNIEnv* env, jclass, jlong ssl_address) argument 7629 NativeCrypto_SSL_set_mode(JNIEnv* env, jclass, jlong ssl_address, jlong mode) argument 7644 NativeCrypto_SSL_clear_mode(JNIEnv* env, jclass, jlong ssl_address, jlong mode) argument 7659 NativeCrypto_SSL_get_options(JNIEnv* env, jclass, jlong ssl_address) argument 7674 NativeCrypto_SSL_set_options(JNIEnv* env, jclass, jlong ssl_address, jlong options) argument 7689 NativeCrypto_SSL_clear_options(JNIEnv* env, jclass, jlong ssl_address, jlong options) argument 7702 NativeCrypto_SSL_use_psk_identity_hint(JNIEnv* env, jclass, jlong ssl_address, jstring identityHintJava) argument 7731 NativeCrypto_set_SSL_psk_client_callback_enabled(JNIEnv* env, jclass, jlong ssl_address, jboolean enabled) argument 7744 NativeCrypto_set_SSL_psk_server_callback_enabled(JNIEnv* env, jclass, jlong ssl_address, jboolean enabled) argument 7757 NativeCrypto_SSL_get_ciphers(JNIEnv* env, jclass, jlong ssl_address) argument 7774 NativeCrypto_get_SSL_CIPHER_algorithm_mkey(JNIEnv* env, jclass, jlong ssl_cipher_address) argument 7782 NativeCrypto_get_SSL_CIPHER_algorithm_auth(JNIEnv* env, jclass, jlong ssl_cipher_address) argument 7793 NativeCrypto_SSL_set_cipher_lists(JNIEnv* env, jclass, jlong ssl_address, jobjectArray cipherSuites) argument 7855 NativeCrypto_SSL_set_accept_state(JNIEnv* env, jclass, jlong sslRef) argument 7864 NativeCrypto_SSL_set_connect_state(JNIEnv* env, jclass, jlong sslRef) argument 7876 NativeCrypto_SSL_set_verify(JNIEnv* env, jclass, jlong ssl_address, jint mode) argument 7890 NativeCrypto_SSL_set_session(JNIEnv* env, jclass, jlong ssl_address, jlong ssl_session_address) argument 7917 NativeCrypto_SSL_set_session_creation_enabled(JNIEnv* env, jclass, jlong ssl_address, jboolean creation_enabled) argument 7929 NativeCrypto_SSL_set_tlsext_host_name(JNIEnv* env, jclass, jlong ssl_address, jstring hostname) argument 7956 NativeCrypto_SSL_get_servername(JNIEnv* env, jclass, jlong ssl_address) argument 8058 NativeCrypto_SSL_CTX_enable_npn(JNIEnv* env, jclass, jlong ssl_ctx_address) argument 8068 NativeCrypto_SSL_CTX_disable_npn(JNIEnv* env, jclass, jlong ssl_ctx_address) argument 8078 NativeCrypto_SSL_get_npn_negotiated_protocol(JNIEnv* env, jclass, jlong ssl_address) argument 8099 NativeCrypto_SSL_set_alpn_protos(JNIEnv* env, jclass, jlong ssl_address, jbyteArray protos) argument 8126 NativeCrypto_SSL_get0_alpn_selected(JNIEnv* env, jclass, jlong ssl_address) argument 8210 NativeCrypto_SSL_do_handshake_bio(JNIEnv* env, jclass, jlong ssl_address, jlong rbioRef, jlong wbioRef, jobject shc, jboolean client_mode, jbyteArray npnProtocols, jbyteArray alpnProtocols) argument 8304 NativeCrypto_SSL_do_handshake(JNIEnv* env, jclass, jlong ssl_address, jobject fdObject, jobject shc, jint timeout_millis, jboolean client_mode, jbyteArray npnProtocols, jbyteArray alpnProtocols) argument 8485 NativeCrypto_SSL_renegotiate(JNIEnv* env, jclass, jlong ssl_address) argument 8514 NativeCrypto_SSL_get_certificate(JNIEnv* env, jclass, jlong ssl_address) argument 8555 NativeCrypto_SSL_get_peer_cert_chain(JNIEnv* env, jclass, jlong ssl_address) argument 8596 sslRead(JNIEnv* env, SSL* ssl, jobject fdObject, jobject shc, char* buf, jint len, OpenSslError& sslError, int read_timeout_millis) argument 8727 NativeCrypto_SSL_read_BIO(JNIEnv* env, jclass, jlong sslRef, jbyteArray destJava, jint destOffset, jint destLength, jlong sourceBioRef, jlong sinkBioRef, jobject shc) argument 8856 NativeCrypto_SSL_read(JNIEnv* env, jclass, jlong ssl_address, jobject fdObject, jobject shc, jbyteArray b, jint offset, jint len, jint read_timeout_millis) argument 8912 sslWrite(JNIEnv* env, SSL* ssl, jobject fdObject, jobject shc, const char* buf, jint len, OpenSslError& sslError, int write_timeout_millis) argument 9057 NativeCrypto_SSL_write_BIO(JNIEnv* env, jclass, jlong sslRef, jbyteArray sourceJava, jint len, jlong sinkBioRef, jobject shc) argument 9174 NativeCrypto_SSL_write(JNIEnv* env, jclass, jlong ssl_address, jobject fdObject, jobject shc, jbyteArray b, jint offset, jint len, jint write_timeout_millis) argument 9222 NativeCrypto_SSL_interrupt( JNIEnv* env, jclass, jlong ssl_address) argument 9247 NativeCrypto_SSL_shutdown(JNIEnv* env, jclass, jlong ssl_address, jobject fdObject, jobject shc) argument 9327 NativeCrypto_SSL_shutdown_BIO(JNIEnv* env, jclass, jlong ssl_address, jlong rbioRef, jlong wbioRef, jobject shc) argument 9399 NativeCrypto_SSL_get_shutdown(JNIEnv* env, jclass, jlong ssl_address) argument 9415 NativeCrypto_SSL_free(JNIEnv* env, jclass, jlong ssl_address) argument 9432 NativeCrypto_SSL_SESSION_session_id(JNIEnv* env, jclass, jlong ssl_session_address) argument 9453 NativeCrypto_SSL_SESSION_get_time(JNIEnv* env, jclass, jlong ssl_session_address) argument 9470 NativeCrypto_SSL_SESSION_get_version(JNIEnv* env, jclass, jlong ssl_session_address) argument 9484 NativeCrypto_SSL_SESSION_cipher(JNIEnv* env, jclass, jlong ssl_session_address) argument 9499 NativeCrypto_SSL_SESSION_free(JNIEnv* env, jclass, jlong ssl_session_address) argument 9514 NativeCrypto_i2d_SSL_SESSION(JNIEnv* env, jclass, jlong ssl_session_address) argument 9526 NativeCrypto_d2i_SSL_SESSION(JNIEnv* env, jclass, jbyteArray javaBytes) argument 9804 getGlobalRefToClass(JNIEnv* env, const char* className) argument 9814 getStaticMethodRef(JNIEnv* env, jclass clazz, const char* name, const char* sig) argument 9823 getMethodRef(JNIEnv* env, jclass clazz, const char* name, const char* sig) argument 9832 getFieldRef(JNIEnv* env, jclass clazz, const char* name, const char* sig) argument 9841 initialize_conscrypt(JNIEnv* env) argument 9868 findClass(JNIEnv* env, const char* name) argument 9888 JNIEnv *env; local [all...] |