heck
5f85c064a1
just cosmetics
5 years ago
Hussein Kasem
5fe48c91f5
JNI-114 Add PassphraseType to the passphraseCallback
5 years ago
heck
8fe50aeb6d
unsigned int is typedef'd as uint in "most" compilers, but not all
5 years ago
heck
532e283b17
thats for sure ;)
5 years ago
Hussein Kasem
9c93feeed3
JNI-114 Make basic_api methods use passphrase cache
5 years ago
Hussein Kasem
ff5e01680c
JNI-114 Make generated methods cached
5 years ago
heck
7b5b55b27b
nothing for default branch...
5 years ago
heck
fc06f8257b
delete DeleteLocalRef()
5 years ago
heck
0240fafedb
Avoid retry if callback not set is still ...dirty. the commit comment goes on, REMEMBER TO USE hg log -v now and then again :)
// if this happens (no callback registered
// we simply return ""
// it will fail
// this repeats MaxRetries times (currentluy hardcoded to 3)
// Then the orig call will return with the PEP_STATUS (most likely PEP_PASSPHRASE_REQUIRED)
5 years ago
heck
64e12d7774
Java register callback method "Engine.setPassphraseRequired()" done and tested.
5 years ago
heck
095eb8075b
JNI code done, now passphrase comes from java level throug callback
5 years ago
heck
7c7a8f4121
Improved retry code / now passphrase from AbstractEngine level.
5 years ago
heck
12fa07bc4a
Passphrase retry after application callback (callback still dummy, but works). For ALL "cached" methods :)
5 years ago
heck
3b5366b7ed
_if_ we should throw here, we need to do it differently...
5 years ago
heck
96f1e9eb88
Backed out changeset 0efc85ba691e
that was the wrong file to commit
5 years ago
heck
39f3b5fb45
_if_ we should throw here, we need to do it differently...
5 years ago
Hussein Kasem
8bb506c94c
JNI-111 Accept null partner during notifyHandshake
5 years ago
Hussein Kasem
921d77cad3
JNI-111 Rethrow Java exceptions to the JVM during notifyHandshake.
5 years ago
Hussein Kasem
fb38830afa
JNI-111 Add missing sync signal
5 years ago
heck
e6fdbd081d
Fix for failing Test: "encrypt msg to self using imported key with passphrase"
5 years ago
heck
41a1c9d899
this "return" is not correct
5 years ago
heck
4a335a12fb
Integrate CallbackDispatcher between registered callbacks and engine. (engine -> dispatcher -> jniadapter_cxx -> java_messagetosendCallbackfromC -> java_callback_messagetosend)
start_sync() / stop_sync() using CallbackDispatcher
JNISync changed from class to namespace
5 years ago
heck
41d8232be2
config_passphrase_for_new_keys() using cache.add_stored()
5 years ago
Volker Birk
377fcc940b
using new libpEpAdapter
5 years ago
heck
9858091cbc
remove debuglog
5 years ago
heck
e1bcc578df
complete engine functions that have to be called with passphrase support - cache.api()
5 years ago
heck
2fdf5c2ed8
Code generation "basic" for java extended with return type identitylist
5 years ago
heck
195e240a2e
Make import_key return identity list instead of void
5 years ago
heck
6099e26bca
Passphrase support for messageToSend()
5 years ago
heck
e84feed11e
call API functions like encrypt_message() or decrypt_message() using cache.api()
5 years ago
heck
49d4ac3b0d
config_passphrase() - implemented using cache.add()
5 years ago
heck
e844fe34f4
Added passphrase support methods, and tests.
5 years ago
heck
7212e1b394
Make Blob Serializable
5 years ago
heck
f33bd93de8
Fixed wrong class reference.
reg test succeeds now.
5 years ago
heck
2e6b1ebccd
X-pEp-Version = '2.1' <- using getProtocolVersion()
5 years ago
heck
53657d764a
Enhance Tests and TestUtils (Message pretty printing)
5 years ago
heck
a1555e720f
Add EncFormat PEPEncInlineEA. BUT a lot of question marks. see TODO:
5 years ago
heck
e8686e1ac4
Fix for pEpEngine default branch: mime_encode_messageO()/mime_decode_message()
mime_encode_message() "has_pEp_msg_attachment" hard coded to false
mime_decode_message() "has_pEp_msg_attachment" hard coded to NULL
5 years ago
heck
96c2484afa
Fix for pEpEngine default branch: mime_encode_messageO()/mime_decode_message()
mime_encode_message() "has_pEp_msg_attachment" hard coded to false
mime_decode_message() "has_pEp_msg_attachment" hard coded to NULL
5 years ago
heck
03655f2283
Makefiles. More structure. More logging
5 years ago
heck
4bc21c82b2
first draft of incomingMessageFromPGPText()
5 years ago
heck
cf5471a617
New example local.conf file
Replaced ENGINE_LIB,ENGINE_INC,AD_LIB,AD_INC.
local.conf migration might be necessary, but see local.conf.example
JAVA_HOME now guessed on linux
make clean now cleans .so and .dylib always (now you can share the workspace between linux and mac)
5 years ago
heck
6d5af4bae8
Fixed broken methods due to needed template changes.
Verified by comparing results of test/regression against sync branch d6c12d6ca3d0
5 years ago
Volker Birk
f6766d5279
missing headers again, correcting error coloring, too
5 years ago
Volker Birk
0e14d3a76f
another include missing
5 years ago
Volker Birk
f67d98cb10
missing header file violating C++ standard
5 years ago
Hussein Kasem
75552d51cf
Add include pEp/pEpLog on basic_api.cc and fix identity_api.cc includes.
5 years ago
heck
7956b4037c
pEpLog() function call logging only on API exposed functions (JNIEPXORT)
5 years ago
heck
cfd5248b74
add logging
5 years ago
heck
a309452628
depend on pEp/pEpLog.hh to be compatible with libpEpAdapter branches default and postrelease
5 years ago