Commit graph

492 commits

Author SHA1 Message Date
netkas
f9185b5969 Add EncryptionChannelRejectMessage class to handle message rejection in encryption channels 2025-03-06 15:16:43 -05:00
netkas
ec44e85a5e Improve documentation for encryption channel methods and add rejection functionality 2025-03-06 15:14:33 -05:00
netkas
91153a3532 Add factory method to create InvalidRpcArgumentException from InvalidArgumentException 2025-03-06 15:14:27 -05:00
netkas
1fedaa27c4 Refactor channel retrieval methods to support pagination and enhance peer address validation 2025-03-06 15:14:23 -05:00
netkas
fa78fdbac2 Add methods for managing encrypted channels, including acceptance, acknowledgment, creation, and retrieval 2025-03-04 13:50:37 -05:00
netkas
e3ca7869e2 Rename getAddress method to getPeerAddress for clarity 2025-03-04 13:41:57 -05:00
netkas
d9955f9393 Add EncryptionChannelMessage class for managing encryption channel message data 2025-03-04 13:41:52 -05:00
netkas
912de28871 Add methods to retrieve message owner and receiver, and convert record to standard message 2025-03-04 13:41:48 -05:00
netkas
1723983072 Add getSharedSecret method for Diffie-Hellman key exchange in EncryptionChannelSecret 2025-03-04 13:41:44 -05:00
netkas
4a37844920 Add EncryptionChannelInstance class for managing encryption channel messages 2025-03-04 13:41:39 -05:00
netkas
8a843eb60b Refactor RegisteredPeerManager to use getPeerAddress() for domain and username retrieval 2025-03-04 13:41:36 -05:00
netkas
8663de6e61 Add method to acknowledge a batch of messages in EncryptionChannelManager 2025-03-04 13:41:32 -05:00
netkas
a0dcec9733 Add ENCRYPTION_CHANNEL_ACKNOWLEDGE_MESSAGE case to StandardMethods enum 2025-03-04 13:41:26 -05:00
netkas
90324072b1 Fix incorrect method call for retrieving peer address in EncryptionDeclineChannel 2025-03-04 13:41:22 -05:00
netkas
3a5bf57ec1 Add EncryptionChannelReceive class for handling incoming messages in encryption channels 2025-03-04 13:41:17 -05:00
netkas
23d08f45ee Enhance EncryptionChannelAcknowledgeMessage to validate message_uuid and handle external acknowledgments 2025-03-04 13:41:12 -05:00
netkas
e142add843 Fix incorrect method call for retrieving peer address in EncryptionAcceptChannel 2025-03-04 13:41:07 -05:00
netkas
8dde6fed13 Added EncryptionChannelAcknowledge method for handling message acknowledgments in encryption channels 2025-03-04 13:41:00 -05:00
netkas
371ebfec1a Correction 2025-03-03 15:35:24 -05:00
netkas
0643f3edfd Added EncryptionGetChannel 2025-03-03 15:04:11 -05:00
netkas
5a87d5ccd1 Added EncryptionDeclineChannel 2025-03-03 15:03:41 -05:00
netkas
02b3f1931c Added EncryptionCreateChannel 2025-03-03 15:03:20 -05:00
netkas
49c6a8ebbc Added EncryptionChannelSend 2025-03-03 15:03:01 -05:00
netkas
f4c3954b06 Add encryption channel methods and related classes 2025-03-03 14:59:37 -05:00
netkas
b4cd8092e4 Add encryption channel methods and related classes 2025-03-03 14:59:15 -05:00
netkas
1b3829f62e Implement encryption channel methods and refactor related classes 2025-03-03 14:58:37 -05:00
netkas
fe5909aeae Added EncryptionChannelMessageStatus 2025-03-03 14:41:12 -05:00
netkas
0e1201bc86 Added EncryptionAcceptChannel 2025-03-03 14:40:14 -05:00
netkas
526dbd8ff1 Refactored parameter names and encryptionChannelSecrets 2025-03-03 14:39:20 -05:00
netkas
9eeab95e4d Logic Correction from "AND" to "OR" 2025-03-03 14:38:59 -05:00
netkas
603ee57511 Added nullable $parameterName for InvalidRpcArgumentException 2025-03-03 14:38:42 -05:00
netkas
47ebcb71ae Refactored EncryptionChannelSecret 2025-03-03 14:38:32 -05:00
netkas
4152c06469 Added methods to determine certain types 2025-03-03 14:38:20 -05:00
netkas
d18b00493d Minor improvements 2025-03-03 14:37:07 -05:00
netkas
865dd96660 Add encryption_channels_com table for managing encrypted communication messages 2025-03-03 04:26:53 -05:00
netkas
a13703b633 Add encryption_channels_com table for managing encrypted communication messages 2025-03-03 04:26:48 -05:00
netkas
545c8aa3d5 Add UUID_MISMATCH error case to StandardError enum 2025-03-03 04:26:43 -05:00
netkas
7d63b6411d Remove unnecessary exception documentation from isExternal method 2025-03-03 04:26:37 -05:00
netkas
ef9336ca54 Refactor containsParameter method to improve null and empty string handling 2025-03-03 04:26:29 -05:00
netkas
d2e4ebd657 Rename ENCRYPTED_CHANNELS and CHANNEL_COM constants to ENCRYPTION_CHANNELS and ENCRYPTION_CHANNELS_COM for consistency 2025-03-03 04:26:23 -05:00
netkas
42b5ec5cdb Add EncryptionCloseChannel method for managing encryption channel closure 2025-03-03 04:26:14 -05:00
netkas
27a0005468 Remove obsolete encrypted_channels.sql file 2025-03-03 04:26:05 -05:00
netkas
f1dbf5a4d0 Handle InvalidArgumentException in RPC processing and update error messages 2025-03-03 04:25:40 -05:00
netkas
bb94ae8d78 Add .vscode to .gitignore 2025-03-03 04:25:30 -05:00
netkas
c018cc8c04 Renamed encrypted_channels.sql to encryption_channels.sql and added encryption_channels_com.sql 2025-03-03 04:24:33 -05:00
netkas
94b6e1ff01 Added EncryptionChannelMessageRecord and EncryptionChannelRecord 2025-02-21 22:59:42 -05:00
netkas
1c95fb93ea Refactored EncryptionChannelManager 2025-02-21 22:59:20 -05:00
netkas
28a5cb9b07 Renamed CommunicationRecipientType.php to EncryptionMessageRecipient.php 2025-02-21 22:59:10 -05:00
netkas
4a2a307fed Renamed EncryptionChannelState.php to EncryptionChannelStatus.php 2025-02-21 22:58:45 -05:00
netkas
1f5a04d04e Updated PhpDoc 2025-02-21 22:58:04 -05:00