sign and encrypt basically working

This commit is contained in:
Dominik Schürmann
2013-09-06 18:54:55 +02:00
parent d6dd81d444
commit 227b277931
5 changed files with 89 additions and 62 deletions

View File

@@ -41,12 +41,10 @@ interface ICryptoService {
*
* @param inputBytes
* Byte array you want to encrypt
* @param signatureUserId
* User Ids (email) of sender
* @param callback
* Callback where to return results
*/
oneway void sign(in byte[] inputBytes, String signatureUserId, in ICryptoCallback callback);
oneway void sign(in byte[] inputBytes, in ICryptoCallback callback);
/**
* Encrypt and sign
@@ -60,7 +58,7 @@ interface ICryptoService {
* @param callback
* Callback where to return results
*/
oneway void encryptAndSign(in byte[] inputBytes, in String[] encryptionUserIds, String signatureUserId, in ICryptoCallback callback);
oneway void encryptAndSign(in byte[] inputBytes, in String[] encryptionUserIds, in ICryptoCallback callback);
/**
* Decrypts and verifies given input bytes. If no signature is present this method