Skip navigation links
A B C D E F G H I K L M N P R S T U V W X Z 

A

APIConnector - Class in ch.threema.apitool
Facilitates HTTPS communication with the Threema Message API.
APIConnector(String, String, PublicKeyStore) - Constructor for class ch.threema.apitool.APIConnector
 
APIConnector(String, String, String, PublicKeyStore) - Constructor for class ch.threema.apitool.APIConnector
 
APIConnector.InputStreamLength - Class in ch.threema.apitool
 
APIConnector.ProgressListener - Interface in ch.threema.apitool
 
asHex(byte[]) - Static method in class com.neilalexander.jnacl.NaCl
 
asHex(int[]) - Static method in class com.neilalexander.jnacl.NaCl
 

B

BadMessageException - Exception in ch.threema.apitool.exceptions
Exception that gets thrown if a message has a bad/illegal format after it has been decrypted.
BadMessageException() - Constructor for exception ch.threema.apitool.exceptions.BadMessageException
 
BEFORENMBYTES - Static variable in class com.neilalexander.jnacl.NaCl
 
BLOB_ID_LEN - Static variable in class ch.threema.apitool.messages.ThreemaMessage
 
BOXOVERHEAD - Static variable in class com.neilalexander.jnacl.NaCl
 
BOXZEROBYTES - Static variable in class com.neilalexander.jnacl.NaCl
 
ByteArrayField - Class in ch.threema.apitool.console.commands.fields
 
ByteArrayField(String, boolean) - Constructor for class ch.threema.apitool.console.commands.fields.ByteArrayField
 
byteArrayToHexString(byte[]) - Static method in class ch.threema.apitool.DataUtils
Convert a byte array into a hexadecimal string (lowercase).

C

canAudio() - Method in class ch.threema.apitool.results.CapabilityResult
Check whether the Threema ID can receive audio
canFile() - Method in class ch.threema.apitool.results.CapabilityResult
Check whether the Threema ID can receive files
canImage() - Method in class ch.threema.apitool.results.CapabilityResult
Check whether the Threema ID can receive images
canText() - Method in class ch.threema.apitool.results.CapabilityResult
Check whether the Threema ID can receive text
canVideo() - Method in class ch.threema.apitool.results.CapabilityResult
Check whether the Threema ID can receive videos
CapabilityCommand - Class in ch.threema.apitool.console.commands
 
CapabilityCommand() - Constructor for class ch.threema.apitool.console.commands.CapabilityCommand
 
CapabilityResult - Class in ch.threema.apitool.results
Result of a capability lookup
CapabilityResult(String, String[]) - Constructor for class ch.threema.apitool.results.CapabilityResult
 
ch.threema.apitool - package ch.threema.apitool
 
ch.threema.apitool.console.commands - package ch.threema.apitool.console.commands
 
ch.threema.apitool.console.commands.fields - package ch.threema.apitool.console.commands.fields
 
ch.threema.apitool.exceptions - package ch.threema.apitool.exceptions
 
ch.threema.apitool.helpers - package ch.threema.apitool.helpers
 
ch.threema.apitool.messages - package ch.threema.apitool.messages
 
ch.threema.apitool.results - package ch.threema.apitool.results
 
com.neilalexander.jnacl - package com.neilalexander.jnacl
 
com.neilalexander.jnacl.crypto - package com.neilalexander.jnacl.crypto
 
Command - Class in ch.threema.apitool.console.commands
 
Command(String, String) - Constructor for class ch.threema.apitool.console.commands.Command
 
ConsoleMain - Class in ch.threema.apitool
Command line interface for CryptTool and APIConnector operations for testing purposes and simple invocation from other programming languages.
ConsoleMain() - Constructor for class ch.threema.apitool.ConsoleMain
 
createByteArrayField(String) - Method in class ch.threema.apitool.console.commands.Command
 
createByteArrayField(String, boolean) - Method in class ch.threema.apitool.console.commands.Command
 
createConnector(String, String) - Method in class ch.threema.apitool.console.commands.Command
 
createFileField(String) - Method in class ch.threema.apitool.console.commands.Command
 
createFileField(String, boolean) - Method in class ch.threema.apitool.console.commands.Command
 
createFolderField(String) - Method in class ch.threema.apitool.console.commands.Command
 
createFolderField(String, boolean) - Method in class ch.threema.apitool.console.commands.Command
 
createPrivateKeyField(String) - Method in class ch.threema.apitool.console.commands.Command
 
createPrivateKeyField(String, boolean) - Method in class ch.threema.apitool.console.commands.Command
 
createPublicKeyField(String) - Method in class ch.threema.apitool.console.commands.Command
 
createPublicKeyField(String, boolean) - Method in class ch.threema.apitool.console.commands.Command
 
createTextField(String) - Method in class ch.threema.apitool.console.commands.Command
 
createTextField(String, boolean) - Method in class ch.threema.apitool.console.commands.Command
 
createThreemaId(String) - Method in class ch.threema.apitool.console.commands.Command
 
createThreemaId(String, boolean) - Method in class ch.threema.apitool.console.commands.Command
 
CreditsCommand - Class in ch.threema.apitool.console.commands
 
CreditsCommand() - Constructor for class ch.threema.apitool.console.commands.CreditsCommand
 
crypto_box(byte[], byte[], long, byte[], byte[], byte[]) - Static method in class com.neilalexander.jnacl.crypto.curve25519xsalsa20poly1305
 
crypto_box(byte[], byte[], byte[], byte[], byte[]) - Static method in class com.neilalexander.jnacl.crypto.curve25519xsalsa20poly1305
 
crypto_box_afternm(byte[], byte[], long, byte[], byte[]) - Static method in class com.neilalexander.jnacl.crypto.curve25519xsalsa20poly1305
 
crypto_box_afternm(byte[], byte[], byte[], byte[]) - Static method in class com.neilalexander.jnacl.crypto.curve25519xsalsa20poly1305
 
crypto_box_afternm_nopad(byte[], int, byte[], int, long, byte[], byte[]) - Static method in class com.neilalexander.jnacl.crypto.curve25519xsalsa20poly1305
 
crypto_box_beforenm(byte[], byte[], byte[]) - Static method in class com.neilalexander.jnacl.crypto.curve25519xsalsa20poly1305
 
crypto_box_BEFORENMBYTES - Static variable in class com.neilalexander.jnacl.crypto.curve25519xsalsa20poly1305
 
crypto_box_BOXZEROBYTES - Static variable in class com.neilalexander.jnacl.crypto.curve25519xsalsa20poly1305
 
crypto_box_getpublickey(byte[], byte[]) - Static method in class com.neilalexander.jnacl.crypto.curve25519xsalsa20poly1305
 
crypto_box_NONCEBYTES - Static variable in class com.neilalexander.jnacl.crypto.curve25519xsalsa20poly1305
 
crypto_box_open(byte[], byte[], long, byte[], byte[], byte[]) - Static method in class com.neilalexander.jnacl.crypto.curve25519xsalsa20poly1305
 
crypto_box_open(byte[], byte[], byte[], byte[], byte[]) - Static method in class com.neilalexander.jnacl.crypto.curve25519xsalsa20poly1305
 
crypto_box_open_afternm(byte[], byte[], long, byte[], byte[]) - Static method in class com.neilalexander.jnacl.crypto.curve25519xsalsa20poly1305
 
crypto_box_open_afternm(byte[], byte[], byte[], byte[]) - Static method in class com.neilalexander.jnacl.crypto.curve25519xsalsa20poly1305
 
crypto_box_open_afternm_nopad(byte[], int, byte[], int, long, byte[], byte[]) - Static method in class com.neilalexander.jnacl.crypto.curve25519xsalsa20poly1305
 
crypto_box_PUBLICKEYBYTES - Static variable in class com.neilalexander.jnacl.crypto.curve25519xsalsa20poly1305
 
crypto_box_SECRETKEYBYTES - Static variable in class com.neilalexander.jnacl.crypto.curve25519xsalsa20poly1305
 
crypto_box_ZEROBYTES - Static variable in class com.neilalexander.jnacl.crypto.curve25519xsalsa20poly1305
 
crypto_core(byte[], byte[], byte[], byte[]) - Static method in class com.neilalexander.jnacl.crypto.hsalsa20
 
crypto_core(byte[], byte[], byte[], byte[]) - Static method in class com.neilalexander.jnacl.crypto.salsa20
 
crypto_onetimeauth(byte[], int, byte[], int, long, byte[]) - Static method in class com.neilalexander.jnacl.crypto.poly1305
 
crypto_onetimeauth_verify(byte[], int, byte[], int, long, byte[]) - Static method in class com.neilalexander.jnacl.crypto.poly1305
 
crypto_scalarmult(byte[], byte[], byte[]) - Static method in class com.neilalexander.jnacl.crypto.curve25519
 
crypto_scalarmult_base(byte[], byte[]) - Static method in class com.neilalexander.jnacl.crypto.curve25519
 
crypto_secretbox(byte[], byte[], long, byte[], byte[]) - Static method in class com.neilalexander.jnacl.crypto.xsalsa20poly1305
 
crypto_secretbox_nopad(byte[], int, byte[], int, long, byte[], byte[]) - Static method in class com.neilalexander.jnacl.crypto.xsalsa20poly1305
 
crypto_secretbox_open(byte[], byte[], long, byte[], byte[]) - Static method in class com.neilalexander.jnacl.crypto.xsalsa20poly1305
 
crypto_secretbox_open_nopad(byte[], int, byte[], int, long, byte[], byte[]) - Static method in class com.neilalexander.jnacl.crypto.xsalsa20poly1305
 
crypto_stream(byte[], int, byte[], int, byte[]) - Static method in class com.neilalexander.jnacl.crypto.salsa20
 
crypto_stream(byte[], int, byte[], byte[]) - Static method in class com.neilalexander.jnacl.crypto.xsalsa20
 
crypto_stream_xor(byte[], byte[], int, byte[], int, byte[]) - Static method in class com.neilalexander.jnacl.crypto.salsa20
 
crypto_stream_xor(byte[], byte[], long, byte[], byte[]) - Static method in class com.neilalexander.jnacl.crypto.xsalsa20
 
crypto_stream_xor_skip32(byte[], byte[], int, byte[], int, int, byte[], int, byte[]) - Static method in class com.neilalexander.jnacl.crypto.salsa20
 
crypto_stream_xor_skip32(byte[], byte[], int, byte[], int, long, byte[], byte[]) - Static method in class com.neilalexander.jnacl.crypto.xsalsa20
 
crypto_verify(byte[], int, byte[]) - Static method in class com.neilalexander.jnacl.crypto.verify_16
 
CryptTool - Class in ch.threema.apitool
Contains static methods to do various Threema cryptography related tasks.
CryptTool() - Constructor for class ch.threema.apitool.CryptTool
 
curve25519 - Class in com.neilalexander.jnacl.crypto
 
curve25519() - Constructor for class com.neilalexander.jnacl.crypto.curve25519
 
curve25519xsalsa20poly1305 - Class in com.neilalexander.jnacl.crypto
 
curve25519xsalsa20poly1305() - Constructor for class com.neilalexander.jnacl.crypto.curve25519xsalsa20poly1305
 

D

DataUtils - Class in ch.threema.apitool
 
DataUtils() - Constructor for class ch.threema.apitool.DataUtils
 
decodeKey(String) - Static method in class ch.threema.apitool.Key
Decodes and validates an encoded key.
decodeKey(String, String) - Static method in class ch.threema.apitool.Key
Decodes and validates an encoded key.
decrypt(byte[], byte[], byte[], byte[]) - Static method in class ch.threema.apitool.CryptTool
Decrypt an NaCl box using the recipient's private key and the sender's public key.
decrypt(byte[], byte[]) - Method in class com.neilalexander.jnacl.NaCl
 
decrypt(byte[], int, byte[]) - Method in class com.neilalexander.jnacl.NaCl
 
DecryptAndDownloadCommand - Class in ch.threema.apitool.console.commands
 
DecryptAndDownloadCommand() - Constructor for class ch.threema.apitool.console.commands.DecryptAndDownloadCommand
 
DecryptCommand - Class in ch.threema.apitool.console.commands
 
DecryptCommand() - Constructor for class ch.threema.apitool.console.commands.DecryptCommand
 
decryptFileData(byte[], byte[]) - Static method in class ch.threema.apitool.CryptTool
Decrypt symmetrically encrypted file data.
decryptFileThumbnailData(byte[], byte[]) - Static method in class ch.threema.apitool.CryptTool
Decrypt symmetrically encrypted file thumbnail data.
DecryptionFailedException - Exception in ch.threema.apitool.exceptions
Exception that gets thrown when decryption fails (because the keys are incorrect, or the data is corrupted).
DecryptionFailedException() - Constructor for exception ch.threema.apitool.exceptions.DecryptionFailedException
 
decryptMessage(byte[], byte[], byte[], byte[]) - Static method in class ch.threema.apitool.CryptTool
Decrypt a message.
DeliveryReceipt - Class in ch.threema.apitool.messages
A delivery receipt message that can be sent/received with end-to-end encryption via Threema.
DeliveryReceipt(DeliveryReceipt.Type, List<MessageId>) - Constructor for class ch.threema.apitool.messages.DeliveryReceipt
 
DeliveryReceipt.Type - Enum in ch.threema.apitool.messages
A delivery receipt type.
derivePublicKey(byte[]) - Static method in class ch.threema.apitool.CryptTool
Return the public key that corresponds with a given private key.
derivePublicKey(byte[]) - Static method in class com.neilalexander.jnacl.NaCl
 
DerivePublicKeyCommand - Class in ch.threema.apitool.console.commands
 
DerivePublicKeyCommand() - Constructor for class ch.threema.apitool.console.commands.DerivePublicKeyCommand
 
downloadFile(byte[]) - Method in class ch.threema.apitool.APIConnector
Download a file given its blob ID.
downloadFile(byte[], APIConnector.ProgressListener) - Method in class ch.threema.apitool.APIConnector
Download a file given its blob ID.

E

E2EHelper - Class in ch.threema.apitool.helpers
Helper to handle Threema end-to-end encryption.
E2EHelper(APIConnector, byte[]) - Constructor for class ch.threema.apitool.helpers.E2EHelper
 
E2EHelper.ReceiveMessageResult - Class in ch.threema.apitool.helpers
 
encode() - Method in class ch.threema.apitool.Key
Encodes a key.
encrypt(byte[], byte[], byte[]) - Static method in class ch.threema.apitool.CryptTool
Encrypt data using NaCl asymmetric ("box") encryption.
encrypt(byte[], byte[]) - Method in class com.neilalexander.jnacl.NaCl
 
encrypt(byte[], int, byte[]) - Method in class com.neilalexander.jnacl.NaCl
 
EncryptCommand - Class in ch.threema.apitool.console.commands
 
EncryptCommand() - Constructor for class ch.threema.apitool.console.commands.EncryptCommand
 
encryptFileData(byte[]) - Static method in class ch.threema.apitool.CryptTool
Encrypt file data using NaCl symmetric encryption with a random key.
encryptFileMessage(EncryptResult, UploadResult, String, String, int, UploadResult, byte[], byte[]) - Static method in class ch.threema.apitool.CryptTool
Encrypt a file message.
encryptFileThumbnailData(byte[], byte[]) - Static method in class ch.threema.apitool.CryptTool
Encrypt file thumbnail data using NaCl symmetric encryption with a random key.
encryptImageMessage(EncryptResult, UploadResult, byte[], byte[]) - Static method in class ch.threema.apitool.CryptTool
Encrypt an image message.
EncryptResult - Class in ch.threema.apitool.results
Result of a data encryption
EncryptResult(byte[], byte[], byte[]) - Constructor for class ch.threema.apitool.results.EncryptResult
 
encryptTextMessage(String, byte[], byte[]) - Static method in class ch.threema.apitool.CryptTool
Encrypt a text message.
errors - Variable in class ch.threema.apitool.helpers.E2EHelper.ReceiveMessageResult
 
execute() - Method in class ch.threema.apitool.console.commands.CapabilityCommand
 
execute() - Method in class ch.threema.apitool.console.commands.Command
 
execute() - Method in class ch.threema.apitool.console.commands.CreditsCommand
 
execute() - Method in class ch.threema.apitool.console.commands.DecryptAndDownloadCommand
 
execute() - Method in class ch.threema.apitool.console.commands.DecryptCommand
 
execute() - Method in class ch.threema.apitool.console.commands.DerivePublicKeyCommand
 
execute() - Method in class ch.threema.apitool.console.commands.EncryptCommand
 
execute() - Method in class ch.threema.apitool.console.commands.FetchPublicKey
 
execute() - Method in class ch.threema.apitool.console.commands.GenerateKeyPairCommand
 
execute() - Method in class ch.threema.apitool.console.commands.HashEmailCommand
 
execute() - Method in class ch.threema.apitool.console.commands.HashPhoneCommand
 
execute() - Method in class ch.threema.apitool.console.commands.IDLookupByEmail
 
execute() - Method in class ch.threema.apitool.console.commands.IDLookupByPhoneNo
 
execute() - Method in class ch.threema.apitool.console.commands.SendE2EFileMessageCommand
 
execute() - Method in class ch.threema.apitool.console.commands.SendE2EImageMessageCommand
 
execute() - Method in class ch.threema.apitool.console.commands.SendE2ETextMessageCommand
 
execute() - Method in class ch.threema.apitool.console.commands.SendSimpleMessageCommand
 

F

FetchPublicKey - Class in ch.threema.apitool.console.commands
 
FetchPublicKey() - Constructor for class ch.threema.apitool.console.commands.FetchPublicKey
 
fetchPublicKey(String) - Method in class ch.threema.apitool.PublicKeyStore
Fetch the public key for the given Threema ID from the store.
Field - Class in ch.threema.apitool.console.commands.fields
 
Field(String, boolean) - Constructor for class ch.threema.apitool.console.commands.fields.Field
 
FileField - Class in ch.threema.apitool.console.commands.fields
 
FileField(String, boolean) - Constructor for class ch.threema.apitool.console.commands.fields.FileField
 
FileMessage - Class in ch.threema.apitool.messages
A file message that can be sent/received with end-to-end encryption via Threema.
FileMessage(byte[], byte[], String, String, int, byte[]) - Constructor for class ch.threema.apitool.messages.FileMessage
 
files - Variable in class ch.threema.apitool.helpers.E2EHelper.ReceiveMessageResult
 
FolderField - Class in ch.threema.apitool.console.commands.fields
 
FolderField(String, boolean) - Constructor for class ch.threema.apitool.console.commands.fields.FolderField
 
fromString(String) - Static method in class ch.threema.apitool.messages.FileMessage
 

G

generateKeyPair(byte[], byte[]) - Static method in class ch.threema.apitool.CryptTool
Generate a new key pair.
GenerateKeyPairCommand - Class in ch.threema.apitool.console.commands
 
GenerateKeyPairCommand() - Constructor for class ch.threema.apitool.console.commands.GenerateKeyPairCommand
 
genkeypair(byte[], byte[]) - Static method in class com.neilalexander.jnacl.NaCl
 
genkeypair(byte[], byte[], byte[]) - Static method in class com.neilalexander.jnacl.NaCl
 
get(int) - Static method in enum ch.threema.apitool.messages.DeliveryReceipt.Type
 
getAckedMessageIds() - Method in class ch.threema.apitool.messages.DeliveryReceipt
 
getBinary(String) - Static method in class com.neilalexander.jnacl.NaCl
 
getBlobId() - Method in class ch.threema.apitool.messages.FileMessage
 
getBlobId() - Method in class ch.threema.apitool.messages.ImageMessage
 
getBlobId() - Method in class ch.threema.apitool.results.UploadResult
 
getCapabilities() - Method in class ch.threema.apitool.results.CapabilityResult
Get all capabilities as a string array.
getCode() - Method in enum ch.threema.apitool.messages.DeliveryReceipt.Type
 
getData() - Method in class ch.threema.apitool.messages.DeliveryReceipt
 
getData() - Method in class ch.threema.apitool.messages.FileMessage
 
getData() - Method in class ch.threema.apitool.messages.ImageMessage
 
getData() - Method in class ch.threema.apitool.messages.TextMessage
 
getData() - Method in class ch.threema.apitool.messages.ThreemaMessage
 
getEncryptionKey() - Method in class ch.threema.apitool.messages.FileMessage
 
getErrors() - Method in class ch.threema.apitool.helpers.E2EHelper.ReceiveMessageResult
 
getFileName() - Method in class ch.threema.apitool.messages.FileMessage
 
getFiles() - Method in class ch.threema.apitool.helpers.E2EHelper.ReceiveMessageResult
 
getFileSize() - Method in class ch.threema.apitool.messages.FileMessage
 
getKey() - Method in class ch.threema.apitool.console.commands.fields.Field
 
getKey() - Method in class ch.threema.apitool.results.CapabilityResult
 
getMessageId() - Method in class ch.threema.apitool.helpers.E2EHelper.ReceiveMessageResult
 
getMessageId() - Method in class ch.threema.apitool.MessageId
 
getMimeType() - Method in class ch.threema.apitool.messages.FileMessage
 
getNonce() - Method in class ch.threema.apitool.messages.ImageMessage
 
getNonce() - Method in class ch.threema.apitool.results.EncryptResult
 
getPublicKey(String) - Method in class ch.threema.apitool.PublicKeyStore
Get the public key for a given Threema ID.
getReceiptType() - Method in class ch.threema.apitool.messages.DeliveryReceipt
 
getResponseCode() - Method in class ch.threema.apitool.results.UploadResult
 
getResult() - Method in class ch.threema.apitool.results.EncryptResult
 
getSecret() - Method in class ch.threema.apitool.results.EncryptResult
 
getSize() - Method in class ch.threema.apitool.messages.ImageMessage
 
getSize() - Method in class ch.threema.apitool.results.EncryptResult
 
getSubject() - Method in class ch.threema.apitool.console.commands.Command
 
getText() - Method in class ch.threema.apitool.messages.TextMessage
 
getThumbnailBlobId() - Method in class ch.threema.apitool.messages.FileMessage
 
getTypeCode() - Method in class ch.threema.apitool.messages.DeliveryReceipt
 
getTypeCode() - Method in class ch.threema.apitool.messages.FileMessage
 
getTypeCode() - Method in class ch.threema.apitool.messages.ImageMessage
 
getTypeCode() - Method in class ch.threema.apitool.messages.TextMessage
 
getTypeCode() - Method in class ch.threema.apitool.messages.ThreemaMessage
 
getUsageArguments() - Method in class ch.threema.apitool.console.commands.Command
 
getUsageDescription() - Method in class ch.threema.apitool.console.commands.Command
 
getValue() - Method in class ch.threema.apitool.console.commands.fields.ByteArrayField
 
getValue() - Method in class ch.threema.apitool.console.commands.fields.FileField
 
getValue() - Method in class ch.threema.apitool.console.commands.fields.FolderField
 
getValue() - Method in class ch.threema.apitool.console.commands.fields.PrivateKeyField
 
getValue() - Method in class ch.threema.apitool.console.commands.fields.PublicKeyField
 
getValue() - Method in class ch.threema.apitool.console.commands.fields.TextField
 
getValue() - Method in class ch.threema.apitool.console.commands.fields.ThreemaIDField
 

H

hashEmail(String) - Static method in class ch.threema.apitool.CryptTool
Hashes an email address for identity lookup.
HashEmailCommand - Class in ch.threema.apitool.console.commands
 
HashEmailCommand() - Constructor for class ch.threema.apitool.console.commands.HashEmailCommand
 
HashPhoneCommand - Class in ch.threema.apitool.console.commands
 
HashPhoneCommand() - Constructor for class ch.threema.apitool.console.commands.HashPhoneCommand
 
hashPhoneNo(String) - Static method in class ch.threema.apitool.CryptTool
Hashes a phone number for identity lookup.
hexStringToByteArray(String) - Static method in class ch.threema.apitool.DataUtils
Convert a string in hexadecimal representation to a byte array.
hsalsa20 - Class in com.neilalexander.jnacl.crypto
 
hsalsa20() - Constructor for class com.neilalexander.jnacl.crypto.hsalsa20
 

I

IDLookupByEmail - Class in ch.threema.apitool.console.commands
 
IDLookupByEmail() - Constructor for class ch.threema.apitool.console.commands.IDLookupByEmail
 
IDLookupByPhoneNo - Class in ch.threema.apitool.console.commands
 
IDLookupByPhoneNo() - Constructor for class ch.threema.apitool.console.commands.IDLookupByPhoneNo
 
ImageMessage - Class in ch.threema.apitool.messages
An image message that can be sent/received with end-to-end encryption via Threema.
ImageMessage(byte[], int, byte[]) - Constructor for class ch.threema.apitool.messages.ImageMessage
 
inputStream - Variable in class ch.threema.apitool.APIConnector.InputStreamLength
 
InputStreamLength(InputStream, int) - Constructor for class ch.threema.apitool.APIConnector.InputStreamLength
 
InvalidCommandFieldValueException - Exception in ch.threema.apitool.exceptions
Exception that gets thrown on a illegal call.
InvalidCommandFieldValueException(String) - Constructor for exception ch.threema.apitool.exceptions.InvalidCommandFieldValueException
 
InvalidKeyException - Exception in ch.threema.apitool.exceptions
Exception that gets thrown when an invalid key has been specified (e.g.
InvalidKeyException(String) - Constructor for exception ch.threema.apitool.exceptions.InvalidKeyException
 
isRequired() - Method in class ch.threema.apitool.console.commands.fields.Field
 
isSuccess() - Method in class ch.threema.apitool.results.UploadResult
 
isValid() - Method in class ch.threema.apitool.console.commands.fields.Field
 

K

Key - Class in ch.threema.apitool
Encapsulates an asymmetric key, either public or private.
Key(String, byte[]) - Constructor for class ch.threema.apitool.Key
 
key - Variable in class ch.threema.apitool.Key
 
Key.KeyType - Class in ch.threema.apitool
 
KeyField - Class in ch.threema.apitool.console.commands.fields
 
KeyField(String, boolean) - Constructor for class ch.threema.apitool.console.commands.fields.KeyField
 
KeyType() - Constructor for class ch.threema.apitool.Key.KeyType
 

L

length - Variable in class ch.threema.apitool.APIConnector.InputStreamLength
 
lookupCredits() - Method in class ch.threema.apitool.APIConnector
 
lookupEmail(String) - Method in class ch.threema.apitool.APIConnector
Lookup an ID by email address.
lookupKey(String) - Method in class ch.threema.apitool.APIConnector
Lookup a public key by ID.
lookupKeyCapability(String) - Method in class ch.threema.apitool.APIConnector
Lookup the capabilities of a ID
lookupPhone(String) - Method in class ch.threema.apitool.APIConnector
Lookup an ID by phone number.

M

main(String[]) - Static method in class ch.threema.apitool.ConsoleMain
 
MESSAGE_ID_LEN - Static variable in class ch.threema.apitool.MessageId
 
MessageId - Class in ch.threema.apitool
Encapsulates the 8-byte message IDs that Threema uses.
MessageId(byte[]) - Constructor for class ch.threema.apitool.MessageId
 
MessageId(byte[], int) - Constructor for class ch.threema.apitool.MessageId
 
MessageParseException - Exception in ch.threema.apitool.exceptions
Base class for exceptions that may occur when parsing/decrypting an encrypted Threema message.
MessageParseException() - Constructor for exception ch.threema.apitool.exceptions.MessageParseException
 

N

NaCl - Class in com.neilalexander.jnacl
 
NaCl(byte[], byte[]) - Constructor for class com.neilalexander.jnacl.NaCl
 
NaCl(String, String) - Constructor for class com.neilalexander.jnacl.NaCl
 
NONCEBYTES - Static variable in class com.neilalexander.jnacl.NaCl
 
NotAllowedException - Exception in ch.threema.apitool.exceptions
Exception that gets thrown on a illegal call.
NotAllowedException() - Constructor for exception ch.threema.apitool.exceptions.NotAllowedException
 

P

poly1305 - Class in com.neilalexander.jnacl.crypto
 
poly1305() - Constructor for class com.neilalexander.jnacl.crypto.poly1305
 
PRIVATE - Static variable in class ch.threema.apitool.Key.KeyType
 
PrivateKeyField - Class in ch.threema.apitool.console.commands.fields
 
PrivateKeyField(String, boolean) - Constructor for class ch.threema.apitool.console.commands.fields.PrivateKeyField
 
PUBLIC - Static variable in class ch.threema.apitool.Key.KeyType
 
PUBLICKEYBYTES - Static variable in class com.neilalexander.jnacl.NaCl
 
PublicKeyField - Class in ch.threema.apitool.console.commands.fields
 
PublicKeyField(String, boolean) - Constructor for class ch.threema.apitool.console.commands.fields.PublicKeyField
 
PublicKeyStore - Class in ch.threema.apitool
Stores and caches public keys for Threema users.
PublicKeyStore() - Constructor for class ch.threema.apitool.PublicKeyStore
 

R

randomNonce() - Static method in class ch.threema.apitool.CryptTool
Generate a random nonce.
readHexFile(File) - Static method in class ch.threema.apitool.DataUtils
Read hexadecimal data from a file and return it as a byte array.
readKeyFile(File) - Static method in class ch.threema.apitool.DataUtils
Read an encoded key from a file and return it as a key instance.
readKeyFile(File, String) - Static method in class ch.threema.apitool.DataUtils
Read an encoded key from a file and return it as a key instance.
readStream(InputStream, String) - Method in class ch.threema.apitool.console.commands.Command
 
receiveMessage(String, String, byte[], byte[], Path) - Method in class ch.threema.apitool.helpers.E2EHelper
Decrypt a Message and download the blobs of the Message (e.g.
ReceiveMessageResult(String, ThreemaMessage) - Constructor for class ch.threema.apitool.helpers.E2EHelper.ReceiveMessageResult
 
RequiredCommandFieldMissingException - Exception in ch.threema.apitool.exceptions
Exception that gets thrown on a illegal call.
RequiredCommandFieldMissingException(String) - Constructor for exception ch.threema.apitool.exceptions.RequiredCommandFieldMissingException
 
run(String[]) - Method in class ch.threema.apitool.console.commands.Command
 

S

salsa20 - Class in com.neilalexander.jnacl.crypto
 
salsa20() - Constructor for class com.neilalexander.jnacl.crypto.salsa20
 
save(String, byte[]) - Method in class ch.threema.apitool.PublicKeyStore
Save the public key for a given Threema ID in the store.
SECRETKEYBYTES - Static variable in class com.neilalexander.jnacl.NaCl
 
selfTest() - Static method in class com.neilalexander.jnacl.NaCl
 
SendE2EFileMessageCommand - Class in ch.threema.apitool.console.commands
 
SendE2EFileMessageCommand() - Constructor for class ch.threema.apitool.console.commands.SendE2EFileMessageCommand
 
SendE2EImageMessageCommand - Class in ch.threema.apitool.console.commands
 
SendE2EImageMessageCommand() - Constructor for class ch.threema.apitool.console.commands.SendE2EImageMessageCommand
 
sendE2EMessage(String, byte[], byte[]) - Method in class ch.threema.apitool.APIConnector
Send an end-to-end encrypted message.
SendE2ETextMessageCommand - Class in ch.threema.apitool.console.commands
 
SendE2ETextMessageCommand() - Constructor for class ch.threema.apitool.console.commands.SendE2ETextMessageCommand
 
sendFileMessage(String, File, File) - Method in class ch.threema.apitool.helpers.E2EHelper
Encrypt a file message and send it to the given recipient.
sendImageMessage(String, String) - Method in class ch.threema.apitool.helpers.E2EHelper
Encrypt an image message and send it to the given recipient.
SendSimpleMessageCommand - Class in ch.threema.apitool.console.commands
 
SendSimpleMessageCommand() - Constructor for class ch.threema.apitool.console.commands.SendSimpleMessageCommand
 
sendTextMessage(String, String) - Method in class ch.threema.apitool.helpers.E2EHelper
Encrypt a text message and send it to the given recipient.
sendTextMessageSimple(String, String) - Method in class ch.threema.apitool.APIConnector
Send a text message with server-side encryption.
separator - Static variable in class ch.threema.apitool.Key
 
setPublicKey(String, byte[]) - Method in class ch.threema.apitool.PublicKeyStore
Store the public key for a given Threema ID in the cache, and the underlying store.
setValue(String) - Method in class ch.threema.apitool.console.commands.fields.Field
 
sigma - Static variable in class com.neilalexander.jnacl.crypto.xsalsa20
 
streamCryptData(byte[], byte[], byte[]) - Static method in class com.neilalexander.jnacl.NaCl
 
STREAMKEYBYTES - Static variable in class com.neilalexander.jnacl.NaCl
 
symmetricDecryptData(byte[], byte[], byte[]) - Static method in class com.neilalexander.jnacl.NaCl
 
symmetricDecryptDataInplace(byte[], byte[], byte[]) - Static method in class com.neilalexander.jnacl.NaCl
In-place version of symmetricDecryptData(byte[], byte[], byte[]) that stores the output in the same byte array as the input.
symmetricEncryptData(byte[], byte[], byte[]) - Static method in class com.neilalexander.jnacl.NaCl
 
symmetricEncryptDataInplace(byte[], byte[], byte[]) - Static method in class com.neilalexander.jnacl.NaCl
In-place version of symmetricEncryptData(byte[], byte[], byte[]) that stores the output in the same byte array as the input.
SYMMKEYBYTES - Static variable in class com.neilalexander.jnacl.NaCl
 

T

TextField - Class in ch.threema.apitool.console.commands.fields
 
TextField(String, boolean) - Constructor for class ch.threema.apitool.console.commands.fields.TextField
 
TextMessage - Class in ch.threema.apitool.messages
A text message that can be sent/received with end-to-end encryption via Threema.
TextMessage(String) - Constructor for class ch.threema.apitool.messages.TextMessage
 
ThreemaIDField - Class in ch.threema.apitool.console.commands.fields
 
ThreemaIDField(String, boolean) - Constructor for class ch.threema.apitool.console.commands.fields.ThreemaIDField
 
ThreemaMessage - Class in ch.threema.apitool.messages
Abstract base class of messages that can be sent with end-to-end encryption via Threema.
ThreemaMessage() - Constructor for class ch.threema.apitool.messages.ThreemaMessage
 
toString() - Method in class ch.threema.apitool.MessageId
 
toString() - Method in class ch.threema.apitool.messages.DeliveryReceipt
 
toString() - Method in class ch.threema.apitool.messages.FileMessage
 
toString() - Method in class ch.threema.apitool.messages.ImageMessage
 
toString() - Method in class ch.threema.apitool.messages.TextMessage
 
toString() - Method in class ch.threema.apitool.results.CapabilityResult
 
type - Variable in class ch.threema.apitool.Key
 
TYPE_CODE - Static variable in class ch.threema.apitool.messages.DeliveryReceipt
 
TYPE_CODE - Static variable in class ch.threema.apitool.messages.FileMessage
 
TYPE_CODE - Static variable in class ch.threema.apitool.messages.ImageMessage
 
TYPE_CODE - Static variable in class ch.threema.apitool.messages.TextMessage
 

U

UnsupportedMessageTypeException - Exception in ch.threema.apitool.exceptions
Exception that gets thrown when an attempt has been made to decrypt a message of a type that is not supported by this library.
UnsupportedMessageTypeException() - Constructor for exception ch.threema.apitool.exceptions.UnsupportedMessageTypeException
 
updateProgress(int) - Method in interface ch.threema.apitool.APIConnector.ProgressListener
Update the progress of an upload/download process.
uploadFile(EncryptResult) - Method in class ch.threema.apitool.APIConnector
Upload a file.
UploadResult - Class in ch.threema.apitool.results
Result of a file upload
UploadResult(int, byte[]) - Constructor for class ch.threema.apitool.results.UploadResult
 

V

validate() - Method in class ch.threema.apitool.console.commands.fields.Field
 
validate() - Method in class ch.threema.apitool.console.commands.fields.FileField
 
value - Variable in class ch.threema.apitool.console.commands.fields.Field
 
valueOf(String) - Static method in enum ch.threema.apitool.messages.DeliveryReceipt.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum ch.threema.apitool.messages.DeliveryReceipt.Type
Returns an array containing the constants of this enum type, in the order they are declared.
verify_16 - Class in com.neilalexander.jnacl.crypto
 
verify_16() - Constructor for class com.neilalexander.jnacl.crypto.verify_16
 

W

writeHexFile(File, byte[]) - Static method in class ch.threema.apitool.DataUtils
Write a byte array into a file in hexadecimal format.
writeKeyFile(File, Key) - Static method in class ch.threema.apitool.DataUtils
Write an encoded key to a file Encoded key format: type:hex_key.

X

xsalsa20 - Class in com.neilalexander.jnacl.crypto
 
xsalsa20() - Constructor for class com.neilalexander.jnacl.crypto.xsalsa20
 
xsalsa20poly1305 - Class in com.neilalexander.jnacl.crypto
 
xsalsa20poly1305() - Constructor for class com.neilalexander.jnacl.crypto.xsalsa20poly1305
 

Z

ZEROBYTES - Static variable in class com.neilalexander.jnacl.NaCl
 
A B C D E F G H I K L M N P R S T U V W X Z 
Skip navigation links

Copyright © 2015 Threema GmbH, Staldenbachstrasse 11, 8808 Pfäffikon SZ, Schweiz. All rights reserved.