Service Layer high complexity mobilebackend
2
Dependencies
4
Dependents
3
Entities
0
Integrations

Description

Core service orchestrating the full lifecycle of encrypted assignment dispatch. Encrypts assignment payloads locally on the coordinator's device using the recipient's public key before transmission to the backend. Manages status transitions (dispatched → delivered → read → acknowledged) and coordinates push notification triggers without exposing content in notification payloads.

Feature: Encrypted Assignment Dispatch & Tracking

encrypted-messaging-service

Responsibilities

  • Encrypt assignment payload with recipient public key (X25519 + AES-GCM)
  • Dispatch ciphertext and metadata to backend REST API
  • Update and retrieve assignment status transitions
  • Trigger silent push notifications for new assignment alerts
  • Submit and retrieve read/acknowledgement confirmations

Interfaces

dispatchAssignment(payload, recipientPublicKey)
getAssignments(filter)
getAssignmentById(assignmentId)
markDelivered(assignmentId)
markRead(assignmentId)
submitAcknowledgement(assignmentId)
getStatusLog(assignmentId)
fetchRecipientPublicKey(peerMentorId)

Related Data Entities (3)

Data entities managed by this component