Package | Description |
---|---|
ch.threema.apitool | |
ch.threema.apitool.console.commands.fields | |
ch.threema.apitool.helpers |
Modifier and Type | Method and Description |
---|---|
static Key |
Key.decodeKey(String encodedKey)
Decodes and validates an encoded key.
|
static Key |
Key.decodeKey(String encodedKey,
String expectedKeyType)
Decodes and validates an encoded key.
|
static Key |
DataUtils.readKeyFile(File inFile)
Read an encoded key from a file and return it as a key instance.
|
static Key |
DataUtils.readKeyFile(File inFile,
String expectedKeyType)
Read an encoded key from a file and return it as a key instance.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
PublicKeyField.getValue() |
byte[] |
PrivateKeyField.getValue() |
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.
|
String |
E2EHelper.sendFileMessage(String threemaId,
File fileMessageFile,
File thumbnailMessagePath)
Encrypt a file message and send it to the given recipient.
|
String |
E2EHelper.sendImageMessage(String threemaId,
String imageFilePath)
Encrypt an image message and send it to the given recipient.
|
Copyright © 2015 Threema GmbH, Staldenbachstrasse 11, 8808 Pfäffikon SZ, Schweiz. All rights reserved.