Uses of Class
ch.threema.apitool.results.EncryptResult
Packages that use EncryptResult
-
Uses of EncryptResult in ch.threema.apitool
Methods in ch.threema.apitool that return EncryptResultModifier and TypeMethodDescriptionstatic EncryptResultCryptTool.encrypt(byte[] data, byte[] privateKey, byte[] publicKey) Encrypt data using NaCl asymmetric ("box") encryption.static EncryptResultCryptTool.encryptBallotCreateMessage(byte[] ballotId, String description, State state, VotingMode votingMode, ResultsDisclosureType resultsDisclosureType, int order, DisplayMode displayMode, List<BallotChoice> choices, List<String> participants, byte[] senderPrivateKey, byte[] recipientPublicKey) Encrypt a Ballotstatic EncryptResultCryptTool.encryptBallotVoteMessage(byte[] creator, byte[] ballotId, List<VoteChoice> votes, byte[] senderPrivateKey, byte[] recipientPublicKey) Encrypt a Ballotstatic EncryptResultCryptTool.encryptDeliveryReceipt(DeliveryReceipt.Type receiptType, List<MessageId> ackedMessageIds, byte[] senderPrivateKey, byte[] recipientPublicKey) Encrypt a Deliverystatic EncryptResultCryptTool.encryptFileData(byte[] data) Encrypt file data using NaCl symmetric encryption with a random key.static EncryptResultCryptTool.encryptFileMessage(byte[] blobId, byte[] thumbnailBlobId, String thumbnailMediaType, byte[] encryptionKey, String mimeType, String fileName, int size, String caption, FileRenderingType renderingType, String correlationId, Map<String, Object> metadata, byte[] senderPrivateKey, byte[] recipientPublicKey) Encrypt a Filestatic EncryptResultCryptTool.encryptFileThumbnailData(byte[] data, byte[] encryptionKey) Encrypt file thumbnail data using NaCl symmetric encryption with a random key.static EncryptResultCryptTool.encryptGroupBallotCreateMessage(GroupId groupId, byte[] ballotId, String description, State state, VotingMode votingMode, ResultsDisclosureType resultsDisclosureType, int order, DisplayMode displayMode, List<BallotChoice> choices, List<String> participants, byte[] senderPrivateKey, byte[] recipientPublicKey) Encrypt a Groupstatic EncryptResultCryptTool.encryptGroupBallotVoteMessage(GroupId groupId, byte[] creator, byte[] ballotId, List<VoteChoice> votes, byte[] senderPrivateKey, byte[] recipientPublicKey) Encrypt a Groupstatic EncryptResultCryptTool.encryptGroupCreateMessage(GroupId groupId, List<String> members, byte[] senderPrivateKey, byte[] recipientPublicKey) Encrypt a Groupstatic EncryptResultCryptTool.encryptGroupDeletePhoto(GroupId groupId, byte[] senderPrivateKey, byte[] recipientPublicKey) Encrypt a Groupstatic EncryptResultCryptTool.encryptGroupDeliveryReceipt(GroupId groupId, DeliveryReceipt.Type receiptType, List<MessageId> ackedMessageIds, byte[] senderPrivateKey, byte[] recipientPublicKey) Encrypt a Groupstatic EncryptResultCryptTool.encryptGroupFileMessage(GroupId groupId, byte[] blobId, byte[] thumbnailBlobId, String thumbnailMediaType, byte[] encryptionKey, String mimeType, String fileName, int size, String caption, FileRenderingType renderingType, String correlationId, Map<String, Object> metadata, byte[] senderPrivateKey, byte[] recipientPublicKey) Encrypt a Groupstatic EncryptResultCryptTool.encryptGroupLeaveMessage(GroupId groupId, byte[] senderPrivateKey, byte[] recipientPublicKey) Encrypt a Groupstatic EncryptResultCryptTool.encryptGroupLocationMessage(GroupId groupId, String latitude, String longitude, Float accuracy, String poiName, String address, byte[] senderPrivateKey, byte[] recipientPublicKey) Encrypt a Groupstatic EncryptResultCryptTool.encryptGroupRenameMessage(GroupId groupId, String groupName, byte[] senderPrivateKey, byte[] recipientPublicKey) Encrypt a Groupstatic EncryptResultCryptTool.encryptGroupRequestSyncMessage(GroupId groupId, byte[] senderPrivateKey, byte[] recipientPublicKey) Encrypt a Groupstatic EncryptResultCryptTool.encryptGroupSetPhoto(GroupId groupId, byte[] blobId, int size, byte[] encryptionKey, byte[] senderPrivateKey, byte[] recipientPublicKey) Encrypt a Groupstatic EncryptResultCryptTool.encryptGroupTextMessage(GroupId groupId, String text, byte[] senderPrivateKey, byte[] recipientPublicKey) Encrypt a Groupstatic EncryptResultCryptTool.encryptImageMessage(EncryptResult encryptResult, UploadResult uploadResult, byte[] senderPrivateKey, byte[] recipientPublicKey) Deprecated.static EncryptResultCryptTool.encryptLocationMessage(String latitude, String longitude, Float accuracy, String poiName, String address, byte[] senderPrivateKey, byte[] recipientPublicKey) Encrypt a Locationstatic EncryptResultCryptTool.encryptTextMessage(String text, byte[] senderPrivateKey, byte[] recipientPublicKey) Encrypt a TextMethods in ch.threema.apitool with parameters of type EncryptResultModifier and TypeMethodDescriptionstatic EncryptResultCryptTool.encryptImageMessage(EncryptResult encryptResult, UploadResult uploadResult, byte[] senderPrivateKey, byte[] recipientPublicKey) Deprecated.APIConnector.uploadFile(EncryptResult fileEncryptionResult) Upload a file.APIConnector.uploadFile(EncryptResult fileEncryptionResult, boolean persist) Upload a file.