dimp library
DIMP
Decentralized Instant Messaging Protocol
Classes
- AccountExtensions
- Singleton extension class for account system operations.
- Address
- Interface for network addresses used to identify MKM ID entities.
- AddressFactory
- Factory interface for creating and parsing Address instances.
- AddressHelper
- Helper interface for address management in the account system.
- ArrayContent
- Content array interface for sending multiple contents in one message.
- Arrays
- AsymmetricAlgorithms
- Algorithms for Asymmetric Key
- AsymmetricKey
- Base interface for asymmetric cryptographic keys (public/private key pairs).
- AudioContent
- Audio message content interface.
- AudioFileContent
- AudioContent
- Base58
- Base64
- Base64Data
- Base-64 encoding
- BaseBulletin
- Base Document for Group
- BaseCommand
- Command
- BaseComparator
- BaseContent
- BaseConverter
- BaseCopier
- BaseData
- BaseDocument
- BaseDocumentCommand
- DocumentCommand
- BaseFileContent
- File Content
- BaseGroupCommand
- GroupCommand
- BaseHistoryCommand
- HistoryCommand
- BaseMessage
- Message with Envelope
- BaseMeta
- User/Group Meta data
- BaseMetaCommand
- MetaCommand
- BaseMoneyContent
- MoneyContent
- BaseQuoteContent
- QuoteContent
- BaseReceiptCommand
- BaseString
- BaseTextContent
- TextContent
- BaseVisa
- Base Document for User
- BaseWrapper
- Bulletin
- Group Bulletin document interface (group-specific announcement document).
- CharSequence
- CombineContent
- Combined forward content for chat history forwarding.
- CombineForwardContent
- CombineContent
- Command
- Command message content interface.
- CommandFactory
- Factory interface for parsing command messages from map objects.
- CommandHelper
- General Helper
- Comparator
- Data Compare Utilities
- ConstantString
- Content
- Interface for message content (body) that contains the actual message data.
- ContentFactory
- Factory interface for parsing Content instances from serialized data.
- ContentHelper
- Helper interface for message content management.
- ContentType
- @enum ContentType
- Converter
- Data Convert Utilities
- Copier
- Data Copy Utilities
- CryptoExtensions
- Singleton extension class for cryptographic key operations.
- CryptographyKey
- Base interface for cryptographic keys with algorithm identification.
- DataCoder
- Interface for encoding/decoding binary data to/from string representations.
- DataComparator
- DataConverter
- DataCopier
- DataWrapper
- DecryptKey
- Interface for decryption keys (symmetric or asymmetric private keys).
- Dictionary
- Wraps a mutable map, invariant: all keys must be real String instances.
- 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.
- DocumentHelper
- Helper interface for document management in the account system.
- DocumentType
- EmbedData
- RFC 2397
- EncodeAlgorithms
- Algorithms for Encoding Data
- EncryptedMessage
- Secure Message
- EncryptKey
- Interface for encryption keys (symmetric or asymmetric public keys).
- EntityType
- @enum MKMEntityType
- Envelope
- Interface for message envelopes (headers) that contain routing/metadata for messages.
- EnvelopeFactory
- Factory interface for creating and parsing Envelope instances.
- EnvelopeHelper
- Helper interface for message envelope management.
- ExpelCommand
- Group expel command interface (DEPRECATED).
- ExpelGroupCommand
- ExpelCommand (Deprecated, use 'reset' instead)
- FileContent
- File message content interface.
- FormatExtensions
- Singleton extension class for message format operations.
- ForwardContent
- Top-secret forward content. Wraps secure and certified messages.
- GeneralAccountHelper
- General account helper interface for common account system utilities.
- GeneralCommandHelper
- A helper interface for extracting command names from structured command content.
- GeneralCryptoHelper
- General cryptographic helper interface for key validation and algorithm handling.
- GeneralMessageHelper
- General message helper interface for common message system utilities.
- GroupCommand
- Group command interface for tracking group member/role changes.
- Hex
- HistoryCommand
- History command interface for recording operational history.
- ID
- Interface for unique identifiers (ID) of network entities (users/groups).
- Identifier
- IDFactory
- Factory interface for creating and parsing ID instances.
- IDHelper
- Helper interface for ID management in the account system.
- ImageContent
- Image message content interface.
- ImageFileContent
- ImageContent
- InstantMessage
- Interface for plaintext instant messages (unencrypted, first stage).
- InstantMessageFactory
- Factory interface for creating and parsing InstantMessage instances.
- InstantMessageHelper
- Helper interface for instant message management.
- InviteCommand
- Group invite command interface.
- InviteGroupCommand
- InviteCommand
- JoinCommand
- Group join command interface.
- JoinGroupCommand
- JoinCommand
- JSON
- JSONMap
- KECCAK256
- ListContent
- ArrayContent
- MapCoder
- coder for json <=> map
-
Mapper<
K, V> - Message
- Message transformation workflow and cryptographic operations.
- MessageDigester
- Interface for computing cryptographic hashes (message digests) of binary data.
- MessageEnvelope
- Envelope for message
- MessageExtensions
- Singleton extension class for message system 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.
- MetaHelper
- Helper interface for metadata (Meta) management in the account system.
- MetaType
- @enum MetaType
- MoneyContent
- Money content interface.
- NameCard
- Name card (contact) content interface.
- NameCardContent
- NameCard
- NetworkMessage
- Reliable Message signed by an asymmetric key
-
ObjectCoder<
T> - Generic interface for serializing/deserializing objects to/from string formats.
- PageContent
- Web page message content interface.
- PlainData
- UTF-8 encoding
- PlainMessage
- Instant Message
- PortableNetworkFile
- PortableNetworkFileWrapper
- PrivateKey
- Interface for asymmetric private keys (part of a key pair).
- PrivateKeyFactory
- Factory interface for creating and parsing PrivateKey instances.
- PrivateKeyHelper
- Helper interface for private key management.
- PublicKey
- Interface for asymmetric public keys (part of a key pair).
- PublicKeyFactory
- Factory interface for parsing PublicKey instances from serialized data.
- PublicKeyHelper
- Helper interface for public key management.
- QuitCommand
- Group quit command interface.
- QuitGroupCommand
- QuitCommand
- QuoteContent
- Quote reply message content interface.
- QuoteHelper
- Helper interface for processing quote/receipt metadata.
- QuotePurifier
- Default implementation of QuoteHelper for quote/receipt data purification.
- 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.
- ReliableMessageHelper
- Helper interface for reliable message management.
- ResetCommand
- Group reset command interface.
- ResetGroupCommand
- ResetCommand
- RIPEMD160
- SecretContent
- ForwardContent
- SecureMessage
- Interface for encrypted secure messages (second stage).
- SecureMessageFactory
- Factory interface for parsing SecureMessage instances from serialized data.
- SecureMessageHelper
- Helper interface for secure message management.
- SHA256
- SignKey
- Interface for private signing keys (asymmetric).
- StringCoder
- Interface for encoding/decoding strings to/from binary data (byte arrays).
- Stringer
- SymmetricAlgorithms
- Algorithms for Symmetric Key
- SymmetricKey
- Interface for symmetric cryptographic keys (single key for encryption/decryption).
- SymmetricKeyFactory
- Factory interface for creating and parsing SymmetricKey instances.
- SymmetricKeyHelper
- Helper interface for symmetric key management.
- 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.
- TransferMoneyContent
- TransferContent
- TransportableData
- Transportable Encoded Data (TED) - encoded binary data for transport.
- TransportableDataFactory
- Factory interface for creating TransportableData (TED) instances.
- TransportableDataHelper
- Helper interface for processing TransportableData (TED) objects.
- TransportableFile
- Portable Network File (PNF) - transportable file with metadata and encryption support.
- TransportableFileFactory
- Factory interface for creating TransportableFile (PNF) instances.
- TransportableFileHelper
- Helper interface for creating/parsing TransportableFile instances.
- TransportableFileWrapper
- A wrapper interface for serializing/deserializing TransportableFile data to/from a Map.
- TransportableFileWrapperFactory
- Factory interface for creating TransportableFileWrapper instances.
- TransportableResource
- Interface for serializable data or file content that supports multiple transport formats.
- UTF8
- VerifyKey
- Interface for public verification keys (asymmetric).
- VideoContent
- Video message content interface.
- VideoFileContent
- VideoContent
- Visa
- User Visa document interface (user-specific authorization document).
- WebPageContent
- PageContent
- Wrapper
- Data Wrap Utilities
Extensions
- AddressExtension on AccountExtensions
- CommandExtension on MessageExtensions
- ContentExtension on MessageExtensions
- DocumentExtension on AccountExtensions
- EnvelopeExtension on MessageExtensions
- GeneralAccountExtension on AccountExtensions
- GeneralCommandExtension on MessageExtensions
- GeneralCryptoExtension on CryptoExtensions
- GeneralMessageExtension on MessageExtensions
- IDExtension on AccountExtensions
- InstantMessageExtension on MessageExtensions
-
MapTypeCastExtension
on Map<
K, V> - MetaExtension on AccountExtensions
- PrivateKeyExtension on CryptoExtensions
- PublicKeyExtension on CryptoExtensions
- QuoteExtension on MessageExtensions
- ReliableMessageExtension on MessageExtensions
- SecureMessageExtension on MessageExtensions
- SymmetricKeyExtension on CryptoExtensions
- TransportableDataExtension on FormatExtensions
- TransportableFileExtension on FormatExtensions
Properties
-
Core extension manager for account system operations.
final
-
Core extension manager for cryptographic key operations.
final
-
Core extension manager for message format handling.
final
-
Core extension manager for message system operations.
final
Typedefs
-
Mapping<
K, V> = Map< K, V> - Immutable Map (type alias)
-
MutableMapping<
K, V> = Map< K, V> - Mutable Map (type alias)