diff options
author | Hubert Chathi <hubert@uhoreg.ca> | 2018-10-23 12:15:14 -0400 |
---|---|---|
committer | Hubert Chathi <hubert@uhoreg.ca> | 2018-10-23 12:24:49 -0400 |
commit | 9acfd1791edc3ab7750dcb53ae277c8a33296532 (patch) | |
tree | 029d2916b8efbcf7ecf9b0a6065fab38bca18e32 /android/olm-sdk/src/main/jni/olm_pk.h | |
parent | b79590e490a364d13ca2d96ccccf8d5e5145af22 (diff) |
expose the private key length in the Android sdk
Diffstat (limited to 'android/olm-sdk/src/main/jni/olm_pk.h')
-rw-r--r-- | android/olm-sdk/src/main/jni/olm_pk.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/android/olm-sdk/src/main/jni/olm_pk.h b/android/olm-sdk/src/main/jni/olm_pk.h index 5f45462..a17d0f2 100644 --- a/android/olm-sdk/src/main/jni/olm_pk.h +++ b/android/olm-sdk/src/main/jni/olm_pk.h @@ -35,6 +35,7 @@ JNIEXPORT jbyteArray OLM_PK_ENCRYPTION_FUNC_DEF(encryptJni)(JNIEnv *env, jobject JNIEXPORT jlong OLM_PK_DECRYPTION_FUNC_DEF(createNewPkDecryptionJni)(JNIEnv *env, jobject thiz); JNIEXPORT void OLM_PK_DECRYPTION_FUNC_DEF(releasePkDecryptionJni)(JNIEnv *env, jobject thiz); +JNIEXPORT jint OLM_PK_DECRYPTION_FUNC_DEF(privateKeyLength)(JNIEnv *env, jobject thiz); JNIEXPORT jbyteArray OLM_PK_DECRYPTION_FUNC_DEF(setPrivateKeyJni)(JNIEnv *env, jobject thiz, jbyteArray key); JNIEXPORT jbyteArray OLM_PK_DECRYPTION_FUNC_DEF(generateKeyJni)(JNIEnv *env, jobject thiz); JNIEXPORT jbyteArray OLM_PK_DECRYPTION_FUNC_DEF(privateKeyJni)(JNIEnv *env, jobject thiz); |