protocol library
DIMP
Decentralized Instant Messaging Protocol
Classes
- Address
- Interface for network addresses used to identify MKM ID entities.
- AddressFactory
- Factory interface for creating and parsing Address instances.
- ArrayContent
- Content array interface for sending multiple contents in one message.
- AsymmetricKey
- Base interface for asymmetric cryptographic keys (public/private key pairs).
- AudioContent
- Audio message content interface.
- Bulletin
- Group Bulletin document interface (group-specific announcement document).
- CombineContent
- Combined forward content for chat history forwarding.
- Command
- Command message content interface.
- CommandFactory
- Factory interface for parsing command messages from map objects.
- Content
- Interface for message content (body) that contains the actual message data.
- ContentFactory
- Factory interface for parsing Content instances from serialized data.
- ContentType
- A flag to indicate what kind of message content this is.
- CryptographyKey
- Base interface for cryptographic keys with algorithm identification.
- DecryptKey
- Interface for decryption keys (symmetric or asymmetric private keys).
- Document
- Interface for entity profile documents (extends TAI with structured data).
- DocumentCommand
- Document command interface for querying/updating entity documents.
- DocumentFactory
- Factory interface for creating and parsing Document instances.
- DocumentType
- Document types.
- EncryptKey
- Interface for encryption keys (symmetric or asymmetric public keys).
- EntityType
- A network ID to indicate what kind the entity is.
- Envelope
- Interface for message envelopes (headers) that contain routing/metadata for messages.
- EnvelopeFactory
- Factory interface for creating and parsing Envelope instances.
- ExpelCommand
- Group expel command interface (DEPRECATED).
- FileContent
- File message content interface.
- ForwardContent
- Top-secret forward content. Wraps secure and certified messages.
- GroupCommand
- Group command interface for tracking group member/role changes.
- HistoryCommand
- History command interface for recording operational history.
- ID
- Interface for unique identifiers (ID) of network entities (users/groups).
- Identifier
- Concrete implementation of ID (wraps a constant string).
- IDFactory
- Factory interface for creating and parsing ID instances.
- ImageContent
- Image message content interface.
- InstantMessage
- Interface for plaintext instant messages (unencrypted, first stage).
- InstantMessageFactory
- Factory interface for creating and parsing InstantMessage instances.
- InviteCommand
- Group invite command interface.
- JoinCommand
- Group join command interface.
- Message
- Message transformation workflow and cryptographic operations.
- Meta
- Interface for immutable metadata of network entities (users/groups).
- MetaCommand
- Meta command interface for querying/updating entity metadata.
- MetaFactory
- Factory interface for creating and parsing Meta instances.
- MetaType
- @enum MetaType
- MoneyContent
- Money content interface.
- NameCard
- Name card (contact) content interface.
- PageContent
- Web page message content interface.
- PrivateKey
- Interface for asymmetric private keys (part of a key pair).
- PrivateKeyFactory
- Factory interface for creating and parsing PrivateKey instances.
- PublicKey
- Interface for asymmetric public keys (part of a key pair).
- PublicKeyFactory
- Factory interface for parsing PublicKey instances from serialized data.
- QuitCommand
- Group quit command interface.
- QuoteContent
- Quote reply message content interface.
- ReceiptCommand
- Command message: { "type" : i2s(0x88), "sn" : 67890,
- ReliableMessage
- Interface for signed reliable messages (third/final stage).
- ReliableMessageFactory
- Factory interface for parsing ReliableMessage instances from serialized data.
- ResetCommand
- Group reset command interface.
- SecureMessage
- Interface for encrypted secure messages (second stage).
- SecureMessageFactory
- Factory interface for parsing SecureMessage instances from serialized data.
- SignKey
- Interface for private signing keys (asymmetric).
- SymmetricKey
- Interface for symmetric cryptographic keys (single key for encryption/decryption).
- SymmetricKeyFactory
- Factory interface for creating and parsing SymmetricKey instances.
- TAI
- Interface for The Additional Information (TAI) of network entities.
- TextContent
- Text message content interface.
- TransferContent
- Transfer money content interface. Extends MoneyContent with sender and receiver.
- VerifyKey
- Interface for public verification keys (asymmetric).
- VideoContent
- Video message content interface.
- Visa
- User Visa document interface (user-specific authorization document).