Uses of Class
ch.threema.apitool.exceptions.InvalidKeyException
Packages that use InvalidKeyException
Package
Description
-
Uses of InvalidKeyException in ch.threema.apitool.console.commands.fields
Methods in ch.threema.apitool.console.commands.fields that throw InvalidKeyException -
Uses of InvalidKeyException in ch.threema.apitool.helpers
Methods in ch.threema.apitool.helpers that throw InvalidKeyExceptionModifier and TypeMethodDescriptionE2EHelper.receiveMessage(String threemaId, String messageId, byte[] box, byte[] nonce, Path outputFolder) Decrypt a Message and download the blobs of the Message (e.g. image or file)E2EHelper.sendBallotCreateMessage(String threemaId, byte[] ballotId, String description, State state, VotingMode votingMode, ResultsDisclosureType resultsDisclosureType, DisplayMode displayMode, List<BallotChoice> choices, List<String> participants) Encrypt a ballot create message and send it to the given recipient.E2EHelper.sendBallotVoteMessage(String threemaId, byte[] creator, byte[] ballotId, List<VoteChoice> votes) Encrypt a ballot vote message and send it to the given recipient.E2EHelper.sendDeliveryReceipt(String threemaId, List<MessageId> ackedMessageIds, DeliveryReceipt.Type receiptType) Encrypt a delivery receipt and send it to the original sender.E2EHelper.sendFileMessage(String threemaId, File fileMessageFile) Encrypt a file message and send it to the given recipient.E2EHelper.sendFileMessage(String threemaId, File fileMessageFile, File thumbnailMessagePath, String caption) Encrypt a file message and send it to the given recipient.E2EHelper.sendFileMessage(String threemaId, File fileMessageFile, File thumbnailMessagePath, String caption, FileRenderingType renderingType) Encrypt a file message and send it to the given recipient.E2EHelper.sendFileMessage(String threemaId, File fileMessageFile, File thumbnailMessageFile, String caption, FileRenderingType renderingType, String correlationId, Map<String, Object> metadata) Encrypt a file message and send it to the given recipient.ApiResponse<org.json.JSONArray> E2EHelper.sendGroupBallotCreateMessage(List<String> threemaIds, GroupId groupId, byte[] ballotId, String description, State state, VotingMode votingMode, ResultsDisclosureType resultsDisclosureType, DisplayMode displayMode, List<BallotChoice> choices, List<String> participants) Encrypt a ballot create message and send it to the given group.ApiResponse<org.json.JSONArray> E2EHelper.sendGroupBallotVoteMessage(List<String> threemaIds, byte[] creator, GroupId groupId, byte[] ballotId, List<VoteChoice> votes) Encrypt a ballot vote message and send it to the given group.ApiResponse<org.json.JSONArray> Encrypt a group create message and send it to the given group.ApiResponse<org.json.JSONArray> E2EHelper.sendGroupDeletePhotoMessage(List<String> threemaIds, GroupId groupId) Encrypt a group delete photo message and send it to the given group.ApiResponse<org.json.JSONArray> E2EHelper.sendGroupDeliveryReceipt(List<String> threemaIds, GroupId groupId, List<MessageId> ackedMessageIds, DeliveryReceipt.Type receiptType) Encrypt a group delivery receipt and send it to all group membersApiResponse<org.json.JSONArray> E2EHelper.sendGroupFileMessage(List<String> threemaId, GroupId groupId, File fileMessageFile) Encrypt a file message and send it to the given group.ApiResponse<org.json.JSONArray> E2EHelper.sendGroupFileMessage(List<String> threemaId, GroupId groupId, File fileMessageFile, File thumbnailMessageFile, String caption, FileRenderingType renderingType) Encrypt a file message and send it to the given group.ApiResponse<org.json.JSONArray> E2EHelper.sendGroupFileMessage(List<String> threemaIds, GroupId groupId, File fileMessageFile, File thumbnailMessageFile, String caption, FileRenderingType renderingType, String correlationId, Map<String, Object> metadata) Encrypt a file message and send it to the given group.ApiResponse<org.json.JSONArray> E2EHelper.sendGroupLeaveMessage(List<String> threemaIds, GroupId groupId) Encrypt a group leave message and send it to the given group.ApiResponse<org.json.JSONArray> E2EHelper.sendGroupLocationMessage(List<String> threemaIds, GroupId groupId, String lat, String lng, Float accuracy, String poiName, String poiAddress) Encrypt a file message and send it to the given group.ApiResponse<org.json.JSONArray> E2EHelper.sendGroupLocationMessage(List<String> threemaIds, GroupId groupId, String lat, String lng, String poiName, String poiAddress) Encrypt a file message and send it to the given group.ApiResponse<org.json.JSONArray> E2EHelper.sendGroupRenameMessage(List<String> threemaIds, GroupId groupId, String newGroupName) Encrypt a group rename message and send it to the given group.ApiResponse<org.json.JSONArray> E2EHelper.sendGroupRequestSyncMsg(List<String> threemaIds, GroupId groupId) Encrypt a group request sync message and send it to the given group.ApiResponse<org.json.JSONArray> E2EHelper.sendGroupSetPhotoMessage(List<String> threemaIds, GroupId groupId, File groupPhotoInJpg) Encrypt a group set photo message and send it to the given group.ApiResponse<org.json.JSONArray> E2EHelper.sendGroupTextMessage(List<String> threemaIds, GroupId groupId, String text) Encrypt a file message and send it to the given group.E2EHelper.sendImageMessage(String threemaId, String imageFilePath) Deprecated. -
Uses of InvalidKeyException in ch.threema.apitool.types
Methods in ch.threema.apitool.types that throw InvalidKeyException -
Uses of InvalidKeyException in ch.threema.apitool.utils
Methods in ch.threema.apitool.utils that throw InvalidKeyExceptionModifier and TypeMethodDescriptionstatic KeyDataUtils.readKeyFile(File inFile) Read an encoded key from a file and return it as a key instance.static KeyDataUtils.readKeyFile(File inFile, String expectedKeyType) Read an encoded key from a file and return it as a key instance.