Package | Description |
---|---|
ch.threema.apitool | |
ch.threema.apitool.exceptions | |
ch.threema.apitool.helpers |
Modifier and Type | Method and Description |
---|---|
static ThreemaMessage |
CryptTool.decryptMessage(byte[] box,
byte[] recipientPrivateKey,
byte[] senderPublicKey,
byte[] nonce)
Decrypt a message.
|
Modifier and Type | Class and Description |
---|---|
class |
BadMessageException
Exception that gets thrown if a message has a bad/illegal format after it has been decrypted.
|
class |
DecryptionFailedException
Exception that gets thrown when decryption fails (because the keys are incorrect, or the data is corrupted).
|
class |
UnsupportedMessageTypeException
Exception that gets thrown when an attempt has been made to decrypt a message
of a type that is not supported by this library.
|
Modifier and Type | Method and Description |
---|---|
E2EHelper.ReceiveMessageResult |
E2EHelper.receiveMessage(String threemaId,
String messageId,
byte[] box,
byte[] nonce,
Path outputFolder)
Decrypt a Message and download the blobs of the Message (e.g.
|
Copyright © 2015 Threema GmbH, Staldenbachstrasse 11, 8808 Pfäffikon SZ, Schweiz. All rights reserved.